Mon, Dec 22
iPhone 6 Plus Display Zoom Rendering

Ole Begemann on iPhone 6 Plus display zoom feature:

“With Display Zoom enabled, an iPhone 6 Plus effectively behaves as if it had the same logical resolution as the iPhone 6 (375 × 667 points). Output is first rendered into a 1125 × 2001 pixel backing store (at 3× scale) and finally downsampled to fit the 1080 × 1920 pixel screen resolution.”

After a series of tests with OpenGL and 1080p video:

“My tests show that activating Display Zoom on the 6 Plus has no discernible negative or positive effect on output quality.”

Fri, Dec 19
Draw Visual Representations Of All Touch Events

Hans Petter Eikemo is the creator of SmudgeKit:

“SmudgeKit provides a drop in replacement for UIWindow to draw visual representations of all touch events to the screen. Ideal for for creating App Previews or other screencasts where it is crucial to show touch gestures.”

SmudgeKit in action.

Thu, Dec 18
Auto Layout Tutorials for Swift

“Have you ever been frustrated trying to make your apps look good in both portrait and landscape orientation? Is making screen layouts that support both the iPhone and iPad driving you to the brink of madness?”

Bradley Johnson, in a 2-part tutorial, covers all the basics for getting starting with auto layout in Swift, Xcode 6 and iOS 8.

“Not only does Auto Layout make it easy to support different screen sizes in your apps, as a bonus it also makes internationalization almost trivial.”

Beginning Auto Layout Tutorial in Swift: Part 1Part 2

Wed, Dec 17
NSUserDefaults and Swift

Over the years there have been numerous posts, on many blogs, on integration of NSUserDefaults in Objective-C.

Nick offers a thorough introduction to NSUserDefaults, focusing on Swift.

Beyond saving user preferred default values, another use of NSUserDefaults:

“Using NSUserDefaults in combination with App Groups is the simplest way to share data between your app and any extensions it has, including WatchKit extensions.”

Tue, Dec 16
12 Apps of Swiftmas – Video

Arwa from Realm shared this recently:

“We hand-picked 12 Swift projects created in 2014, and invited their creators to share issues or neat Swift features they ran into, in front of our very special Swiftmas Tree.”

The 12 Apps of Swiftmas

If you’re coding (or thinking of coding) an app in Swift, you’ll enjoy this video.

Mon, Dec 15
iOS Game Dev Weekly

Looking to sharpen your iOS game developer chops? Look no further than iOS Game Dev Weekly – a free newsletter, hand-curated by Joel Shapiro.

Joel’s newsletter covers everything from Metal to Sprite Kit and Cocos2D to Unity. Need some guidance when it comes to the business and marketing side of game development? Joel’s got you covered there as well.

I’ve enjoyed iOS Game Dev Weekly, I recommend you check it out.

Thank you iOS Game Dev Weekly for sponsoring iOSDeveloperTips.com.

LLDB and the Command Line Interface

Ari Grant on Dancing in the Debugger:

“A common fix cycle is to modify the code, compile, run again, and wish for the best. It doesn’t have to be that way.”

There is great power in understanding how to use the command line interface of LLDB.