• 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 and setPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBrowser and setPath


  • Subject: NSBrowser and setPath
  • From: J Tichenor <email@hidden>
  • Date: Mon, 25 Oct 2004 12:36:18 +0100


I am still trying to figure out how to programmatically select a specific cell in my browser. I thought

- (BOOL)browser:(NSBrowser *)sender selectCellWithString:(NSString *)title inColumn:(int)column

was the answer. As far as I understand, it's called when you send -setPath to the browser instance.

Problem is -- the delegate method doesn't seem to be called. I have a NSLog at the head of the method and when I send my setPath message to my browser, that NSLog should trigger, which it doesn't. The docs don't mention that the delegate method is called in -setPath's method description, but do mention setPath in the delegate method's description. So many mixed messages... Archives have nothing on this, but it seems like such a normal thing to do -- add a new item to the browser and programmatically select the new item -- that it would be easier/clearer than this.

Any ideas?

~j~



James Tichenor
VFX Supervisor
AIM: email@hidden
(07779) 256 103
http://www.lehopictures.com/the_joint/


_______________________________________________
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: Unwanted scaled line width
  • Next by Date: Re: WebKit: Blanking the WebView
  • Previous by thread: Re: Unwanted scaled line width
  • Next by thread: Determining the size of a directory Part 2
  • Index(es):
    • Date
    • Thread