Unlock and JailBreak February 28, 2012 Download Pwnage Tool 5.0.1 : http://blog.iphone-dev.org/post/14857834236/untethered-holidays Unlock : http://www.redmondpie.com/unlock-ios-5.0.1-on-iphone-4-iphone-3gs-using-ultrasn0w-1.2.5-how-to-tutorial/ Read more
Every Think February 20, 2012 http://stackoverflow.com/questions/1939/how-to-articles-for-iphone-development-and-objective-c Read more
Core Plot Error Resolved February 06, 2012 http://www.switchonthecode.com/tutorials/using-core-plot-in-an-iphone-application Read more
Show iPhone Simulator in Lion January 29, 2012 Run the command on the terminal : chflags nohidden ~ / Library / Read more
NSURL of DocumentDirectory December 30, 2011 - (NSURL *)applicationDocumentsDirectory { NSArray *searchPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentPath = [searchPaths objectAtIndex:0]; // NSArray *searchPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); // NSString *documentPath = [searchPaths lastObject]; return [NSURL fileURLWithPath:documentPath]; } Read more
Remove All Images from Document Directory December 27, 2011 -( void )removeImagesFromDocumentDic{ /* dir: the directory where your files are */ NSFileManager *fm = [ NSFileManager defaultManager ]; NSError *error = nil ; NSString *docDirPath = [ NSSearchPathForDirectoriesInDomains ( NSDocumentDirectory , NSUserDomainMask , YES ) objectAtIndex : 0 ]; NSArray *items = [fm contentsOfDirectoryAtPath :docDirPath error :&error]; if (error) { /* ... */ } /* delete png files */ for ( NSString *item in items) { if ([[item pathExtension ] isEqualToString : @"png" ]) { NSString *path = [docDirPath stringByAppendingPathComponent :item]; [fm removeItemAtPath :path error :&error]; if (error) ... Read more