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.
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.
This year at WWDC Apple released a brand new language called Swift. This will change the way iOS will be developed in the near future and older Objective-C code is expected to remove gradually. In this serie of tutorials we will go over the main aspects of the Swift language.
An array stores multiple values of the same type in an ordered list.
Different from Objective-C arrays in Swift can contain only one type at a
time, which is less error.prone. In this tutorial we will show the most
common functions applied on arrays. To follow this tutorial you will need
Xcode 6 and start a playground file. Xcode 6 can be downloaded from Apple's
developer portal.
In this tutorial we create a calculator, which can add and subtract. To
keep things simple, this calculator can only handle integers. This tutorial
is written in Swift so you will need Xcode 6. It can be downloaded at
Apple's developer portal.
In this tutorial we will display a Table View with some rows filled with
data. We will use Swift as the language of this tutorial, so Xcode 6 is
required to follow along. Xcode 6 can be downloaded at Apple's developer
portal.
Strings are an collection of characters encloded by double quotes. In Swift
strings are represented by the String type. In this tutorial we will take a
look at the most used String-based actions. To follow this tutorial you
will need Xcode 6 and start a playground file. Xcode 6 can be downloaded
from Apple's developer portal.
In Swift, functions are a self contain block of code which targets a
specific task. Functions are first-class types, which means functions can
be defined outside of a class in Swift. To follow this tutorial you will
need Xcode 6 and start a playground file. Xcode 6 can be downloaded from
Apple's developer portal.
In iOS you can load a URL into a native app through the UIWebView Control.
This tutorial is written in Swift so you will need Xcode 6. It can be
downloaded at Apple's developer portal.
The strength of iOS lies in the interaction using touches and gestures. In
this tutorial we'll display some custom views, which we can drag using the
pan gesture recognizer. This tutorial is written in Swift so you will need
Xcode 6. It can be downloaded at Apple's developer portal.
With a progress view, also known as a progress bar, you can show the
progress of a task to the user. In this tutorial we will simulate the
progress of a specific task. This tutorial is written in Swift so you will
need Xcode 6. It can be downloaded at Apple's developer portal.
The UIKit framework provides predefined gesture recognizers that detect
common gestures. Gesture recognizers are objects that you attach to a view,
which allows the view to respond to actions. In this tutorial we will
display an image, which can be scaled up and down with the pinch gesture.
This tutorial is written in Swift so you will need Xcode 6. It can be
downloaded at Apple's developer portal.