iOS Tutorials Archive

TUTORIAL: Using UICollectionView with UICollectionViewFlowLayout

Showing data in a gridview is a beautiful and space-saving solution for graphical data (e.g movies, books, pictures etc). It has been popular long before Apple introduced UICollectionView in iOS 6 – a powerful and highly customisable way

TUTORIAL: Creating custom layouts for UICollectionView

In the previous part of this tutorial, basic usage of UICollectionViewFlowLayout was discussed.  UICollectionViewFlowLayout is a powerful and convenient way to create beautiful collections, but sometimes a more sophisticated approach is needed. This tutorial will show, how

Comparison of system fonts on iOS 8 and iOS 9

Background Until iOS 9 the well known system font for apps was Helvetica Neue. In iOS 9 Apple changed the default font to San Francisco. For developers it’s not a big issue as long as system fonts

WatchKit tutorial: Creating a simple Watch App

Apple Watch will be available on the market in the beginning of 2015, so it’s exactly the right time to start preparing apps for the new iOS device. Apple has already released the new Xcode, which contains

Using size classes in Xcode 6

In the beginning, building iOS UI was fairly easy in comparison to Android. However, designing for Apple mobile devices is getting more complicated every year because of new devices. iPhone 6 and 6 Plus increases the number of devices

iOS Tutorial: Using UIPageViewController to create a content slider (Objective-C/Swift)

Navigating between content pages by swiping is a widespread behavior in iOS. Surely, it is much more convenient to scroll through the gallery or magazine articles than to go back and select the next item. However, before iOS

iOS TUTORIAL: Creating a custom tabbar using Storyboard in Xcode

Custom tabbar Custom tabbar is a quite common task for an iOS developer. It’s normal –  the look and feel of the standard tabbar in iOS 7+ is quite good, but it doesn’t suite always into the app’s

Testing in-app purchases on iOS

Testing in-app purchases on iOS is considered to be relatively easy: there is no need to upload a build before testing, no need to enter credit card information, no real account etc. However, it’s still possible to

Using the Objective-C runtime and method swizzling

Objective-C runtime is often an unknown topic for new iPhone developers. In practice, using Objective-C Runtime is needed really seldom, but there are situations, when its usage saves a lot of work and makes things easier. One of

TUTORIAL: Creating an iOS App Extension to perform custom actions with Safari content

iOS App Extension From all the new features introduced in iOS 8, app extensions are definitely the most exciting ones, especially Action Extensions as they “help users view or transform content within the context of another app”