Re: NSBrowser simple question
Re: NSBrowser simple question
- Subject: Re: NSBrowser simple question
- From: Neil Earnshaw <email@hidden>
- Date: Thu, 21 Aug 2003 14:02:13 +0100
Does the delegate's method signature match? Have you accidentally
typed -(void)browser... instead of -(BOOL)browser...?
If the signatures don't match, the browser will think the delegate
doesn't implement the method and won't try to call it.
-Neil
On Wednesday, August 20, 2003, at 12:54 PM, Stiphane Sudre wrote:
It's the first time I'm using the NSBrowser class and I'm wondering if
the delegate mechanism is working for the following method:
- (BOOL)browser:(NSBrowser *)sender selectRow:(int)row
inColumn:(int)column;
because the others are working fine but this one never gets called
(the other similar method with selectString... does not work either
for me)
A look at the SimpleBrowser sample code didn't help since this method
is not used.
A look at the Cocoa in a NutShell didn't help since it's just a
printed version of the headers
A look at the Cocoa documentation didn't help since it's said to be
working.
And finally the Cocoa Programming Topic: Browsers didn't help because
it does not deal with this method.
Any suggestion?
_______________________________________________
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.
Neil Earnshaw
Consultant Software Engineer
Object Software Engineers Ltd
email@hidden
Tel : 01747 854 852
Mbl : 07870 209 102
_______________________________________________
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.