A few days ago I published a post that showed how, with relatively little code, you could create a primitive 360º panoramic photo viewer in SceneKit. In this mini-post I am going to show how by adding SpriteKit and a Continue reading The post Implementing a 360º Video Viewer with SpriteKit and SceneKit first appeared on iOS Developer Zone .
The Model I/O framework was introduced at WWDC 2015, however there is remarkably little sample code out there. Over the past few days I have been trying to write reliable code to import an .OBJ file and apply textures to Continue reading The post Getting Started with ModelIO first appeared on iOS Developer Zone .
This article explains how to use CoreLocation and MapKit to display a location and speed on a map. Last year I was in Japan and I was traveling on some seriously speedy trains. I was gutted (not happy) that the Continue reading The post ShinkansenSpeed: MapKit and CoreLocation in Swift first appeared on iOS Developer Zone .
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 The post Using SceneKit and CoreMotion in Swift first appeared on iOS Developer Zone .
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 The post Taming Foundation Constants into Swift Enums first appeared on iOS Developer Zone .
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 The post Swift Parameter Labels first appeared on iOS Developer Zone .
In the last post in this series, I took at look at the protocols that Swift uses to define generators, sequences and collections. In this post I am going to present examples of using the Standard Library Functions that operate Continue reading The post Swift Standard Libraries: Sequence and Collection Functions first appeared on iOS Developer Zone .
I love my 11 MacBook Air. But as a developer, its 120GB SSD has become an issue. With new versions of iOS, beta versions of Xcode and the various Apple programs that don t play well with external hard drives (I Continue reading The post Hardware Review: OWC Aura Pro 480GB SSD Envoy Upgrade Kit for MacBook Air first appeared on iOS Developer Zone .
A large part of the Swift Standard Library is concerned with {swift}Generators{/swift}, {swift}Sequences{/swift} and {swift}Collections{/swift} and functions that operate on them, so it s pretty important to have a good understanding of them. Generators A {swift}Generator{/swift} is anything that conforms to Continue reading The post Swift Standard Library: Generators, Sequences and Collections…
I have put off learning how to use git submodules for too long, but one of my projects has been crying out for them for so long that I finally had to act. The project IDZAQAudioPlayer demonstrates how to use Continue reading The post A Whirlwind Introduction to git submodules first appeared on iOS Developer Zone .