Associated Types in Swift

Context When working on Swift protocols, you might need to use generic types as a variable. Swift compiler can understand when you provide a protocol as a variable, but what if you want to use a type? Here is an example of implementing a data structure based on protocols. protocol A { } protocol B… Continue reading Associated Types in Swift

Published
Categorized as iOS

What’s so different about tvOS? An iOS Developer’s Thoughts

Apple TV was one of the biggest announcements coming out of September’s Apple event, finally bringing to reality one of the Apple’s longest-tenured rumors. With the new Apple TV, Apple is allowing us to finally create our own apps using the brand new tvOS platform, opening up the Apple TV to developer apps in the… Continue reading What’s so different about tvOS? An iOS Developer’s Thoughts

Published
Categorized as tvOS

Use Touch ID In Your Swift App

WHAT IS TOUCH ID? With iOS 7 and the iPhone 5S release, Apple introduced Touch ID, a new way for users to authenticate by using their fingerprints to unlock their phones or purchases on the App Store. Now, in iOS 8, Apple provides an SDK for developers to use Touch ID in their apps, and, as… Continue reading Use Touch ID In Your Swift App

Published
Categorized as iOS Tagged

Sprite Kit In A Non-Video Game App

SpriteKit is an Apple framework originally designed for 2D video games, with a physics engine, sprites, particles and sound effects. This framework, largely inspired by Cocos2D, is a great tool to design and create a game app. It is easy to use, the Apple documentation is (as usual) comprehensive, and you can find tons of tutorials on the internet.… Continue reading Sprite Kit In A Non-Video Game App