In this workshop you learn how to declare and initialize Swift variables and constants. You also learn about common types you can use to annotate a variable or a constant. Before you begin, I assume you’ve done the following: read workshop 1-13 launched the Swift Variable app in Xcode 6 you will use the playground […]
Day: August 22, 2014
In this workshop you will learn how to add a playground file in the iOS project called Swift Variable. You will get a bird’s eye view of the playground interface. Finally, you will try out Swift code in the playground. Before you begin, I assume you’ve done the following: read workshop 1-11 launched the Swift […]
In the previous 10 workshops you learned the basics of creating an iOS application, connecting the view’s controls, and adding Swift code in the ViewController.swift class file to make the view a functional object. Now, in this workshop, you will add Swift code in the Swift Variable application’s actionShowOutput() function to do the following: Format today’s […]
In the previous workshop you learned how to hide the keyboard. Now, you have to add code in the ViewController class file to solve this keyboard problem. When you tap the Text View control in portrait or landscape mode, the keyboard appear at the bottom of the screen. If the cursor is hidden by the keyboard, you […]