• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Typeing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Drag and drop problems!
  • Next by Date: Web Browser Control ?
  • Previous by thread: Re: Typeing
  • Next by thread: Re: Typeing
  • Index(es):
    • Date
    • Thread