https://gist.github.com/2952892 # Mac OS X Finder and whatnot .DS_Store # Sparkle distribution Private Key (Don’t check me in!) dsa_priv.pem # […]

No se porque sucede, pero cuando instalo MacRuby con RVM me saca un error respecto a la libreria MacRuby.framework Para […]

NSString* bundlePath = [[NSBundle mainBundle] bundlePath]; NSString* path = [NSString stringWithFormat:@”%@/CoreDataSourceFile.sqlite”, bundlePath]; SQLiteDatabase *database = [[SQLiteDatabase alloc] initWithPath:path]; NSArray *result […]

Some random comments about version numbers in general and a simple script and work flow to create them for your […]

– (BOOL)isPushEnabled { UIApplication *application = [UIApplication sharedApplication]; return application.enabledRemoteNotificationTypes != UIRemoteNotificationTypeNone; } Example: NSLog(@”APNS are %@enabled.”, [self isPushEnabled] ? […]

Missing your command line tools after upgrading to OS Mavericks, just issue following command on terminal: xcode-select –install

Landscape //Return YES if current orientation is landscape + (BOOL) isOrientationLandscape { if (UIDeviceOrientationIsLandscape([[UIApplication sharedApplication] statusBarOrientation])){ return YES; }else{ return […]

https://github.com/larsschwegmann/Emoticonizer A very simple class to convert smileys like 🙂 or 😀 to emoji symbols. Just import the class and […]

You have an existing Xcode project and you want a brand new local git repo. Xcode wants to include UserInterfaceState […]

CTCallCenter* callCenter = [[]CTCallCenter alloc] init]; [callCenter setCallEventHandler:^(CTCall* aCall) { NSLog(@”Call Event:n %@”, [aCall description]); }]; (Original sources: http://www.jesuisdeveloppeuriphone.com/2012/08/24/coretelephony-how-to-intercept-call-event-in-an-application/ )

The (short) guide for Xcode plugin debugging, based on my experiences working on Alcatraz package manager and DerivedData Exterminator Attach […]

Make Clean code by splitting your code into Extensions and Nested types . Read more here – Swift clean Lazy […]