Craig Grummitt – Before I forget

Discoveries in Swift and iOS development.

Author: Craig Grummitt

  • Func parameters in Swift 2.0

    This post has been updated for Swift 3.0 here. This week func parameters were simplified in Swift 2.0. The hash symbol was deprecated for specifying a parameter should be explicitly named, and…

    Keep reading

  • ,

    AS3 in Swift? Whaa?

    This week I thought it could be an interesting exercise to write the AS3 SDK from within Swift, using SpriteKit. So I did! Remember DisplayObjects? MovieClips? EventDispatchers? gotoAndPlay? They’re back! Some might…

    Keep reading

  • Multi line SKLabels in Swift

    Updated for Swift 3! Sometimes Apple seems to have made some pretty obvious oversights – a SKLabel without multi-line capability? Strange. I’ve had a look at some third party solutions and each…

    Keep reading

  • SKTexture gradient

    SpriteKit at times can seem a little rudimentary – small tasks can seem to take longer than they should! Today I ran into a limitation of SKShapeNodes – there doesn’t seem to…

    Keep reading