In this tutorial we are going to create an UISegmentedControl with two options named as ‘First’ and ‘Second’ which are the default values comes with the UISegmentedControl. When the user selected an option we are going to display the selected option name in an UILabel. Thats pretty simple to start with right!
The UITextChecker object can be used to spelling-check a string. In this
tutorial a few words will be displayed inside a Table View. When the words
are selected, they will be checked for spelling, the backgroundcolor will
change to green if the spelling is correct, otherwise the background color
will change to red. This tutorial is made in Xcode 7.2 for iOS 9.
Open Xcode and create a new Single View Application. For product name, use
IOS9TextFieldAlertControllerTutorial and then fill out the Organization
Name and Organization Identifier with your customary values. Enter Swift as
Language and make sure only iPhone is selected in Devices.
Over the last few weeks we have been manually positioning everything in our game via code. Which is not a bad thing. In fact, it's important to know how to add objects to our scene via code. However, there comes...