So far I saw many examples, but not every of them is valid, follow my rules and you will get proper singleton pattern. in MySingleton.h file: @interface MySingleton : […]
OS X Mavericks 10.9.3 Build 13D28 available for devs
Apple today seeded build 13D28 of OS X 10.9.3 to developers, a little over one week after releasing the third OS X 10.9.3 beta, build 13D21 and three […]
Cannot find autoconf when using phpize on Mavericks
running: phpize command can cause such sample output: Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 Cannot find autoconf. Please […]
Quick tip: How to get year, month and day from NSDate
First you have to get NSDateComponents object with year, month and day units: NSDateComponents *components = [[NSCalendar currentCalendar] components:NSCalendarUnitDay | NSCalendarUnitMonth | NSCalendarUnitYear fromDate:[NSDate date]]; then extracting each […]
Tower Madness HD is free for limited time!
One of the coolest iPad games is now free, hurry up and grab your copy here
Quick tip: How to convert NSString to NSData?
Pretty simple: NSString* str = @”some example string”; NSData* data = [str dataUsingEncoding:NSUTF8StringEncoding]; and if you want it back: NSString* another = [NSString stringWithUTF8String:[data bytes]];
OS X 10.9 Mavericks adoption is over 40%
After five months of availability, OS X 10.9 Mavericks now generates just over 40 percent of all North American OS X-based Web traffic handled by ad network Chitika, […]
Quick tip: Update Java to 8 and set it as default version
Well, first part is quite easy, just go to http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html and grab jre-8-macosx-x64.dmg. After downloading doubleclick and install as normal app. After installation new browser window will be […]
Quick tip: Architecture not supported when compiling for iOS 7.1 using XCode 5.1
Using configuration mentioned above you may receive one of those (or another) errors: types.h – User Defined Issues – Architecture not supported _types.h – User Defined Issues – […]