The UITableViewRowAction class can be used to create custom actions to the
rows of a Table View. In this Tutorial a rate and share action will be
added to the Table View row. This tutorial is made with Xcode 9 and built
for iOS 11.
The Collection View provides a flexible way to present content to the
user. Similar to a table view, a collection view gets data from custom data
source objects and displays it using a combination of cell, layout, and
supplementary views. A collection view can display items in a grid or in a
Now that you’ve connected your button to the View Controller, we can write code to change the images whenever the button is tapped.
In this video, you’ll learn how to change the images shown in the user interface of your app via code and furthermore you’ll learn how to randomize the images that are selected and shown with each tap of the button!
Long-press gestures are a type of a continuous gesture. UIKit will detect
if a press is pushed long instead of a single tap. In this tutorial a
long-press gesture is detected, which will display an an alert view. This
tutorial is made with Xcode 9 and built for iOS 11.
Think of optionals simply as variables that might contain nil. The only hard part is remember all of the syntax that goes along with declaring optionals, unwrapping them and checking if contain nil before using them.
That will come with time! I highly recommend you download the worksheet to get some extra practice with them. It will help you remember the syntax without having to memorize anything!
Learn how to write Swift code that can make decisions!
In this video, you'll learn how to write IF Statements which are used everywhere! IF Statements allow you to execute some Swift code only if a specific condition is met.
You'll learn how to use these IF Statements in an Xcode playground first and then you'll apply your new skills to the War Card Game project!
In this lesson, I’ll show you how to position elements using Stack Views.
Stack Views allow you to position elements inside it without specifying constraints.
This can be a huge time saver when it comes to building the user interface for your own app.
In this lesson, you’ll build another user interface; this time, taking advantage of Stack Views for positioning.