Writing
The public notebook: Swift, iOS, Flutter, and a long trail of “I will definitely remember this.”
-
Farewell c-style `for` statement
In Swift 3.0, the c-style for statement is deprecated. A bold step to remove a structure that most of us are familiar with to make the language more robust, and to continue the…
-
Farewell parameter var
In Swift 3.0, the var keyword in function parameters is being removed. Apparently there was too much confusion of var parameters with the functionality of inout parameters. For more information, see the Swift…
-
Create a CocoaPod
In the previous post we created a dynamic framework. Now we’re going to share this code with the world, by turning it into a CocoaPod and uploading it to cocoapods.org: First, drag your whole project folder to…
-
Create a dynamic framework for iOS in Swift
Have you ever written some Swift code in iOS that you’ve thought, this could be way useful in other projects? One solution is to set up a Cocoa Touch framework – edit your…
-
Looking back on 2015
2015 has been another great year. Under moniker Interactive Coconut I spent a lot of time working on new app Grabble Words, which launched at the end of the year. Technically Grabble Words…
-
How to Invite Facebook Friends to Install Your iOS App
After six months of work, Grabble Words launched this week – hooray! But – I’ve just discovered it contains an important bug – inviting Facebook friends to install the app doesn’t work – boo……
-
Swift API for the Flash Guy
Flash. The ‘f’ word. At least it feels like a dirty word right? Flash really spiralled out of fashion since Steve Jobs’ famous “Thoughts on Flash” open letter five years ago. Wired…
-
Best practices differences between Swift and ActionScript3
There are the obvious technical differences in Swift compared to other languages such as ActionScript – optionals, strict data typing, namespacing, syntax, etc. What I find interesting though is where there aren’t…
-
Ambiguous convenience initializers
I was just setting up a class with a designated initializer and a convenience initializer to be able to pass in initializing properties beyond the defaults: [sourcecode language=”javascript”] class Font { var…
-
Parameter defaults and Optional Function Parameters in Swift 2.0
This post has been updated for Swift 3.0 here. This post has been updated for Swift 3.0 here. There are some changes in Swift 2.0 to Optional Function parameters, so I thought I should…
