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“
Sorting an Array in Objective-C
Sorting an array is pretty simple, thanks to many helper classes you can sort not only by key but also by attributes (if you have array of objects). […]
Microsoft Office for iPad available on March 27th?
The Verge is reporting that Office Mobile may finally arrive on the iPad later this month during a media event on Thursday, March 27 where Microsoft’s newly minted […]
iOS 8 Screenshot
A screenshot of an iOS 8 homescreen with the new Healthbook, Preview and TextEdit icons was posted to China’s Weibo microblog. The source of the screenshot cannot be […]
iOS 7.1 installed on 6% devices in North America after 24 hours
After being available for a little over one day, Apple’s iOS 7.1 update is now running on some 5.9 percent of operating devices, an adoption rate comparable to […]