Skip to content

Jameson Quave

Using computer technology to educate, and improve lives.

Menu
  • Home
  • Contact
Menu

Category: Programming

Programming related posts

Core Data Migrations Swift Tutorial

Posted on December 15, 2014April 15, 2019 by Jameson Quave

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…

Read more

Core Data in Swift Tutorial (Part 3)

Posted on October 30, 2014February 16, 2015 by Jameson Quave

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…

Read more

Core Data in Swift Tutorial (Part 2)

Posted on October 15, 2014February 16, 2015 by Jameson Quave

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…

Read more

Core Data in Swift Tutorial (Part 1)

Posted on October 6, 2014May 30, 2021 by Jameson Quave

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…

Read more

Taking control of the iPhone camera in iOS 8 with Swift (Part 2)

Posted on September 20, 2014September 20, 2014 by Jameson Quave

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…

Read more

Taking control of the iPhone camera in iOS 8 with Swift (Part 1)

Posted on August 25, 2014July 28, 2015 by Jameson Quave

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…

Read more

Using Equatable and NilLiteralConvertible to re-implement Optionals in Swift (Part 2)

Posted on August 13, 2014December 6, 2014 by Jameson Quave

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…

Read more

Swift’s Nil Coalescing Operator In Xcode 6 Beta 5

Posted on August 4, 2014February 3, 2015 by Jameson Quave

I was just updating my tutorial series on developing iOS 8 apps in Swift for Beta 5, and I was looking at this bit of code: var name = result[“trackName”] as? String if !name? { name = result[“collectionName”] as? String } The code is setting name to the result[“trackName”], if it can successfully cast to…

Read more

Re-implementing Optionals using Swift’s powerful enum type.

Posted on July 28, 2014December 6, 2014 by Jameson Quave

This post updated December 6, 2014 to reflect changes in Xcode 6.2 If you’ve been messing with Swift much lately, you may have noticed that enum’s do much more than they did in Objective-C, or in most other languages for that matter. In the WWDC videos discussing Swift, one of the presenters mentions that Optionals…

Read more

Access Control In Swift

Posted on July 22, 2014December 21, 2014 by Jameson Quave

Updated December 21 for Xcode 6.1.1 The Swift feature of Access Control is really important from a software architecture perspective, because it allows us to properly implement encapsulation. Without the ability to hide members and methods of classes, it’s very easy to accidentally (or not) reach in to classes and mess with internals that were…

Read more
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next

Connect

  • Facebook
  • Google+
  • My Programming Book Picks
  • Twitter

Jameson Quave


I write about new technologies and how we interact with them.
© 2025 Jameson Quave | Powered by Minimalist Blog WordPress Theme