Workshop 18: Array

In this workshop you will learn the basics of declaring, initializing, and accessing elements of a swift array. You will also learn how to manipulating elements of an array. Before you begin, I assume you have done the following: Read workshop 1-17 Launched the project, Swift Variable.xcodeproj in Xcode 6 IDE-see image below A Swift array is a collection of […]

Workshop 17: TUPLE

 A tuple in swift is a collection containing values of varying types (Int, String, Double, Float, Bool) or the same type (Bool, Bool) . A Tuple element indices are zero-based. The first element of a non-empty tuple is always t(0). Declare and Initialize a Tuple You declare and initialize a tuple like this: Access a Tuple Values […]

Using Core Data: Workshop 6

This is the final workshop in the Using Core Data series. You will learn how to implement the ability for the app user to update attributes of a managed object in the persistent store. Setup The Book Detail Scene In order to enable app user to update attributes of a managed object in the persistent […]

Workshop 16: Optional

An optional is a Swift type for declaring a variable that can hold either a value or no value. In this workshop you will learn: how to declare a variable as an optional type two ways to unwrap an optional variable so you can use its value. how to implicitly unwrap Swift class file instance […]