Last year Swift 2.0 was introduced bringing a multitude of new features to the Swift programming language.
The Guard and Defer control statements were added with Swift 2.0 and Nate Cook has written a nice tutorial on the two statements.
In the tutorial Nate explains both statements in depth, and shows how they can be used to streamline your code with included code examples.
You can find the tutorial on the NSHipster blog.
Earlier this week I mentioned a nice guide on making content within your apps searchable on device.
Here’s a tutorial from Luke Parham on using iOS’s state restoration feature allowing a user to return to an app exactly the way that they left it.
State restoration is important because if your app is removed from the device’s memory then without state restoration the app will start-up all over again.
Yesterday I mentioned tutorial on how to make apps searchable with the iOS 9 SDK using the Core Spotlight framework.
Here’s a nice tutorial from Brian Coleman on how to implement support for the new 3D touch feature.
In the tutorial Brian explains the types of actions that can be defined in the 3D touch menu, and how to handle things once the user selects a specific item on the menu. An example project is included.
I’ve mentioned a few resources for those interested in working with metal graphics API such as this example and guide on creating a reaction and diffusion simulation using the Metal Graphics API, and a library for creating particle effects using the Metal API.
Here’s a tutorial from Geppy Parziale on Metal explaining the advantages of using metal vs. other options such as using OpenGL ES, explaining some of the basics of working with the metal framework, and creating a simple example using the Metal framework for fast image processing.
One of the new frameworks added with iOS 9 is the Core Spotlight framework which allows you to make your app’s contact searchable with the on-device index which works with the updated NSUserActivity API for storing app states.