NSBlog
"A failure in the hot air department"
Showing entries tagged "design". Full blog index.
Friday Q&A 2013-12-06: Network Protocol Design
at 2013-12-06 13:29
In this age of REST and HTTP and massive inefficiency in internet communications, the need for custom network protocols is rare. However, it does happen sometimes, and when it does, I want to make sure it's done right. With that aim, I'm going to discuss some guidelines for designing network protocols, a topic suggested by Mike Shields.
Friday Q&A 2013-04-05: Windows and Window Controllers
at 2013-04-05 13:36
It's time to take a turn to some lighter fare, but to a subject that's near and dear to my heart. The fundamental UI component of a Cocoa app is the NSWindow, and there are many different ways to instantiate and manage them, but there is only one correct way: for each type of window, there should be a separate nib file, and a specialized
NSWindowController
subclass. I'll walk through what this means and how to do it, a topic suggested by reader Mike Shields.