Get Updates By E-mail 

iOS Development Tutorials

Tutorials for iOS development are posted here. The tutorials can cover any topics relevant to iOS developers and tutorials on topics game development, augmented reality, and learning Objective-C have been posted in the past.

If you would like to add a tutorial please submit it here.

An Extensive Guide On Working With C Based APIs in Swift

  •  
  •  
  •  
  •  
  •  

Working with C APIs with Swift can get frustrating, and with C going to new platforms such as Linux this is becoming even more important.

Umberto Raimondi has written an excellent an in-depth guide to working with C going further than the official documentation and provides a playground for exploring things within Xcode.

The guide is very complete provides a number of nice examples especially on more complicated topics such as the different ways of working with C pointers.

You can find the tutorial over on the Uraimo blog.

A nice guide on working with C APIs in Swift.


  •  
  •  
  •  
  •  
  •  

A Guide To Understanding VIPER, MVVM, MVP, And MVC And Choosing The Right Architectural Pattern

  •  
  •  
  •  
  •  
  •  

There are a number of software architectural patterns commonly mentioned in iOS literature, and Bohdon Orlov has put together an excellent guide for those looking to understand choose these patterns.

Specifically Bohdon talks about why you should care about choosing an architectural pattern, explains VIPER, MVVM, MVP, and MVC with a number of nice diagrams, straightforward explanations, and code snippets to explain each architecture.

The code distribution, testability and ease of use is highlighted for each architecture.

You a find the guide over on Bohdon Orlov’s blog.

A nice guide for those looking to mention these architecture patterns frequently mentioned in iOS dev literature.


  •  
  •  
  •  
  •  
  •  

Tutorial: Setting Up A CI Server With Xcode And The Open Source Fastlane Tools

  •  
  •  
  •  
  •  
  •  

I’ve mentioned a number of the Fastlane tools such as Match for easy code signing among teams.

The Fastlane tools automate many tedious deployment tasks for iOS developers, and are very helpful for those setting up a continuous integration server (CI).

Here’s an extensive tutorial submitted by Xmartlabs showing how to set up continuous integration with Xcode server and Fastlane.

The tutorial explains how to set up Xcode server, create your Xcode bots to notify committers of any issues, deploy your project, and how to troubleshoot issues that may come up.

You can find the tutorial on the Xmartlabs site.

You can find the Fastlane tools on Github here.

A nice guide for those looking set up a CI server.


  •  
  •  
  •  
  •  
  •  

Tutorial: Migrating An Objective-C App To Swift

  •  
  •  
  •  
  •  
  •  

This tutorial is a nice guide/post-mortem from Skyscanner explaining how they were able to migrate their apps from Swift to Objective-C.

Specifically the tutorial covers how to work with your objective-c code from Swift, and your Swift code in Objective-C. Also covered is how to test your code that utilizes both languages.

You can find the tutorial over on the Code Voyagers blog.

Also be sure to check out the earlier guide on transitioning from objective-c to Swift.

A nice guide for those looking to use Swift with a legacy objective-c app.


  •  
  •  
  •  
  •  
  •  

Tutorial: Using 3D Touch To Create A Weighing Scale

  •  
  •  
  •  
  •  
  •  

Earlier this year I mentioned a nice guide on implementing a 3D touch menu for the springboard.

Here’s a step-by-step tutorial from Maxime Defauw on using the latest iteration of Force Touch, 3D Touch to create a weighing scale.

Some of the things explained in the tutorial are:

How to detect the availability of 3D Touch
Gathering the force percentage
Setting up the project and interface

Keep in mind that the scale isn’t totally accurate, and Apple doesn’t want people to measure things on their iPhone’s so don’t expect a digital scale app to get into the app store (at least one such app has already been rejected).

You can find the Digital Scale app tutorial over on the AppCoda blog.

A nice guide for those interested in utilizing 3D touch.


  •  
  •  
  •  
  •  
  •