Category Archives: Code

Implementing a 360º Video Viewer with SpriteKit and SceneKit

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

Posted in Code, Swift | Tagged , , , | Leave a comment

Code: Playing Ogg Vorbis Files on iOS

Often I finish the code for a tutorial or blog article long before I ever get around to writing the article. I know this frustrates some of my readers as they wait for the next in a series of articles … Continue reading

Posted in Code, Objective-C | Leave a comment

Tip: Ensuring ARC is Enabled at Compile Time.

If you still have legacy code around that is not compiled with Automatic Reference Counting (ARC), accidentally adding some new code that assumes that ARC is enabled can lead to extensive memory leaks. This simple test, placed in a .m … Continue reading

Posted in Code, Code Snippets, Objective-C, Tips | Tagged , , | Leave a comment