background preloader

Objc

Facebook Twitter

Construct an NSInvocation for any message, just by sending. NSInvocation is painful to construct This article appears to be the second in an ad hoc series I'm writing on Cocoa.

Construct an NSInvocation for any message, just by sending

If it is, then series title might be something like: Doing tricky things simply in Cocoa with one line of code. Google Objective-C Style Guide. Unlike C++, Objective-C doesn't have a way to differentiate between public and private methods—everything is public.

Google Objective-C Style Guide

As a result, avoid placing methods in the public API unless they are actually expected to be used by a consumer of the class. This helps reduce the likelihood they'll be called when you're not expecting it. Mac Daddy World. Cocotron Information.