Weird NSInvocationOperation init behavior

2008-05-31 Thread Markus Spoettl
Hello List, I just came across a strange thing with initializing an NSInvocationOperation object that I wanted to share and see if this is a bug in either the docs or the framework: I had this NSInvocationOperation *theOp = [[NSInvocationOperation alloc]

Re: Weird NSInvocationOperation init behavior

2008-05-31 Thread Michael Vannorsdel
If you method is something like: - (void)func1 then you should use @selector(func1) without the colon. On May 31, 2008, at 2:06 AM, Markus Spoettl wrote: NSInvocationOperation *theOp = [[NSInvocationOperation alloc] initWithTarget:self

Re: Weird NSInvocationOperation init behavior

2008-05-31 Thread Markus Spoettl
On May 31, 2008, at 1:19 AM, Michael Vannorsdel wrote: If you method is something like: - (void)func1 then you should use @selector(func1) without the colon. Indeed. Thank you. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME