• 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
NSBrowser's selectRow: inColumn: delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBrowser's selectRow: inColumn: delegate


  • Subject: NSBrowser's selectRow: inColumn: delegate
  • From: "Andrew Cooper" <email@hidden>
  • Date: Tue, 30 May 2006 22:34:04 -0500

i've seen brief mention of this in places, but are there known issues with the
  - (BOOL) browser:(NSBrowser *)sender selectRow:(int)row inColumn:(int)column
delegate method for NSBrowser?

I currently have this implementation in my delegate class (content
edited for length):
- (BOOL)browser:(NSBrowser *)sender selectRow:(int)row inColumn:(int)column
{
	NSLog(@"Selecting row %d and col %d",row,column);
	return YES;
}

This method never prints anything and none of the other logic in the
real implementation ever happens, so it doesn't seem like the method
is being called as it should.

I also have the following delegate methods implemented, all of which do work:
- (void)browser:(NSBrowser *)browser willDisplayCell:(id)cell
atRow:(int)row column:(int)col
- (int)browser:(NSBrowser *)browser numberOfRowsInColumn:(int)col
- (NSString *)browser:(NSBrowser *)sender titleOfColumn:(int)col

Hopefully there's nothing obvious in this that i'm missing, as I've
been beating my head over this all day.

- Andrew Cooper -
_______________________________________________
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


  • Follow-Ups:
    • Re: NSBrowser's selectRow: inColumn: delegate
      • From: Andrew Cooper <email@hidden>
  • Prev by Date: How to use NSTextAttachments and get word wrap around images?
  • Next by Date: DADiskEject and Resource Busy errors
  • Previous by thread: How to use NSTextAttachments and get word wrap around images?
  • Next by thread: Re: NSBrowser's selectRow: inColumn: delegate
  • Index(es):
    • Date
    • Thread