• 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: re Boolean Predicates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: re Boolean Predicates


  • Subject: Re: re Boolean Predicates
  • From: Fritz Anderson <email@hidden>
  • Date: Mon, 1 Nov 2004 10:06:49 -0600

I believe you mean

	[invoc setSelector: aPred];
	[invoc invokeWithTarget: object];
	[invoc getReturnValue: &returnValue];

	-- F

On 31 Oct 2004, at 8:44 AM, Nick Zitzmann wrote:

BOOL returnValue;
NSInvocation *invoc = [NSInvocation invocationWithMethodSignature:[object methodSignatureForSelector:aPred]];


[invoc setSelector:aPred];
[invoc setReturnValue:&returnValue];
[invoc invokeWithTarget:object];

 --
Fritz Anderson
Consulting Programmer				Chicago, Illinois
http://resume.manoverboard.org/

_______________________________________________
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


  • Prev by Date: Re: Arranging Windows [Newbie]
  • Next by Date: why no autosave for NSSplitView?
  • Previous by thread: Re: Arranging Windows [Newbie]
  • Next by thread: why no autosave for NSSplitView?
  • Index(es):
    • Date
    • Thread