• 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: Fri, 27 Jan 2006 13:20:09 -0800

Hamish Allan wrote:


On 26 Jan 2006, at 18:00, Andre wrote:

Yes, it now works correctly, even when used with the NSTreeController.
But should I have to subclass to get this right?

No, you shouldn't, it's a bug. (For more explanation see http:// www.cocoabuilder.com/archive/message/cocoa/2005/12/9/152238)
I see.

Please report this at http://bugreporter.apple.com/, and also file an enhancement request for IB to support custom cell placement in NSBrowser like it does in NSTableColumn!
I will.

By the way, I still can't get your code to work without a content array for the NSTreeController.
Hmm, Did you set it to entity mode or class mode? In class mode, its using NSDictionary so I just bind the NSBrowser to NSTreeController using the following:

Content: 			arrangedObjects
ContentValues: 		arrangedObjects.name
SelectionIndexPaths: 	selectionIndexPaths

I think the tree controller is set to prepare content too. The way its set up in the download is the bindings are all disconnected (which was my mistake).
It even works in IB using test mode, just click the + to add a peer and ◯ to add a child...


Best wishes,
Hamish


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


  • Follow-Ups:
    • Re: I think I have found a big bug in NSBrowser
      • From: Hamish Allan <email@hidden>
References: 
 >Re: I think I have found a big bug in NSBrowser (From: Hamish Allan <email@hidden>)
 >Re: I think I have found a big bug in NSBrowser (From: Andre <email@hidden>)
 >Re: I think I have found a big bug in NSBrowser (From: Hamish Allan <email@hidden>)

  • Prev by Date: Re: NSEnumerator
  • Next by Date: Showing a sheet right after a file was loaded
  • 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