Blog Archives

Higher order functions in Swift

More than just map, filter, reduce and sort…

Tagged with:
Posted in Swift

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 developing iOS apps, using Apple’s Swift programming language.

Tagged with:
Posted in Swift

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. Interested to know about Size classes in Interface

Tagged with: ,
Posted in Swift

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 github and CocoaPods. Kudos to buddingmonkey who built the Objective-C

Tagged with:
Posted in Swift

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 sub-words! Use Control→ and Control← to skip through camel case. Hold

Tagged with: ,
Posted in Swift

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 fine? Or maybe you’re learning iOS development and

Posted in Swift

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 data types. Aagh! Let’s look at the current

Tagged with: ,
Posted in Swift