Re: Typeing
Re: Typeing
- Subject: Re: Typeing
- From: David Remahl <email@hidden>
- Date: Wed, 27 Jun 2001 11:51:39 +0200
So, how do I statically type [NSApp delegate] so that the compiler
understands what I am trying to do?
No need for static typing - you need to let the compiler know the
declaration for the '-arrayOfObjects' method. Probably easiest by
including the header file for the class of your application delegate.
Oh yeahThanks! I thought it should allow me to send any message to id,
but it was smart enough to note that such a method wasn't declared
anywhere (in its visibility range anyway). Thanks again.
/ david
References: | |
| >Re: Typeing (From: Christian Brunschen <email@hidden>) |