by Mobiledev | Mar 25, 2012 | iOS, iPad, iPhone, XCode
In iOS 5+ Apple deprecated usage of the device UDID. It appears Apple started rejecting apps for using the UDID. The way to get an unique device id was: NSString *UDID = [[UIDevice currentDevice] uniqueIdentifier]; It appears this might get your app rejected…...
by Mobiledev | Feb 29, 2012 | iOS, Uncategorized, XCode
Working with (user) preferences is pretty easy in Objective c. Preferences is just a phrase for persisting some info. If you need to save and load some small things, and you think a database is overkill, than user preferences might be just right. Below a helper class...
by Mobiledev | Sep 2, 2011 | XCode
XCode 4 brings us GIT support (XCode 4.1+ now also brings us GIT server support). That’s great! For a new project just tick the “Create local GIT repository…” check-box in the new project dialog. But what about older projects? Enabling GIT for...
by Mobiledev | Aug 29, 2011 | iOS, XCode
Logging has a lot of possible format specifiers. The general syntax of NSLog is: NSLog(@”Text %@”, object); NSLog(@”I want to log: %@”, myString); int i = 1234; NSLog(@”The number is: %d”, i); The possible format specifiers are: %@...
by Mobiledev | Aug 26, 2011 | iOS, XCode
If you just want to show a popup message without responding to the buttons pressed look at the snippet : “Popup message in iOS” If you want to respond to a popup message the popup message probable has more than 1 button. To figure out what button got...
Recent Comments