Craig Grummitt – Before I forget

Discoveries in Swift and iOS development.

Category: Swift

  • Higher order functions in Swift

    More than just map, filter, reduce and sort…

    Keep reading

  • Get started with iOS in Swift today

    Are you thinking about getting into iOS in Swift, and are looking for an all-in-one guide? I have just the book for you. iOS Development with Swift brings you into the world of…

    Keep reading

  • Size classes in Xcode 8

    More devices, split view controllers (introduced in iOS 8), slide over and split view multitasking modes (introduced in iOS 9) have all made adjusting a layout to its environment more and more complex.…

    Keep reading

  • Sprite Kit Easing in Swift

    It really is surprising that SpriteKit, Apple’s framework for building 2D games doesn’t have better easing algorithms available. I’ve just updated my solution, SpriteKitEasingSwift, to Swift 3, and added Carthage support. Here it is at…

    Keep reading

  • Xcode Keyboard Shortcut for CamelCase!

    Sometimes it can be a pain moving around code in Xcode especially with long method and property names. Then I discovered an Xcode keyboard shortcut that rocks – move back and forward through camel case…

    Keep reading

  • Why Swift?

    With Swift 3 coming out of beta, some are still asking the question ‘Why Swift?’ Maybe you’re already an Objective-C developer – why learn a new language when the old one works…

    Keep reading

  • Any vs AnyObject vs NSObject in Swift 3

    What is the difference between these three enigmatic types? A sometimes confusing topic, and to confuse things further Swift 3 has shaken it up by removing implicit bridging between Foundation and native…

    Keep reading

  • Parsing XML in Swift 3

    Parsing XML has always bothered me in Swift. The NSXMLParser class doesn’t actually parse the XML structure into Swift objects, rather it traverses the XML structure, pinging its delegate whenever it discovers…

    Keep reading

  • Sorting strings in Swift

    Sorting an array of strings in Swift is a bit of an iceberg topic – it seems fairly manageable, you just call the sort function right? Then you dig a little deeper and find a…

    Keep reading

  • My book: iOS Development with Swift – Early access Deal of the Day!

    I’m pleased to announce that I am half way through writing a book on iOS development with Swift, to be published by Manning Publications. The great news if you have experience in programming is that…

    Keep reading