iphone

Unknown iPhone Control - Help me out

Hi can anyone let me know which control they have used for doing the scrolling. I like that control very much. http://www.youtube.com/watch?v=Ssa2k4RlYXs&feature=channel Application is free to download. Help me to figure out which control is this. Application URL: itunes.apple.com/us/app/xix-cwg/id353382539?mt=8 Help me out. Co...

Send copy of class to view class so it can render him? ( iPhone )

I'm making a game for the iPhone, and I have a class called Robot. Then I have a class called View, which renders everything. I want to send a copy of my Robot, which I defined in my ViewController, and I send it to gameView (which is View *gameView), like this: robot = [Robot new]; [gameView setRobot: [robot copy]]; I tried to make...

iPhone: UTableView with Uses More Memory with UITableViewStyleGrouped than with UITableViewStylePlain

Hello everyone, I'm using an UITableView with style UITableViewStyleGrouped initialized as follows: CGRect imgFrame = CGRectMake(0, 0, 320, 650); UITableView *myTable = [[UITableView alloc] initWithFrame:imgFrame style:UITableViewStyleGrouped]; myTable.dataSource = self; myTable.delegate = self; //make the current object the event hand...

Problem when loading image from google chart api URL

I want to show concentric charts of google api in iphone, but the imageData varible returns null value and image does not loaded from url to image view this is code: NSData *imageData = [[NSData alloc] initWithContentsOfURL:[NSURL URLWithString:@"http://chart.apis.google.com/chart?cht=pc&chd=t:120,45|120,60,50,70,60&chs=300x200...

Contacts view iphone SDK

When we click on a specific contact in the contacts app in the iphone SDk, we see the image of the person, the name and the tableview with details of the person. I would like to know how to generate that view exactly ? . I tried having a table view slightly below and tried to add a view with the image and the name above the table view. B...

Import data from .xls File

HI, I am developing an application in which i have to get data from .xls file. I am fairly new to iPhone development so any pointers in direction to getting started will be very much helpful. The steps that i am thinking are : 1) First i need to convert .xls to .csv Format. 2)Import the data from .csv file to SQlite Databse or Core...

recognizing a link in an email

Is there a mechanism where I can identify a string in an email, say a order number, and have it route to my iPhone application? I know that base types do this, but not sure if I can create a new type for my app. Thanks! ...

UITableViewCell selected subview ghosts

Hi all, I'm learning about the iPhone SDK and have an interesting exception with UITableViewCell subview management when a finger is pressed on some rows. The table is used to assign sounds to hand gestures -- swiping the phone in one of 3 directions triggers the sound to play. Selecting a row displays an action sheet with 4 options fo...

How can i limit parsing and display the previously parsed contents in iphone?

I am new to iPhone development. I am parsing a URL and displayed its content in the table. On clicking a row it plays a video. When I click a done button, I once again call the tableview. When I call the table view it parses the URL once again to display the contents. I want to limit the parsing for 1 time and for the next time I want to...

XCode Project Code Changes Not Updating 100% After Save-Build-Run

When I make code changes to my iPhone game project in XCode, and then do CMD-B + Enter, I expect the project to be saved, build and run on the simulator with the latest. What is happening though, sometimes, is that it doesn't pick up a small change I make unless I clean the project and then build. I'm a long time Java person and newish...

how i print the values from NSArray objects in CGContextShowTextAtpoint()?

Hi, I developing an application in which i want to print the values on a line interval, for that i used NSArray with multiple objects and those object i passing into CGContextShowTextAtPoint() method. The code is. CGContextMoveToPoint(ctx, 30.0, 200.0); CGContextAddLineToPoint(ctx, 30.0, 440.0); NSArray *hours...

Rotation animation is causing error...What is Apple's Updated requirement?

What does this mean and why am I getting this error. Any suggestions on how to fix it? "Using two-stage rotation animation. To use the smoother single-stage animation, this application must remove two-stage method implementations." ...

Can i openly speculate based on App rejection that the iPad has xxx MB of memory?

If i were to calculate the iPad's amount of RAM based on just the one fact that my iPad App got rejected due to memory warnings twice, and me fixing it, would this violate the developer NDA? Obviously i know how much memory my App uses, how much the iPhone OS is likely to use and estimate the amount reserved for video memory, then i can...

How do you design and build your website to make it usable on both IPhone and Android?

Does it have to be pure html? ...

How do I get started with three20?

A few colleagues have been asking me how to get started with three20 and where they can find some materials on how to use three20. What online resources and books would you recommend for folks that are trying to learn three20? Below is my three20 quickstart. There are a few tutorials online. Do a google search to see what is out there....

Objective-C categories in static library

Can you guide me how to properly link static library to iphone project. I use staic library project added to app project as direct dependency (target -> general -> direct dependecies) and all works OK, but categories. A category defined in static library is not working in app. So my question is how to add static library with some categ...

Can't get iPhone device token

Hi. I'm trying to get iPhone device token using following code - (void)applicationDidFinishLaunching:(UIApplication *)application { // Override point for customization after app launch [window addSubview:viewController.view]; [window makeKeyAndVisible]; NSLog(@"Registering for push notifications..."); [...

Does Quartz2D test intersection of rect by line before drawing it.

I'm drawing a big scheme that consist of a lot of lines. I do it in the drawRect: method of UIView. The scheme is larger than the layer of view and I check each line and draw it only if it intersects the visible rect. But at one moment I thought, should I do this? Maybe Quartz is already doing this test? So the question is: When I use f...

Why do I get different time zones in my NSDate objects?

While working with NSDate, sometimes the time zones are different. But I don't mess around with locales or time zone settings at all. i.e. sometimes (in the same process) an NSDate object may look like 1.4.2010 22:01:47 +0100 and sometimes like 1.4.2010 22:01:47 +0200 without me doing anything. What triggers the change in time z...

How do you left align the text found in a tableView's tableFooterView?

I can't see an easy way to do this outside of customizing the actual content. Tell me I missed something incredibly simple here. ...