This tutorial series requires a basic understanding of UIView hierarchy. If you are new to iOS development, you might want to begin with Developing iOS Apps Using Swift first. When you first hear about Core Animation, you might think it is all about animation. However, animation is only a part of this framework. Core Animation…
Should I learn Objective-C or Swift first?
“Should I learn Objective-C or Swift first?” I get asked this question a lot. Sometime’s people will also ask about learning C or C++ first. So, I want to take a moment and give you the low-down on how I feel as a professional iOS & Mac developer, six months after Swift’s introduction. If this…
Core Data Migrations Swift Tutorial
In this post we’re going to discuss migrations in Core Data. This is part three of a tutorial series covering the usage of Core Data in Swift to write iOS apps with persistence. While I think you can benefit strictly from reading this post, it may be easier to follow along if you go back…
Core Data in Swift Tutorial (Part 3)
This post compatible with Xcode 6.3 Beta, Updated on February 16, 2014 This is part three of a tutorial series covering the usage of Core Data in Swift to write iOS apps with persistence. If you haven’t read part one yet, read that first. If you really want to get your feet wet, my Swift…
Core Data in Swift Tutorial (Part 2)
This post compatible with Xcode 6.3, Updated on February 16, 2015 This is part two of a tutorial series covering the usage of Core Data in Swift to write iOS apps with persistence. If you haven’t read part one yet, read that first. If you really want to get your feet wet, my Swift book…
Core Data in Swift Tutorial (Part 1)
This post compatible with Xcode 6.3 Beta, Updated on February 16, 2015 Don’t have 6.3 yet? Make sure to download it here using your iOS Developer account. Core Data is the de facto standard way to persist and manage data in both iPhone and Mac applications, and with Swift it’s a bit easier. So it’s…
Taking control of the iPhone camera in iOS 8 with Swift (Part 2)
Using the AVFoundation API, we are going to set up a capture session and make an app that allows us to use all the new fine-grained controls added to iOS 8. This includes manually controlling focus, exposure, and ISO. First off, we just need to set up a basic camera preview. In Part 1, we…
Apple Watch Announced. Here’s what we know so far
Apple Watch Announced. Here’s what we know so far. This page is a work in progress. There are three versions of Apple Watch: Apple Watch Apple Watch Sport Apple Watch Edition – 18k Gold The price starts at $349, and will be available early 2015 An iPhone required to use Apple Watch The device uses…
Taking control of the iPhone camera in iOS 8 with Swift (Part 1)
Updated on September 20, 2014 for Xcode 6 GM Using the AVFoundation API, we are going to set up a capture session and make an app that allows us to use all the new fine-grained controls added to iOS 8. This includes manually controlling focus, exposure, and ISO. First off, we just need to set…
Using Equatable and NilLiteralConvertible to re-implement Optionals in Swift (Part 2)
This post updated December 6, 2014 to reflect changes in Xcode 6.2 A few weeks ago I did a little thought experiment on how we might re-implement Swift’s optional type by using the Swift enum. If you haven’t read that yet, you can read it here. In this post, we’re going to push a little…