🍫 CocoaPatterns — iOS & Mac Development Since 2009
RSS
🍫 CocoaPatterns
Because someone has to write this stuff down
"We ship apps. Sometimes they even work."
All Posts
Architecture
Process
Database
Personal
Architecture
Architecture
June 28, 2015
Enum-Driven Development with ReactiveEnum: Every Value Is a Signal, Every Signal Is an Enum
What if your entire application state was a single enum with 847 cases? What if each case emitted a reactive signal? What if I've already built this?
9 min
read →
Architecture
May 8, 2015
Single File Driven Development: One File. One Dream. 47,000 Lines.
File hierarchies are a crutch for people who can't hold an entire application in their head. We hold it in one file.
9 min
read →
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 →
Architecture
October 28, 2014
NSObject + Associated Objects: The Architecture Where Every Object Is Every Other Object
Why create new classes when you can just strap properties onto existing ones at runtime? NSObject is the only class you'll ever need.
10 min
read →
Architecture
October 12, 2014
Send Entire UIViews via Push Notification: Why Stop at Data?
We already proved you can ship binaries via APNS. Now we're shipping the UI itself. Pixel by pixel if we have to.
11 min
read →
Architecture
October 2, 2014
AppDelegate-Driven Development: One File to Rule Them All
Why distribute logic across dozens of files when one beautiful god-object can hold everything?
9 min
read →
Architecture
September 4, 2014
Swizzle-Driven Development: The Objective-C Architecture Pattern You Didn't Know You Needed
Move over MVC, MVVM, and VIPER. The future of iOS architecture is already baked into the runtime.
14 min
read →