Author Archives: idz

About idz

A professional software engineer dabbling in iOS app development.

Using SceneKit and CoreMotion in Swift

This article describes how to use SceneKit and CoreMotion to create a 360º panoramic photo viewer that lets you explore the scene by moving your phone around. For the purposes of this article I’ll use the image below from Wikipedia. … Continue reading

Posted in Uncategorized | 2 Comments

Taming Foundation Constants into Swift Enums

For most of Cocoa, Apple has done a nice job of wrapping the APIs in native Swift entities. In particular, sets of constants that exist in NS_ENUM enumerations are imported as Swift enums with associated raw values. The situation is … Continue reading

Posted in Swift | 1 Comment

Swift Parameter Labels

I am guessing early on in the development of the Swift language the relationship between a function declaration’s parameter labels and whether they need to be included in a call was much more forward. Maybe it looked something like this. … Continue reading

Posted in Swift | Leave a comment