Apple has just released iOS 8.0.2, its second update to iOS 8 designed to fix major issues introduced with iOS 8.0.1, which went out to iPhone owners on […]
Quick tip: Using background operations with Grand Central Dispatch
Yes, Grad Centeral Dispatch may seems big and complex. But if you need to put some work into background, its pretty easy, all you have to do is: […]
iWork for iCloud Updated
As noted by 9to5Mac, Pages, Numbers, and Keynote for iCloud have gained updated designs for their document, spreadsheet, and presentation editors along with support for Retina displays. All […]
Quick tip: using singleton pattern
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 : […]
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]];
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 – […]
Quick tip: how to compile for iOS 5.1 under XCode 5
Well first though is to set deployment target to iOS 5.1 but its not so obvious. You have to remove arm64 from Architectures in “Build Settings“