Referencing to objects from anywhere in Cocoa

Posted by dave-gennel on Stack Overflow See other posts from Stack Overflow or by dave-gennel
Published on 2010-03-16T19:41:05Z Indexed on 2010/03/16 19:51 UTC
Read the original article Hit count: 231

Filed under:
|
|

What's the best way to reference to a dynamically allocated object (particularly interface elements) so I can access them from everywhere in the current class? @synthesize? declaring the object in the interface section? anything else?

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about reference