Having just developed a plist-based design framework that works in Interface Builder, I’m more interested than ever in using xibs and storyboards to design my views.
I also like using AutoLayout. There are significant advantages when it comes to things like labels that make it so much easier to deal with than manually setting frames everywhere in code. Things like Dynamic Type, accessibility, and localisation all become easier and there’s less room for error.
There are some things that do become more complicated with AutoLayout (mostly transforms) but there are well established workarounds for most of these.
I was recently designing a new app that involved using MapKit and I wanted to use AutoLayout to design a subclsss of MKAnnotationView but this isn’t entirely straightforward.
Continue reading MKAnnotationViews and AutoLayout
I have an appearance manager that reads styles from a plist file and applies then throughout the app through the use of the appearance proxy and through notifications to various custom subclasses of the standard UIKit views and controls.
This works great and allows for of a lot of easy features like different coloured themes or dark modes. The major downside right now is that none of the changes to the plist are reflected in Storyboards or Xib files.
Continue reading Controlling Interface Builder with Plists
Working with UICollectionView and the layout to layout transition makes it very easy to animate between two flow layouts with minimal work.
Continue reading Layout to Layout Transitions
After updating Trail Wallet to Swift 3, I started getting crash reports from devices still running iOS 8 and iOS 9. Unfortunately, they were super unhelpful crash reports like this:
Crashed: UIDocument File Access
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x000000005e30c493
Continue reading UIDocument and iOS 9
My new game, Barista!, is now available in the App Store!
Barista! is a fast-paced coffee creation game. Can you fulfil all of the orders and get to the end of the day before your Jim fires you?
Orders appear on the blackboard and you’ve got to get ’em made before the time runs out!
With four different types of drinks with various combinations of cups, espresso shots, and mixers, can you harness the power of caffeine to keep track of it all and survive the day or will the pressure grind you up like so many medium roasted beans?
* Four different drink combinations with up to 3 shots per drink to keep you on your toes!
* Bonus Busy Days where you can double your earnings—if you can keep on top of things!
* Up to four orders at once to really test your cool under fire!
* Many levels of coffee-making mayhem!
Created as part of my 100 Hour Game challenge, it ended up taking me around 160 hours to get it to finished product.
This is actually pretty good for me. Usually projects take 2–3 times longer. This only took 60% so…win!
I’m excited to finally get this out there. I’ve learned a lot during this process and I’m eager to take what I’ve learned and get going on my next game.
Barista! is available in the App Store.
Hours remaining: 79.
The young boy was walking
When the old man appeared
"Hey, you!" said the man
As he stroked his white beard.
"Now where do you travel?
To where do you head?
To the forest? The desert?
Or home to your bed?"
Continue reading 100 Hour Game—Day 3
Inspired by Pancake and Burger by Philipp Stollenmayer, I want to make and release a simple but well crafted iOS game in 100 hours.
The 100 hour deadline is part business—as this is unlikely to make any money, I probably shouldn’t spend that much time on it—and part creative—having a time constraint will force me to make faster decisions and to not second guess them.
Continue reading The 100 Hour Game