This page contains all the blog posts pertaining to iOS development in Swift:

<– Bleep bloop, hello world –>

  1. Learn Swift in 10 Steps – An Article and Video Mashup

    Introduction & Assumptions about you Today I’d like to give you a tutorial on using Swift 3. I assume the following is true about you: *** You are a beginner to Swift (or even programming in general) *** You have a

  2. How to Record Sound with Swift 3 and iOS 10

    Recording from the microphone is a tricky task – with a fair bit of setup. However it’s all laid out here in plain language 🙂 1. The very first step is to request permission to use the microphone: In your Info.plist

  3. How to Show an Alert with a List of Items in Swift 3 and iOS 10

    At some point you will want to present a list of items to your users and prompt them to select one. Whilst a spinner is an OK option I prefer the Alert Controller. It’s simple to use and doesn’t take up any screen

  4. How to Observe Changes in Variables with Swift 3 and iOS 10

    Sometimes you want to execute some code in Swift 3 whenever a variable changes its value. And perhaps you’ve done this previously by creating a function that you call whenever it makes sense in your code. However, there’s a MUCH

  5. What Does the Swift 3 Underscore Mean?

    In Swift 3 sometimes the underscore is there and sometimes it’s not. A bit like Schrodingers cat…(sorry, bad science joke) So what doe it do exactly? Well, let’s back track a little bit and talk about functions first. Any function

  6. How to Round a Number in Swift 3

    Rounding is pretty simple in Swift 3. But as usual there are a few gotchas: 1. Rounding is performed by the rounded() function:

    2. If you want to round to a certain number of decimals, try a little arithmetic:

  7. How to Use User Notifications in iOS 10 – Formerly Local Notifications

    Local notifications are now known as User Notifications in Swift 3 and iOS 10. They can take 3 forms – badges, sounds and alerts (the latter appear on the lock screen). To set them up in Swift 3 do the following:

  8. How to Use Core Data in iOS 10 (Swift 3)

    Core data is Apples almost proprietary system for persistent data storage. It was INSANELY complicated to setup in iOS versions before iOS 10. Luckily for us though, it is now relatively simple. There are a few things you need to

  9. What is Object Oriented Programming? Polymorphism

    Object oriented programming has a few core concepts. One of the most fundamental is Polymorphism. Here’s a really simple explanation: Polymorphism is the ability to hijack an existing inherited method and add functionality to it. If you’ve been reading this series on OOP principles (and

  10. What is Object Oriented Programming? Inheritance

    Object oriented programming has a few core concepts. One of the most fundamental is Inheritance. Here’s a really simple explanation: Inheritance is using existing classes as the foundation of new classes. Once again, a real world example would be good here. Let’s say you have a

Share This