// archives

Archive for July, 2017

Programming Cocoa apps with Swift has it's many caveats. Many of these are derived from the fact that there are two language runtimes at play, the incumbent Objective-C runtime which is used by system frameworks and the Swift runtime as a newcomer. Here is one hard lesson learned (and workaround) when dealing with state restoration problems in a Swift app.

State Restoration Hiccups with Swift

Programming Cocoa apps with Swift has it’s many caveats. Many of these are derived from the fact that there are two language runtimes at play, the incumbent Objective-C runtime which is used by system frameworks and the Swift runtime as a newcomer. Here is one hard lesson learned (and workaround) when dealing with state restoration […]

How to safely try out Apple's new machine learning libraries without bricking your main machine. Goodbye beta blues, hello new ideas!

Trying Core ML with Swift Playgrounds

How to safely try out Apple’s new machine learning libraries without bricking your main machine. Goodbye beta blues, hello new ideas!

handshake-car@2x.jpg

A Swift Promise

Futures/promises are great to coordinate persistence and views to ensure responsiveness in today’s native apps. However bringing thousands of lines of foreign code just to have this small functionality may not be cool. Here’s a hundred-line implementation of futures/promises in Swift 3.1

Free Updates!

Learn how to grow your indie business while keeping your day job.

Categories

Archives

Keep updated!

Don't miss out on new articles!