Invoking a Callback Selector (Newbie question)
Invoking a Callback Selector (Newbie question)
- Subject: Invoking a Callback Selector (Newbie question)
- From: Mark Munz <email@hidden>
- Date: Sat, 31 Jan 2004 21:32:11 -0700
Hi guys,
I'm overriding the function
- (void)canCloseDocumentWithDelegate:(id)delegate
shouldCloseSelector:(SEL)shouldCloseSelector contextInfo:(void
*)contextInfo
If the document should be closed, I'm supposed to invoke the
shouldCloseSelector callback method with the signature:
- (void)document:(NSDocument *)doc shouldClose:(BOOL)shouldClose
contextInfo:(void *)contextInfo
This may be a simple question -- but I can't find any examples of
invoking a selector with three arguments. I've found examples of
(performSelector:withObject:withObject:). All the different approaches
I've tried have failed so far, so any help will be appreciated.
Thanks to anyone that can get me out of this brain dead moment..
Mark Munz
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.