Workshop 23: Conditional Statements

The Swift programming language has only 3 decision statements (a.k.a branching statements) you can use in a class file. This chapter discus them. In this workshop you will learn how to use them. Before you begin, I assume you have done the following: Read workshop 1-22 Launched the project, Swift Variable.xcodeproj in Xcode 6 IDE-see image below […]

Workshop 21: The for and for-in Loop

In this workshop you learn how to us the for and for-in loop to iterate over elements in an array variable. You also learn to iterate over entries in a dictionary array variable. Before you begin, I assume you have done the following: Read workshop 1-20 Launched the project, Swift Variable.xcodeproj in Xcode 6 IDE-see image below […]

Workshop 20: Dictionary

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