Saving Settings with Core Data Metadata

November 6th, 2017

Filed under: Cocoa, iOS Development, Mac Development | Be the first to comment!

I’m working on a Core Data app where I needed to save some document settings. Creating Core Data entities for these settings was overkill. In my research for a solution I discovered persistent store metadata. I did not find much information online on using persistent store metadata so I’m sharing what I learned in this […]


UITextView Word Count in Swift

October 24th, 2017

Filed under: iOS Development | Be the first to comment!

Getting the word count of an iOS text view is a little more difficult than a Mac text view because the NSTextStorage class’s words property is not available on iOS. A starting point for getting the word count is to separate the components of the text view’s string by whitespace and newline characters. let words […]


RWDevCon 2016 Vault

April 26th, 2017

Filed under: iOS Development, Mac Development | Be the first to comment!

I saw the site raywenderlich.com made the videos of their RWDevCon 2016 conference freely available. RWDevCon 2016 Vault There are 24 videos to watch along with materials to download so you can follow along with the tutorials in the videos. The videos are a year old and use Swift 2 so you’ll have to convert […]


Limiting Device Orientations in an iOS App

January 8th, 2017

Filed under: iOS Development | Be the first to comment!

I’ve been developing an iOS Game that is meant to be played in landscape orientation. I had problems forcing the game to be played in landscape orientation, causing the game to be rejected by Apple the first time I submitted it. Limiting an iOS app’s device orientations is trickier than you would expect. I didn’t […]


Keep Part of a SpriteKit Scene from Scrolling

August 8th, 2016

Filed under: Game Development, iOS Development, Mac Development | Be the first to comment!

I covered the basics of scrolling a SpriteKit scene with a camera node in my Scrolling a SpriteKit Scene with SKCameraNode article. But I didn’t cover one thing many games need. Many games use part of the screen to display vital information to the player such as score and health. When you scroll the game […]