stephenadjustsImageSizeForAccessibilityContentSizeCategoryIn iOS 11+, there is a property adjustsImageSizeForAccessibilityContentSizeCategory that allows images to automatically adjust to changes…Mar 6, 2019Mar 6, 2019
stepheniOS drag and drop on iPhone, custom viewDrag and drop was introduced in iOS 11, and works on iPhone and iPad. If you’re like me, your starting point of reference for implementing…Feb 13, 2018Feb 13, 2018
stephenXcode pro-tip: run last test againDon’t want to bury the lede, so here it is: ⌃ ⌥ ⌘ GAug 19, 2017Aug 19, 2017
stephenXcode pro-tip: JSON formattingIf you have a JSON structure in a source file, you’ve probably ended up with something that looks like this:Aug 14, 20172Aug 14, 20172
stephenLinked list example in Swift 3If you’re looking for a trivially simple example of a linked list implementation in Swift, step right up! Our node is nothing more than…May 8, 2017May 8, 2017
stephenPlay vibrate sound iOS app, Swift exampleIf you’d like to make the iPhone vibrate, you can do it very simply, like so:Apr 28, 2017Apr 28, 2017
stephenOnboarding state controller example in SwiftThis is a simple example of an onboarding controller I’ve used in a couple apps.Mar 29, 2017Mar 29, 2017
stephenUITableView crash, layout engine, didSetThere is plenty written about the woes of updating the UI from a background thread, so I won’t retread that ground.Feb 28, 2017Feb 28, 2017
stephenSwift 3.0 networking example: add weather to your appI threw together a quick and dirty weather controller singleton for a project I’m working on. I couldn’t find any up to date Swift…Feb 21, 2017Feb 21, 2017