I'm writing a Foundation tool and I want to create a global object which I can 
reference any where in my code. This is for logging, so I want to declare my 
logging object in my main method and use it in any of my classes.

I thought I could just create a Global variable but that does not work.

What do I need to do?

Thanks,
tom 
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to