MKAnnotationViews and AutoLayout

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 →

Controlling Interface Builder with Plists

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 →

Barista! Now Available!

An illustration of a Barista having trouble keeping up. Coffee is spilling everywhere.

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.

Button to Download Barista! On The App Store

100 Hour Game—Day 6

Hours Remaining: 60

After the excitement of working on a text adventure game engine, I’ve gone back to Barista while I wait for me and Mike’s schedules to line up and today I have mostly been thinking about: data structures!

Hold on, things are about to get craaaazy.

Continue Reading →

100 Hour Game—Day 3

Hours remaining: 79.

The Name

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 →

The 100 Hour Game

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 →