Early last year I mentioned a nice tutorial from Yari D’areglia explaining how to create custom UI components.
Here’s another nice tutorial from Yari that explains how to use the new feature in iOS 6’s interface builder that allows you to preview and update your custom components.
The key to using this new feature are the IBDesignable and IBInspectable keywords, and in order to get things working you’ll need to implement your custom component within a framework.
With the introduction of iOS 7 I mentioned a nice set of tutorials covering many new aspects of the iOS 7 SDK from Sam Davies of Shinobi Controls.
Now with the introduction of iOS 8 here’s another large set of mini-tutorials and code snippets from Sam on many of the new and updated features of the iOS 8 SDK.
The Metal API added with iOS 8 provides an alternative to OpenGL for graphics programming with lower overhead and increased performance with Apple’s A7 and the new A8 in the iPhone 6 and iPhone 6 Plus.
Apple has provided a nice amount of documentation, video presentation and examples that you can find over on the Metal for Developers page.
Among the great new features in iOS 8 are the custom keyboard extensions, and the keyboard predictive text bar that will sit atop the keyboard (last month I mentioned a component based on that new feature called TOMSSuggestionBar.
Here’s a step-by-step tutorial from Tope Abayomi explaining how to create custom keyboards using the iOS 8 custom keyboard extension.
The tutorial explains how to set up your project, using the new keyboard extension, creating a custom keyboard layout, and explains a few of the gotchas along the way.
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.