Author: admin
-
Localization playing nicely with string interpolation in Swift
I can’t work out why Apple’s documentation of Swift core data types is still so poor, but luckily we have Swiftdoc. To illustrate, according to Apple docs there are two init methods…
-
Looking back on 2014
2014 has been a great year, where I have made the transition from Flash to native iOS development and set up Interactive Coconut. Finished the year heavily involved in writing the Swift…
-
7 common GOTCHAs for when you’re starting out with Flash Actionscript
I was thinking the other day about the process of learning Swift and how a list of common gotchas would have been handy when starting out. Since I have about 15 years…
-
Swift – a history of the inspiration for ‘new’ concepts!
In studying Swift initially, I was quite interested to read about concepts that I wasn’t familiar with, and curious to know if these were brand new concepts invented by excited Apple engineers,…
-
Parameter defaults and Optional function parameters in Swift
This post has been updated for Swift 3.0 here. This post has been updated for Swift 3.0 here. Swift has an interesting multi-pronged approach to dealing with default and optional function parameters, based in…
-
Popups, Popovers, Pushing, Popping, Presenting, Alerts and Actionsheets!
All the options for popups and displaying View Controllers can get a little confusing at times. I’ve put together a project that summarises the various options. The app contains four tabs: Alerts/Actionsheets…
-
How to create a concave SKPhysicsBody
I’m building a game using SpriteKit, and using the brilliant SKPhysicsBody Path Generator. I came across a limitation of physics bodies, that their shapes need to be convex, or an error is…
-
Baby Shapes available on the App Store!
New app Baby Shapes has been published on the App Store! Visual stimulation for babies! You can find the iOS version here and the Android version here.
-
Easing equations in Swift
Something I missed when moving from AS3/JS to iOS development was the greensock tweening libraries. Apple has some easing equations but not the extensive Penner-style library. I have found some easing classes…
-
func parameters in Swift
STOP PRESS: Updated for Swift 2.0 here! How function parameters work in Swift can be a little confusing, here’s an attempt to make it clearer: 1. func By default parameters of funcs…
