Thanks,
I found this (http://codeendeavor.com/archives/535) nice wrapper for ASL and I
wanted to see how I could incorporate it in to my app. Since this is a
foundation tool I wanted to init it in my "myTestApp.m" main function, and be
able to call "[log info:@"Log Stuff"];" in any of my classes
On Nov 26, 2009, at 9:18 AM, Tom Jones wrote:
> I thought I could just create a Global variable but that does not work.
Did you make it a pointer? You can't directly declare instances of any Cocoa
classes, only pointers to them.
So
MyCocoaClass gFoo;
is a syntax error, while
My
On 26 Nov 2009, at 17:23, Sean McBride wrote:
> On 11/26/09 9:18 AM, Tom Jones said:
>
>> I thought I could just create a Global variable but that does not work.
>
> It should.
>
>> What do I need to do?
>
> Post code.
And explain how "that does not work". e.g. Compiler error? Nothing happe
On 11/26/09 9:18 AM, Tom Jones said:
>I thought I could just create a Global variable but that does not work.
It should.
>What do I need to do?
Post code.
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Research
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