This Learn Swift series is designed for beginners with NO programming experience. It uses the latest version of Swift 3 and Xcode 8. This lesson starts with variables. What they are, what they're used for and how to use them!
The UIStepper control provides a simple way to change a numeral value. It
consists of +/- symbols that increment/decrement an internal value. In this
tutorial we will change the value of a label field using the UIStepper
buttons. This tutorial is made with Xcode 8.2.1 and built for iOS 10.2.
The Date Picker provides a custom Picker View that uses multiple rotating
wheels to allow an user to select dates and times. In this tutorial the
selected date is presented onscreen inside a label. This tutorial is made
with Xcode 8.2.1 and built for iOS 10.2.
Sprite Kit provides a hardware-accelerated animation system which has been
optimized for creating 2D games. In this tutorial we will use the Game
template in Xcode to add a background image. This tutorial is made with
Xcode 8.2.1 and built for iOS 10.2.
A UIAlertController object displays an alert message to the user. This
class replaces the UIActionSheet and UIAlertView classes for displaying
alerts. In this tutorial we will display an alert when the user clicks a
button. This tutorial is made with Xcode 8.2.1 and built for iOS 10.2.
A long-press gesture displays a Context Menu, which gives the user the
ability to use cut/copy/paste operations on the selected object. By
default, the Context Menu is disabled on a Table View. In this tutorial the
context menu will be enabled to copy the text of the Table View Cell, this
text can then be pasted into a Text Field. This tutorial is made with Xcode
8.1 and built for iOS 10.
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 made with Xcode 8 and built for
In this tutorial, we will learn how to stop a playing music from another view controller using notifications in Swift 3. The notification center allows you to send out events and receive them in methods. This has nothing to do …
In Swift, a protocol is simply a name for a group of methods. It doesn’t implement any of the methods it declares. It just says: any object that conforms to this protocol must implement methods X, Y and Z. The …
In this tutorial we will build an iOS application that will fetch the weather data from an online weather API and display it to the user. The App will display the country name, temperature, weather state, current date, and an …
A segmented control displays a list of options that a user can choose from.
Each segment sort of looks like a radio button, the segments remains
“pressed” even after the user selects the control. In this tutorial we
create 2 segments inside a UISegmentedController. Each segment will display
a different text value on a label. This tutorial is made with Xcode 8 and
built for iOS 10.