All Questions

399
votes
24answers
224801 views

Symbolicating iPhone App Crash Reports

I'm looking to try and symbolicate my iPhone app's crash reports. I retrieved the crash reports from iTunes Connect. I have the application binary that I submitted to the App Store and I have the dSY...
473
votes
30answers
146838 views

How to develop or migrate apps for iPhone 5 screen resolution?

The new iPhone 5 display has a new aspect ratio and a new resolution (640 x 1136 pixels). What is required to develop new or transition already existing applications to the new screen size? What sho...
1029
votes
43answers
1041715 views

How can I develop for iPhone using a Windows development machine?

Is there any way to tinker with the iPhone SDK on a Windows machine? Are there plans for an iPhone SDK version for Windows? The only other way I can think of doing this is to run a Mac VM image on a ...
474
votes
33answers
152549 views

UIDevice uniqueIdentifier Deprecated - What To Do Now?

It has just come to light that the UIDevice uniqueIdentifier property is deprecated in iOS5 and above. No alternative method or property appears to be available or forthcoming. Many of our existing a...
742
votes
36answers
389895 views

How to check iOS version?

I want to check if the iOS version of the device is greater than 3.1.3 I tried things like: [[UIDevice currentDevice].systemVersion floatValue] but it does not work, I just want a: if (version >...
456
votes
15answers
194765 views

dispatch_after - GCD in swift?

I've gone through the iBook from Apple, and couldn't find any definition of it : Can someone explain the structure of dispatch_after? dispatch_after(<#when: dispatch_time_t#>, <#queue: disp...
138
votes
5answers
35412 views

What is the best way to deal with the NSDateFormatter locale "feechur"?

It seems that NSDateFormatter has a "feature" that bites you unexpectedly: If you do a simple "fixed" format operation such as: NSDateFormatter* fmt = [[NSDateFormatter alloc] init]; [fmt setDateFor...
1663
votes
25answers
434076 views

What's the difference between the atomic and nonatomic attributes?

What do atomic and nonatomic mean in property declarations? @property(nonatomic, retain) UITextField *userName; @property(atomic, retain) UITextField *userName; @property(retain) UITextField *userNam...
714
votes
32answers
227591 views

Can I embed a custom font in an iPhone application?

This question relates to iOS pre-3.2. As of 3.2 this functionality is easily achievable using samvermette's answer below, and I have changed the Accepted Answer (from commanda to samvermette) to refle...
355
votes
9answers
78185 views

How dangerous is it to compare floating point values?

I know UIKit uses CGFloat because of the resolution independent coordinate system. But every time I want to check if for example frame.origin.x is 0 it makes me feel sick: if (theView.frame.origin.x...

Previous Next