• 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: Quick Question: Can't alloc an NSInvocation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quick Question: Can't alloc an NSInvocation?


  • Subject: Re: Quick Question: Can't alloc an NSInvocation?
  • From: Andrew Farmer <email@hidden>
  • Date: Thu, 8 Sep 2005 21:50:06 -0700

On 08 Sep 05, at 16:49, Jerry Krinock wrote:
What's up with this? NSInvocation is a subclass of NSObject. Why can't I
allocate one?

Because NSInvocation uses a different allocation method. Read the docs...


+ (NSInvocation *)invocationWithMethodSignature:(NSMethodSignature *) signature

Returns an NSInvocation object able to construct messages using selectors described by signature. The new object must have its selector set with setSelector: and its arguments set with setArgument:atIndex: before it can be invoked.

Attachment: PGP.sig
Description: This is a digitally signed message part

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Quick Question: Can't alloc an NSInvocation? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Visual themes (Probably wrong list)
  • Next by Date: Re: Detecting memory leaks
  • Previous by thread: Re: Quick Question: Can't alloc an NSInvocation?
  • Next by thread: Contextual menu click in window title
  • Index(es):
    • Date
    • Thread