Posted on January 22, 2015
by Steven Lipton
3 Comments
Some people want calculator-type buttons. It would be nice to have such buttons for say, an order entry app. In this lesson we’ll put together a set of buttons to make a layout for an order entry system. Along the way I’ll show how… Continue Reading “Swift Swift Tutorials: Calculator Style buttons in an Auto Layout Xib”
Category: Auto Layout and Size Classes, GUI, ios8, Swift Swift, Tutorial, UncategorizedTags: Auto Layout, calculator buttons, modal delegates in swift, modal view in swift, swift, swift and IB, swift tutorial, Xcode, xib, xib in swift
Posted on December 10, 2014
by Steven Lipton
1 Comment
Watch the video for any commentary. Here are two answers. There a lot of possible ones. Answer 1 Answer 2
Posted on October 23, 2014
by Steven Lipton
1 Comment
In this episode of our beginner’s series on Swift, we will dive into programming with the most fundamental part: assignment of values to identifiers. We’ll use the new Xcode playground feature to explore var and let. We’ll learn how to add numbers and a… Continue Reading “KinderSwift Episode 3: Variable Assignment in the Xcode Playground”
Category: KinderSwift tutorial, Swift Programming, TutorialTags: assignment operator, auto-complete, Beginning Swift, equals, error message, let, plus, swift tutorial, Using playgrounds, using swift playgrounds, var
Posted on August 19, 2014
by Steven Lipton
2 Comments
While not classified as a collection type by Apple, tuples are the new collection-like type found in Swift. Tuples fit in a strange place between structs and arrays, but allow for some rather remarkable flexibility in code — particularly when returning more than one… Continue Reading “The Swift Swift Tutorial: Using Tuples and Creating Multiple-Return Functions”
Posted on July 30, 2014
by Steven Lipton
12 Comments
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… Continue Reading “The Swift Swift Tutorial: Ten Points for Using Optionals.”
Category: Discovery!!!, ios7, ios8, Swift, Swift Swift, TutorialTags: downcasting, downcasting anyobject, implicitly unwrapped optional, Optional binding, Optional chaining, optionals, swift, swift as, Swift Optional Values, swift reference, swift tutorial, unwrapping otpional values
Posted on July 19, 2014
by Steven Lipton
17 Comments
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… Continue Reading “The Swift Swift Tutorial: How to Use Split View on iPad (Round 1)”
Category: GUI, Swift, Swift Swift, TutorialTags: GUI, iPad, Split View, Split view in swift, swift, swift tutorial, UISplitView, UISplitViewController