I run across other people’s code — GitHub, StackOverflow, etc. — from time to time. One thing I often see is non-Cocoa-like abbreviations: txt for text, btn for button, lbl for label, and so on.

Cocoa style says to spell these things out. It’s worthwhile to check out Apple’s Coding Guidelines for Cocoa.

03 May 2014