Getting the UDID of an iOS device
[[UIDevice currentDevice] uniqueIdentifier]
[[UIDevice currentDevice] uniqueIdentifier]
MBProgressHUD, a free, open source iOS activity indicator view.
New to Objective C or just need a simple refresher in the topic? This is the site for you. Excellent text in perfect design.
Official docs about the same topic here.
To achieve the task written in the title of this post, you have to do the following:
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsPath = [paths objectAtIndex:0];