• 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: I think I have found a big bug in NSBrowser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I think I have found a big bug in NSBrowser


  • Subject: Re: I think I have found a big bug in NSBrowser
  • From: Andre <email@hidden>
  • Date: Thu, 26 Jan 2006 10:08:38 -0800

Andy Armstrong wrote:

On 26 Jan 2006, at 03:03, email@hidden wrote:
It works fine, but disconnect the delegate, and establish the bindings to the NSTreeController then somethings wrong....

Can you tell us /what/ goes wrong - that might be a start :)
Yea, sorry if I wasn't too clear, the NSBrowser then does not in all cases use my custom cell class.
Here is a screen shot : http://homepage.mac.com/son_gohan/pic3.png
It seems the earlier one calls [Browser setCellClass:] the better. If its too late, in the case of it being bound to NSTreeController,
it seems it doesn't listen anymore to the -setCellClass method.


Seems like the wrong bahavior?
It doesn't seem the docs say "You need to make sure to call - setCellClass as early as possible"
I know NSControll has this behavior, but NSBrowser seems to do something similar.


I'm guessing the individual NSMatricies that make up the columns, don't get refreshed with the new Cell Class after setting it in the browser.
That would seem to explain why the first row is NSBrowserCells and the second is my using CustomCell....


--
Andy Armstrong, hexten.net


Thanks.

Andre
email@hidden



_______________________________________________
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


References: 
 >I think I have found a big bug in NSBrowser (From: email@hidden)
 >Re: I think I have found a big bug in NSBrowser (From: Andy Armstrong <email@hidden>)

  • Prev by Date: Re: Bindings or datasource for a large NSTableView
  • Next by Date: Re: Are there any NSUserDefaults keys which aren't valid?
  • Previous by thread: Re: I think I have found a big bug in NSBrowser
  • Next by thread: Re: I think I have found a big bug in NSBrowser
  • Index(es):
    • Date
    • Thread