Auto Layout, and moving from Xcode 7 to 8

I’ve just released a video tutorial on building Adaptive user interfaces for iOS using Storyboards in Xcode 8. There have been some nice additions to Xcode 8 in this respect, allowing the developer to seamlessly check UI layout for all different…

The Delegation Pattern in Swift 3

iOS Apps are typically built from controllers, each with an associated view hierarchy (typically filling a screen). These together are often called a scene. As the user navigates from scene to scene, so the data needs to flow from one controller to the other. If…

Presenting a popover in UIKit without adaptivity

If you want to present one view controller from another, and use the popover modal style, you would typically set the modalPresentationStyle of the controller to .popover before you present it. However, you will find that for compact size classes (e.g. iPhone), the popover simply fills the screen. This…

User Interfaces in Swift Playgrounds

This article is based on code from the course “iOS Development in Swift”, Plymouth University – the full course is here: iTunes.com/plymouthswift . This course is designed for fairly novice developers, so some of the coding style is purposely written more for clarity…

New tutorial: Enumerated Types in Swift 3

I’ve recently become enthused about Swift enumerated types, so much so that I’ve drafted a new tutorial: Tutorial: Enumerated Types in Swift 3 There is also a Swift Playground in my iTunes U course: iOS Development in Swift and on GitHub  that compliments this tutorial. Enumerated types in Swift…