Can I use POSIX threads in iPhone OS?
Are these available for iPhone OS? The Threading Programming Guide mentions these but does not say if they are also relevant on iPhone OS. ...
Are these available for iPhone OS? The Threading Programming Guide mentions these but does not say if they are also relevant on iPhone OS. ...
I'm not sure but the iPhone has no multicore-CPU. So does it make sense to put effort into multithreading or is that just a waste of time? I am doing some heavy stuff which lets my whole UI freeze up until that's done. Now that stuff seems to be so heavy that it just sucks up all the CPU power. Is threading a solution to at least quickl...
I have a dictionary object that I am pulling data out of. The field is supposed to be a string field but sometime all that it contains is a number. I get the info using: NSString *post = [[temp objectAtIndex:i] valueForKey:@"POSTDESCRIPTION"]; So it is going into a string object. However, when I try to assign that to a cell's text via...
I'm trying to implement Application Tests as described here. So far, so good, but i fail to test, for instance, the location of the device using Core Location. I have added the appropriate Framework to the Target, and have initiated the update of location, but i have no clue of how to wait for the location to be loaded, the test suite ju...
I get the following error in my IPhone crash report. I cant work out why it happens...is it possible to try and catch an EXC_BAD_ACCESS? Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x00000008 Crashed Thread: 0 Thread 0 Crashed: 0 AppSupport 0x304a17d8 CPRecordGetStore 1 ...
UITabBarController with UINavigationController "more" tab issue There is a problem with using UINavigationController in UITabBarController. I have a TabBar with 6 items. Of course, a standart item "more" appears, and there are two UINavigationControllers that didn't fit in a TabBar. The core of the problem is: when I'm working with vis...
Hi, I have an atomfeed with which is succesfully getting parsed. All the articles are in the root array. But now I also have categories as a tag in the feed. How can I parse the atom xml so that the root array contains the categories and each category filters to an array with the corresponding articles. Thanks, Bing ...
What tools helps designing sites which would be mobile phone friendly ? Something that would product the right CSS, the right html, etc ...
Hi all, I submitted an iPhone application to the app store, but it is failed to run on iPod touch with the message that it is not compatible.I'm not using any Phone features on the application when I first I submitted the application to the store I was using some deprecated methods on the new SDK. so I made pre-processor directives for...
I was calling UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath]; from -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath in order to change the cell accessory. This works fine, but I ended up needing to subclass UITableViewCell. What's the correct way to get the subclassed...
I need to do some processing after my user leaves a text field. I thought I had turned on notification by doing this: @interface CreditCardAppViewController : UIViewController <UITextFieldDelegate> { However, my events are not getting fired. I don't know why? - (void)textFieldDidBeginEditing:(UITextField *)textField { NSLog(@...
Hi all, I have a URL e.g. http://www.test.com that contains a meta redirect as follows: However, - (void)connectionDidFinishLoading:(NSURLConnection *)connection just returns the initial data from the first URL. Is it now my responsibility to parse the returned HTML file and pull out the meta url attribute and call NSURLConnection a...
Hi everyone! So I've got my particle system up and running and it looks great as long as the background is dark. My problem is that I need to render the effect on light colored backgrounds to. I've been trying lots of different settings to glBlendFunc but can't figure out how to get it working. My current blending is glBlendFunc(GL_SRC_...
I'm trying to fire a Notification in a method called setPosition in one class, that triggers setViewPointCenter in another class. However, I'm trying to send a CGPoint along with it. But Xcode isn't liking it one bit. -(void)setPosition:(CGPoint)point { NSDictionary *dict = [[NSDictionary alloc] initWithObjectsAndKeys:@"sp", poi...
I'm a beginner in Iphone development. I have a project with a single openGL View. I already wrote an UIView Controller class. but I don't know how to add the view to the UIViewController, and how to integrate the UIViewController to the project. Also, I don't know Any help, similar example, or link to a tutorial is very appreciated. Th...
Problem: I have made a class which plays a big 300 x 300 px image sequence animation of 100 frames. This class has a -start method that kicks off the animation, and then a -animate: method that walks through the frames. At every frame it fetches the big chunk of bitmap data from a png, wraps that into an UIImage and assigns that to an UI...
Has anyone used medialets to track iPhone app usage ? Their documentation leaves a lot to be desired.. ...
I need to verify some user entry. I was thinking of adding it in this event? Also, how can I check to see if we are in a particular entry field ? - (void)textFieldDidEndEditing:(UITextField *)textField ...
A number of the hardest to track-down problems I've come across with my iPhone application have only exposed themselves on jailbroken handsets. Is there a way to detect these handsets looking only at the crash logs? This is kind of like this question but after the event rather than during... ...
How can I make a UITextField required? In other words, if the entry is empty, then refocus them on the required field. ...