Global Object
Global Object
- Subject: Global Object
- From: Tom Jones <email@hidden>
- Date: Thu, 26 Nov 2009 09:18:14 -0800 (PST)
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 (email@hidden)
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:
This email sent to email@hidden