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.
Core Graphics is a very powerful low-level API. In this tutorial we will
create gradients with the help of Core Graphics. For simplicity sake, we'll
use linear gradients. Linear gradients start from one point and color to
another point and color. The gradient will move from left to right on the
view. This tutorial is made with Xcode 8 and built for iOS 10.
Local notifications are a way for an application that isn’t running in the
foreground to let its users know it has information for them. In iOS 10
Apple introduces rich notifications, which can include different type of
media . In this tutorial we will create a local notification including an
image. This tutorial is made with Xcode 8 and built for iOS 10.
Tab Bars provides the ability to quickly switch between different sections
of an app. In this tutorial the look of the Tab Bar and its items will be
customized. This tutorial is made with Xcode 8 and built for iOS 10.
Core Graphics is an API included in both Cocoa and Cocoa Touch. It allows
you to draw graphic objects on the graphic destination. In this tutorial we
will draw some basic shapes such as a rectangle or a circle. This tutorial
is made with Xcode 8 and built for iOS 10.