Category: Swift
-
KinderSwift Tutorials for Swift Episode 1: Intro and Downloading Xcode
The first in a series of tutorials for beginner programmers using Swift. Transcript Welcome to Kinderswift, a video based course to learn basic programming using swift, Apple’s new language for Mac os X and iOS development. I’m Steve of MakeAppPie.com and I’ll be your instructor for this course on programming in Swift. While there are…
-
Swift Swift: Implementing Picker Views
[Updated to Swift3.0 10/4/16 SJL] This week, we’ll look at UIPickerView. Picker views are the spin-wheel like controls that often remind me of slot machines. Picker views, like table and collection views, are delegate based. You need to adopt a delegate and data source to get them to work properly. Picker views also take a lot…
-
The Swift Swift Tutorial: Ten Points for Using Optionals.
In the first month and a half of using Swift, I could argue the optional value is the most difficult new concept. It isn’t hard, just something different to wrap one’s head around. That Apple’s documentation peppers information about optionals in two different e-books without consolidating the information doesn’t help. I decided to combine what…
-
The Swift Swift Tutorial: How to Use Split View on iPad (Round 1)
Back in July of 2014, I wrote this first post on using UISplitViewController in Swift. I gave how to use Apple’s template, which has a few interesting quirks, such as ARC killing@IBOutlets at the drop of a hat. I said I would write another post on the subject. I ended up making this section 2…
-
The Swift Swift Tutorial: Using Segues and Delegates in Navigation Controllers (Part 1 — The Template)
[Updating to Swift 2.0 SJL 9/17/15] Click here for the Swift 3.0 version of this post It should be one of the easiest things we do, and yet for many it is the most confusing. Getting data from one view controller to another as you switch views never seems easy. Segues might be slightly difficult,…
-
The Swift Swift Tutorial: Adding an MVC Model Class in Swift
[Note: Updated for Swift 2.0/iOS9 9/1/15 SJL] Last time we built a small application to compute the area of a pizza. Since it was missing a model, we are going to make an improved version of the application and add a model class, plus make a few UI changes. Since there are so many changes,…
-
The Swift Swift Tutorial:A Swift Pizza App with UI
[Updated to Swift 2.0 8/30/15] I thought I’d do some writing for the advanced beginner to intermediate level programmer. That’s a loose definition, but I’ll define it as someone who can find their way around Xcode well enough that I can say “open a single view template and add two buttons and a label” and…
-
From Brackets to Braces: We will have UI!!!
One of the things about working with an iPhone is that you can use its cool UI. One of the thing I Have been struggling to write the Swift programming tutorials is that said UI was off-limits by the Apple confidentiality agreement. After writing the print and println tutorials this morning, I looked up the confidentiality agreement…
-
From Brackets to Braces: A Swift Tutorial for Newbies
The Media was waiting for Apple to have some jaw dropping bomb of an announcement at WWDC2014, expecting some miraculous hardware like a watch or teleportation device for the iPhone. What they got in classic Apple form was totally unexpected — a new programming language, Swift. At the keynote, application developers cheered many of the…