I’ve mentioned a few tutorials on larding the Swift language, most recently an in-depth guide on using Swift arrays, and a tutorial on Swift basics through the creation of a falling blocks game.
Here is an in-depth case study and tutorial from the Apple Swift blog exploring the use of optionals.
In the post the authors create an NSDictonary objectForKeys function in Swift and explain how to use options for this situations when the key is not found and the advantages over NSNull with Objective-C.
Earlier this year I mentioned an open source app personal movement tracking app in development called Theseus inspired by Google’s Latitude app.
Here’s a nice step-by-step tutorial on how to create a movement tracking app inspired by the popular Runkeeper app from Matt Luedke.
The topics within the tutorial include:
Earlier this year I mentioned a component for implementing Tinder style swipe-to-choose cards called MDCSwipeToChoose.
Here’s a nice tutorial that goes step-by-step through the process of creating cards with cool Tinder style dragging animations from Nimrod Gutman.
Specifically the tutorial covers:
- Setting up a draggable image view
- Modifying the rotation and scale while the image is being dragged to match the effect seen in the Tinder app
- Adding overlay images as the image is dragged
- Performing the selected action
I’ve mentioned a number of Swift resources and yesterday a tutorial on Swift basics through the creation of a Tetris style game.
Here’s a nice guide to Swift arrays from Coding Explorer that explains some fundamental differences between NSArray and Swift arrays, a nice chart listing the different methods, and a nice list of the different methods available for working with Swift arrays.
There’s also a nice step-by-step guide working through some of the array basics:
Last month I mentioned a nice beginners tutorial showing how to create a Candy Crush style game in Swift.
Here’s another tutorial providing a fun way to increase your Swift knowledge in the building of a Tetris style game from Bloc.
The tutorial utilizes Swift, and SpriteKit explaining every step along the way going from the setup of your project and loading assets, through to setting up the actual game, and some special effects. Everything is nicely explained a very clean format and allows you to jump between each step along the way.