🍫 CocoaPatterns — iOS & Mac Development Since 2009 RSS
🍫 CocoaPatterns
Because someone has to write this stuff down
"We ship apps. Sometimes they even work."
Architecture March 5, 2015
Store App State on the App Icon Badge: A Production Architecture
4 billion bytes of iCloud storage and we're using a single integer visible on the home screen.
6 min
read →
Database March 5, 2015
Store User Data as a Photo and Upload It to Google Photos: Unlimited Storage, Zero Accountability
Google Photos offers free unlimited storage for photos. A PNG is just bytes. Your database is just bytes. I think you see where this is going.
9 min
read →
Database February 22, 2015
VimDB: The Database You Exit When You're Done Querying
All operations are modal. Reads happen in NORMAL mode. Writes happen in INSERT mode. Deletes happen when you press dd on the wrong line.
10 min
read →
Process February 20, 2015
Chess Clock Pair Programming: Accountability in 10-Minute Increments
Regular pair programming has no time pressure. That's the problem.
7 min
read →
Architecture February 5, 2015
Mobile Device Distributed Database: Your Users' Phones Are Your Server Farm
Why pay for AWS when your app has 50,000 active installs? That's 50,000 nodes in a distributed database cluster. They just don't know it yet.
10 min
read →
Process February 2, 2015
Panic-Driven Development: Ship It When the Dread Is High Enough
Why use a sprint cadence when the human adrenal system provides a perfectly good scheduler?
6 min
read →
Process January 28, 2015
Insult-Driven Development: Code Review as Performance Art
Shame-Driven Development was too subtle. We've removed the subtext.
8 min
read →
Process January 15, 2015
Violence-Driven Development: A Theoretical Framework
We are not advocating for this. This is a thought experiment. (The productivity numbers are compelling.)
5 min
read →