Re: Finding the path of selected item in NSOutlineView

2009-02-28 Thread Andrew Yeaton
This might help you: http://www.wilshipley.com/blog/2006/04/pimp-my-code-part-10-whining-about.html On Feb 27, 2009, at 11:24 PM, Ankur Singhal wrote: Hi All, I am facing a problem in finding the path of the selected item from NSOutlineView. Can any one help me out in solving this problem

Re: NSSplitView splitViewDidResizeSubviews

2009-02-28 Thread Andrew Yeaton
This is normal behaviour. Generally you want to handle "live resizing", and these notifications allow for that. "splitViewWillResizeSubviews" happens before the actual resize happens and "splitViewDidResizeSubviews" happens after. I'll defer to someone else to answer your other question. O

Live resizing NSTableView causes ghosting/nastiness in custom drawn NSTextFieldCell

2009-02-28 Thread Andrew Yeaton
I have a custom subclass of an NSTextFieldCell that draws a right- aligned "badge" (like Mail.app's unread count). The column that uses the custom cell autoresizes with the width of the NSTableView (which resizes with the window). The problem: When the width of the column expands quickly, t