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 | Feb 18, 2012 | OSX, XCode
XCode inserts in all project template code a line like: // Copyright 2012 __MyCompanyName__. All rights reserved. It is possible to set __MyCompanyName__ to a different (probably more useful) default for all XCode projects. To do this: – Open the “Address...
by Mobiledev | Jan 17, 2012 | iOS, iPad, iPhone, XCode
When a textbox has focus, and pops up a keyboard, the keyboard can be removed with this statement: [self.textBox resignFirstResponder]; //If keyboard visible, remove keyboard In this example “textBox” was the textbox (UITextField) having the focus. If you...
by Mobiledev | Sep 4, 2011 | iOS, XCode
The artwork for an iOS app can become a lot of work. Icons and images for different resolutions are needed, and there are some naming conventions. If you stick to the naming conventions the correct icons/images will automatically be selected when those icons/images...
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...
Recent Comments