Re: Core Data, OutlineView, TreeController

2016-05-23 Thread Quincey Morris
On May 23, 2016, at 11:16 , Raimond Hettrich wrote: > > I have the following problem with the constellation > coreData-treeController-outlineView. Well, you keep asking, and you keep getting no answer, because no one on this list knows the answer — the problem domain is too larg

Core Data, OutlineView, TreeController

2016-05-23 Thread Raimond Hettrich
Hallo all, I´m new in objective-c coding and I have the following problem with the constellation coreData-treeController-outlineView. I’ve got an view based outlineView which shows an hierarchical tree. I can add a new row with the default values of my entities attributes. I can add new

TreeController, OutlineView, CoreData

2016-05-22 Thread Raimond Hettrich
Hallo All, I have a view-based OutlineView with one column bound to an TreeController (arrangedObjects) and the TableViewCell bound to objectValue.name. The TreeController is bound to the managedObjectContext. Nearly everything is fine. With the Add-Button a new line will be added with the

Re: OutlineView shouldSelectItem Being Called Twice

2013-06-05 Thread Graham Cox
On 06/06/2013, at 5:01 AM, Chris Tracewell wrote: > Thanks for the reply. This OV is acting as a master for a detail view that > must be saved before the selection changes if it's dirty. Is there another > method to intercept the OV row click before selection actually changes > wherein I can

Re: OutlineView shouldSelectItem Being Called Twice

2013-06-05 Thread Chris Tracewell
Thanks for the reply. This OV is acting as a master for a detail view that must be saved before the selection changes if it's dirty. Is there another method to intercept the OV row click before selection actually changes wherein I can validate and present an NSAlert for save,cancel,discard optio

Re: OutlineView shouldSelectItem Being Called Twice

2013-06-04 Thread Graham Cox
On 05/06/2013, at 11:56 AM, Chris Tracewell wrote: > Is this normal behavior? Thanks for the help. Probably. This method should just answer the question, not attempt to interrupt things by showing an alert etc. You'll need to put that functionality elsewhere. --Graham _

OutlineView shouldSelectItem Being Called Twice

2013-06-04 Thread Chris Tracewell
I've got a view controller set up as the delegate for an outlineView. The view controller implements the -(BOOL)outlineView:(NSOutlineView *)outlineView shouldSelectItem:(id)item delegate method. I show an alert and return NO if the user has not saved some changes or return YES if all is

Source List type OutlineView and bindings.

2012-08-22 Thread Kevin Bracey
rmation into the cell via OutlineView delegate calls. I'm guessing, the question is... Do I get the cells from the Source List and load it using the delegate methods, similar to the example, or can the nodeText be bound directly. Does anyone know where to find an example of using the "

Re: OutlineView Expand Animation

2011-10-17 Thread Corbin Dunn
Hi Leonardo, On Oct 17, 2011, at 11:15 AM, Leonardo wrote: > Hi, > I am developing a timeline interface. I have a splitView with 2 views. > The left one contains an outlineView displaying the name of the tracks. > The right one contains a simple view containings a blue rectangle

OutlineView Expand Animation

2011-10-17 Thread Leonardo
Hi, I am developing a timeline interface. I have a splitView with 2 views. The left one contains an outlineView displaying the name of the tracks. The right one contains a simple view containings a blue rectangle (the track) that can be dragged horizontally by the user. Before Lion I used to

Re: OutlineView, drop between rows?

2011-09-10 Thread John Velman
Well, this isn't the first time I've felt stupid. I had thought it should work that way, but I wasn't dragging _far_enough_ to the left. Thanks for setting me straight! John V. On Sat, Sep 10, 2011 at 08:00:30PM -0700, Jerry Krinock wrote: > > On 2011 Sep 10, at 16:28, John Velman wrote: > >

Re: OutlineView, drop between rows?

2011-09-10 Thread Jerry Krinock
On 2011 Sep 10, at 16:28, John Velman wrote: > In principle, I could change the target in outlineView:validateDrop… but the > built in "line with circle on the left end" would still indicate it was > dropping on a child. No, the "line with circle on the left end" indicates that the user is dro

OutlineView, drop between rows?

2011-09-10 Thread John Velman
OSX, using Xcode 4. In my outline view drag and drop I'd like to be able to drop between rows (at any level). This only seems possible if the item on the row above has no children. I have a custom container tree node in my model, with bindings via an NSTreeController. I've implemented a data sou

NSDatePickerCell in TableView/OutlineView

2011-09-06 Thread Half Activist
Hi, I'm starting using a nsdatepickercell in an outlineview, but cannot edit the values. The column is editable though, and my delegate returns YES for outlineView:(NSOutlineView *)outlineView shouldEditTableColumn:(NSTableColumn *)tableColumn item:(id)item. I&#x

Re: OutlineView with big text editor [SOLVED]

2010-11-28 Thread Leonardo
ggetto: Re: OutlineView with big text editor On 27.11.2010, at 15:43, gMail.com <http://gMail.com> wrote: > Hi, I have set a custom cell showing icon + text on my outlineView column. > It works well, but whenever I double click on the row to edit the text, I > get a text field ed

Re: OutlineView with big text editor

2010-11-28 Thread Leonardo
+0100 A: "gMail.com" Cc: Oggetto: Re: OutlineView with big text editor On 27.11.2010, at 15:43, gMail.com <http://gMail.com> wrote: > Hi, I have set a custom cell showing icon + text on my outlineView column. > It works well, but whenever I double click on the row to ed

Re: OutlineView with big text editor

2010-11-27 Thread Patrick Mau
On 27.11.2010, at 15:43, gMail.com wrote: > Hi, I have set a custom cell showing icon + text on my outlineView column. > It works well, but whenever I double click on the row to edit the text, I > get a text field editor bigger than the cell itself and covering the left > icon. Ho

OutlineView with big text editor

2010-11-27 Thread gMail.com
Hi, I have set a custom cell showing icon + text on my outlineView column. It works well, but whenever I double click on the row to edit the text, I get a text field editor bigger than the cell itself and covering the left icon. How can I make this text field editor fit the cell bounds and not

Re: OutlineView Wierdness - 'item' not being stored.

2010-05-26 Thread Pascal Harris
Thanks for this - I've done as you suggested and it works fine. Serves me right for attempting to learn from examples on the web ;) On Wed, May 26, 2010 at 1:27 PM, Graham Cox wrote: > > On 26/05/2010, at 10:12 PM, Pascal Harris wrote: > > > - (id)outlineView:(NSOutli

Re: OutlineView Wierdness - 'item' not being stored.

2010-05-26 Thread Graham Cox
On 26/05/2010, at 10:12 PM, Pascal Harris wrote: > - (id)outlineView:(NSOutlineView *)outlineView > objectValueForTableColumn:(NSTableColumn *)tableColumn byItem:(id)item > { >if ([[[tableColumn headerCell] stringValue] compare:@"Key"] == > NSOrderedSame) >

OutlineView Wierdness - 'item' not being stored.

2010-05-26 Thread Pascal Harris
I'm trying to populate an OutlineView. I've had success in the past but now, apparently, I'm unable to do it! Looking at this code: - (id)outlineView:(NSOutlineView *)outlineView child:(int)index ofItem:(id)item { if (item == nil) { [mailListDict writeToFil

Re: Best way to selectively show objects in a tree controller/outlineview

2010-03-31 Thread Tony Romano
Thanks Joanna, my data is not Core Data and I haven't had the opportunity to use it much. I did some research and it is definitely on my list of things to learn. Not sure why NSTreeController does not support predicate filters... Funny, Finder has a hidden preference to show or hide hidden fil

Re: Best way to selectively show objects in a tree controller/outlineview

2010-03-31 Thread Joanna Carter
Hi Tony > Based on a user preference, I want to be able to selectively show/not show > items contained in the tree controller by an outline view. For example, > suppose the tree controller has these items: A,B,C,D,D,E,F,G,H. The outline > view will normally display all of the items. Now suppo

Re: Best way to selectively show objects in a tree controller/outlineview

2010-03-31 Thread Tony Romano
After some research, NSTreeController does not support predicates. subclass'ing looks like the way to go. I'll look into to-many properties as well. Thanks so much! -tony On Mar 30, 2010, at 8:51 PM, Kyle Sluder wrote: > On Tue, Mar 30, 2010 at 8:35 PM, Tony Romano wrote: >> One obvious me

Re: Best way to selectively show objects in a tree controller/outlineview

2010-03-30 Thread Kyle Sluder
On Tue, Mar 30, 2010 at 8:35 PM, Tony Romano wrote: > One obvious method(albeit brute force) is to rebuild the tree controller list > and redisplay it.  For what I want to do, this is way too expensive of an > operation.  In addition, the user can toggle back and forth the preference.   > There

Best way to selectively show objects in a tree controller/outlineview

2010-03-30 Thread Tony Romano
Based on a user preference, I want to be able to selectively show/not show items contained in the tree controller by an outline view. For example, suppose the tree controller has these items: A,B,C,D,D,E,F,G,H. The outline view will normally display all of the items. Now suppose the user sets

Re: Outlineview ParentObject

2010-02-04 Thread Jens Alfke
On Feb 4, 2010, at 2:47 AM, Poonam Virupaxi Shigihalli wrote: parentObject = [outlineview parentObject:item]; //Here it always returns Groups2 even though i want to remove from Group1 one, since cocoa is a duplicate entry(Same memory location). You can't have the same item in two p

Re: Outlineview ParentObject

2010-02-04 Thread Graham Cox
On 04/02/2010, at 9:47 PM, Poonam Virupaxi Shigihalli wrote: > parentObject = [outlineview parentObject:item]; //Here it always returns > Groups2 even though i want to remove from Group1 one, since cocoa is a > duplicate entry(Same memory location). > > [parentObject re

RE: Outlineview ParentObject

2010-02-04 Thread Poonam Virupaxi Shigihalli
Dear All, NSOutlineView displays as follows: Group1 ---Cocoa ---Mac Group2 Cocoa Macbook Cocoa is a duplicate entry present in two groups also. I have rightmousedown action for outlineview. when the user right clicks on any of the group items. i has the following operations

Re: NSTreeController/OutlineView w/CoreData & Bindings & multiple selection?

2010-01-04 Thread Rick Mann
On Jan 4, 2010, at 06:21:47, Sean McBride wrote: > Rick Mann (rm...@latencyzero.com) on 2010-01-04 4:08 AM said: > >> I have an NSTreeController and outline view displaying a hierarchy of >> Group objects. This works fine. The NSTreeController is bound to the >> managed object context, and uses

Re: NSTreeController/OutlineView w/CoreData & Bindings & multiple selection?

2010-01-04 Thread Sean McBride
Rick Mann (rm...@latencyzero.com) on 2010-01-04 4:08 AM said: >I have an NSTreeController and outline view displaying a hierarchy of >Group objects. This works fine. The NSTreeController is bound to the >managed object context, and uses a fetch predicate of "parent == nil". > >It won't let me sele

NSTreeController/OutlineView w/CoreData & Bindings & multiple selection?

2010-01-04 Thread Rick Mann
I have an NSTreeController and outline view displaying a hierarchy of Group objects. This works fine. The NSTreeController is bound to the managed object context, and uses a fetch predicate of "parent == nil". It won't let me select more than one row. Is it simply not possible to do so? TIA, Ri

Re: Reg: outlineView dataSource method outlineView:child:ofItem:

2009-09-17 Thread Corbin Dunn
It should ask for a particular child just once, but that is an implementation detail. You should always return the same item, and not a new item. It sounds like you expect the outlineview to retain the objects; however, it does not. You have to manage them in an array (or dictionary

Reg: outlineView dataSource method outlineView:child:ofItem:

2009-09-17 Thread Sravanthi
Hi, I am using outline view to display a set of entities, here my problem is outlineView:child:ofItem: method is getting called more than once for an item of index X of a particular parent. As each call to outlineView:child:ofItem: is returns a new child with different address, in further

Re: Pointing OutlineView to a folder on the Desktop

2009-03-19 Thread David Yamartino
to change. The > code below is the controller object, and is simply controlling the view. > > .corbin > > > On Mar 18, 2009, at 4:19 AM, David Yamartino wrote: > > Below is the code for "OutlineView" (on your machine in >> Developer/Examples/AppKit/OutlineV

Pointing OutlineView to a folder on the Desktop

2009-03-19 Thread David Yamartino
Below is the code for "OutlineView" (on your machine in Developer/Examples/AppKit/OutlineView). It presents an expandable view of everything on your machine from / (root). How would I point this app to look at a specific folder (say "Library") located on the desktop? I&

Re: Pointing OutlineView to a folder on the Desktop

2009-03-19 Thread Corbin Dunn
Below is the code for "OutlineView" (on your machine in Developer/Examples/AppKit/OutlineView). It presents an expandable view of everything on your machine from / (root). How would I point this app to look at a specific folder (say "Library") located on the desktop?

Pointing OutlineView to a folder on the Desktop

2009-03-19 Thread David Yamartino
Below is the code for "OutlineView" (on your machine in Developer/Examples/AppKit/OutlineView). It presents an expandable view of everything on your machine from / (root). How would I point this app to look at a specific folder (say "Library") located on the desktop? I&#

Re: OutlineView with custom TableColumn cell doesn't redisplay when losing focus

2009-02-27 Thread Corbin Dunn
On Feb 27, 2009, at 9:18 AM, Jerry Krinock wrote: On 2009 Feb 26, at 23:39, Stuart Malin wrote: BOOL isViewInFocus = self controlView] window] firstResponder] isEqual:[self controlView]]; Is there perhaps a better way to determine if a view is "key" ? No, but I believe you should al

Re: OutlineView with custom TableColumn cell doesn't redisplay when losing focus

2009-02-27 Thread Jerry Krinock
On 2009 Feb 26, at 23:39, Stuart Malin wrote: BOOL isViewInFocus = self controlView] window] firstResponder] isEqual:[self controlView]]; Is there perhaps a better way to determine if a view is "key" ? No, but I believe you should also check that the control view's window -isKeyWindo

Re: OutlineView with custom TableColumn cell doesn't redisplay when losing focus

2009-02-27 Thread Kyle Sluder
Well "focus" does have a meaning (see -[NSView lockFocus]), but I figured you didn't mean that here. It sounds like you want to subclass NSOutlineView and override -resignFirstResponder. --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.c

Re: OutlineView with custom TableColumn cell doesn't redisplay when losing focus

2009-02-26 Thread Stuart Malin
Is there perhaps a better way to determine if a view is "key" ? ~~~ What my post concerned is that when some other view becomes key from the OutlineView having been key, the OV delegate receives a outlineView:willDisplayCell:forTableColumn:item: message -- but only for an item t

Re: OutlineView with custom TableColumn cell doesn't redisplay when losing focus

2009-02-26 Thread Kyle Sluder
What is "focus"? Do you mean when the outline view becomes key, or when the window becomes key, or something else? --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: OutlineView with custom TableColumn cell doesn't redisplay when losing focus

2009-02-26 Thread Corbin Dunn
o a TableColumn of an OutlineView. My delegate for the OV implements willDisplay:cell: I need to redisplay all cells when the OV loses or gains focus, but this method seems only to be called for the highlighted row. Is there some property I need to activate for the OV so that all visible

OutlineView with custom TableColumn cell doesn't redisplay when losing focus

2009-02-26 Thread Stuart Malin
I have a custom cell attached to a TableColumn of an OutlineView. My delegate for the OV implements willDisplay:cell: I need to redisplay all cells when the OV loses or gains focus, but this method seems only to be called for the highlighted row. Is there some property I need to activate

Binding an OutlineView and/or its TableColumn to a TreeController

2009-02-24 Thread Stuart Malin
I have a data model that is bound to a TreeController. The TreeController manages an OutlineView. When I first implemented this, I bound the TableColumn backing the OutlineView to the TreeController (the TableColumn's Value property to the TreeController's arrangedObjects with a

Re: Drawing a badge in an OutlineView column cell: but width changes on expanding

2009-02-24 Thread Stuart Malin
On Feb 24, 2009, at 11:48 AM, Corbin Dunn wrote: I've just published a blog that has screen shots of these states: http://stuartmalin.blogspot.com/2009/02/troubles-with-cocoa-custom.html Your table column's width is changing automatically (because you have setAutoresizesOutlineColumn:YES),

Re: Drawing a badge in an OutlineView column cell: but width changes on expanding

2009-02-24 Thread Corbin Dunn
I've just published a blog that has screen shots of these states: http://stuartmalin.blogspot.com/2009/02/troubles-with-cocoa- custom.html Your table column's width is changing automatically (because you have setAutoresizesOutlineColumn:YES), but your view is set to not show horizontal s

Re: Drawing a badge in an OutlineView column cell: but width changes on expanding

2009-02-24 Thread Stuart Malin
the borders for all cells (level 0 and level 1) are no longer visible on the right side. c) the OutlineView is in a splitter. If I move the splitter to expand the outline view's width, when I release, the right side of the cell borders are all visible (both level 0 and level 1 items), and a

Re: Drawing a badge in an OutlineView column cell: but width changes on expanding

2009-02-24 Thread Corbin Dunn
On Feb 24, 2009, at 12:38 PM, Stuart Malin wrote: I have been reading various blogs, tried to search CocoaBuilder, and have ben looking at the code in Apple's PhotoSearch sample, but am not clear about the best way to handle this situation: I have an NSOutlineView for which I have set a cu

Drawing a badge in an OutlineView column cell: but width changes on expanding

2009-02-24 Thread Stuart Malin
I have been reading various blogs, tried to search CocoaBuilder, and have ben looking at the code in Apple's PhotoSearch sample, but am not clear about the best way to handle this situation: I have an NSOutlineView for which I have set a custom cell (sub class of NSTextViewCell) in order to

Inserting node in an OutlineView bound to a TreeController and preserve expanded items

2009-02-10 Thread Olivier Lance
seen on the left in a single-column NSOutlineView, while the files display on the right in an NSTableView. I use bindings with an NSTreeController as a data source for my OutlineView, as follows : • OutlineView.content = bound to => TreeController.arrangedObjects and • Tree

Inserting node in an OutlineView bound to a TreeController and preserve expanded items

2009-02-10 Thread Olivier Lance
r as a data source for my OutlineView, as follows : • OutlineView.content = bound to => TreeController.arrangedObjects and • TreeController.contentArray = bound to => ImportModule.currentPlugin.children Just to be clear about the latter, "ImportModule" is an object

Re: CoreData with OutlineView collapses items on fetch

2009-01-13 Thread peter ljunglöf
The only solution I can see is to go through all items in the OutlineView and record which of them are expanded or not, and record the curent selection. Then call [TreeController fetch], and then go through the items again, reexpanding and reselecting if necessary. This means that using CoreDat

Re: CoreData with OutlineView collapses items on fetch

2009-01-13 Thread Ron Lue-Sang
Hi Peter, I only skimmed through your description/question, but I'm reasonable sure I know what you're asking and what the answer is. The outlineView identifies its items by pointer comparison. So two objects that are logically the same can show up in the tree together, but the

CoreData with OutlineView collapses items on fetch

2009-01-13 Thread peter ljunglöf
Hi, After upgrading to 10.5.6, I got a problem with NSOutlineView and NSTreeController in my CoreData application. When executing fetch: on the NSTreeController, deeply nested items (nesting level>=2) collapses in the NSOutlineView. I created a minimal XCode project with the same problem,

Re: Display Mail type outlineView numbers

2009-01-06 Thread Sandy McGuffog
You're probably going to have to display an image in an outlineview cell. Start by looking at ImageAndTextCell in the DragNDropOutlineView Developer example The alternative is to place NSAttributedStrings that have images imbedded in the outlineview. But I could never get the formatti

Re: Display Mail type outlineView numbers

2009-01-06 Thread Volker in Lists
entries in an outlineView group. Documentation? Thanks. I'm not sure what to search for ... ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-a

Display Mail type outlineView numbers

2009-01-05 Thread vince
Thanks for the help. I would like to display the small blue circle and associated numbers that refer to the amount of entries in an outlineView group. Documentation? Thanks. I'm not sure what to search for ... v. ___ Cocoa-dev mailing list (Coco

Re: OutlineView, bindings and array of NSDictionaries.

2008-11-17 Thread Sandro Noel
Thank you Quincey, Very nice explanation i'll adjust my code. Sandro Noel. On 17-Nov-08, at 6:45 PM, Quincey Morris wrote: On Nov 17, 2008, at 13:51, Sandro Noel wrote: I cant seem to get my data to display properly in the Outline View, and i am sure it is because of the organisation of my

Re: OutlineView, bindings and array of NSDictionaries.

2008-11-17 Thread Quincey Morris
On Nov 17, 2008, at 13:51, Sandro Noel wrote: I cant seem to get my data to display properly in the Outline View, and i am sure it is because of the organisation of my data See here: http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSTreeController_Cla

OutlineView, bindings and array of NSDictionaries.

2008-11-17 Thread Sandro Noel
Greetings! Once again, I am faced with a problem :) I cant seem to get my data to display properly in the Outline View, and i am sure it is because of the organisation of my data that it does not display so I'm asking you guy's to sugest some ideas. I have an array of Dictionaries the dict

Re: Finder Eject Button in OutlineView

2008-09-04 Thread kiran Sanka
ove in a particular cell of an outlineView I'd be grateful is someone could push me in the right direction. Sure, http://developer.apple.com/samplecode/PhotoSearch/index.html -corbin kiran Sanka ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple

Re: Finder Eject Button in OutlineView

2008-09-02 Thread Corbin Dunn
w:inView]; } But when mouse roll over to discEjectImage i would like set another image like finder EjectImage.But i dont know how to work out with mouseEntered and mouseMove in a particular cell of an outlineView I'd be grateful is someone could push me in the right direction.

Finder Eject Button in OutlineView

2008-09-01 Thread kiran Sanka
i would like set another image like finder EjectImage.But i dont know how to work out with mouseEntered and mouseMove in a particular cell of an outlineView I'd be grateful is someone could push me in the right direction. kiran Sanka ___ Coco

Re: Duplicate rows appearing in outlineview after creating new Entity in moc, why?

2008-07-22 Thread Sean McBride
On 7/17/08 3:58 PM, Jonathan Dann said: >Yeah come to think of it I saw this behaviour when adopting the >mediator pattern in my app. In the NSPersistentDoc tutorial you can >create a Dept. object just using NSObjectController, then bind your >array contorller's contentSet binding to the object c

Re: Duplicate rows appearing in outlineview after creating new Entity in moc, why?

2008-07-17 Thread Jonathan Dann
ww.rogue-research.com/vtk/TreeTest.zip> It's a master-detail interface. The master is a tableview/ arraycontroller on the left, the detail is an outlineview/ treecontroller on the right. The treecontroller's 'contentSet' binding is bound to 'arrayController.selection.

Re: Duplicate rows appearing in outlineview after creating new Entity in moc, why?

2008-07-16 Thread Sean McBride
to illustrate: <http://www.rogue-research.com/vtk/TreeTest.zip> It's a master-detail interface. The master is a tableview/ arraycontroller on the left, the detail is an outlineview/treecontroller on the right. The treecontroller's 'contentSet' binding is bound to 'array

Re: Duplicate rows appearing in outlineview after creating new Entity in moc, why?

2008-07-16 Thread Jonathan Dann
data and non- core data apps. http://espresso-served-here.com HTH Jon On 15 Jul 2008, at 22:59, "Sean McBride" <[EMAIL PROTECTED]> wrote: Hi all, I have an outlineview populated by binding to a treecontroller. It displays CoreData entities of type "Person&

Duplicate rows appearing in outlineview after creating new Entity in moc, why?

2008-07-15 Thread Sean McBride
Hi all, I have an outlineview populated by binding to a treecontroller. It displays CoreData entities of type "Person". "Person" has 'parent' and 'children' relationships. Displaying everything works fine. Now the outlineview must support dro

Re: ButtonCell with Text in OutlineView

2008-05-16 Thread David
Is there a document which describes how columns interact with enclosed cells when dealing with bindings? There's a message flow going on that I'm not aware of. setObjectValue is passed different things for the same binding depending on if my class subclasses NSTextFieldCell or NSButtonCell. I don'

Re: ButtonCell with Text in OutlineView

2008-05-15 Thread Kyle Sluder
On Thu, May 15, 2008 at 1:39 PM, David <[EMAIL PROTECTED]> wrote: > I do not understand how the column in the NSOutlineView knows how to set the > property to the cell. How are the cell and column related? How do they > interact? You bind the value of the column to a property, and then the column

ButtonCell with Text in OutlineView

2008-05-15 Thread David
I'm trying to have a hierarchical set of choices with a checkbox next to each one. How can I best set this up? My current thinking was to try and create a NSButtonCell subclass which would act like a NSTextCell in that setting its value would set its title, but I'd parse the string which is encoded

YACCOB - Yet Another Custom Cell OutlineView Binding problem

2008-04-10 Thread Paolo Ottanà
Hi everybody, I am stuck with a (maybe trivial) problem, but I did not find a solution suitable for my case in the old messages and on the net. My situation is this: I want to use a custom button cell inside an OutlineView to add some color and text to the basic checkbox and draw a set of

OutlineView please remember you selection

2008-03-30 Thread Adam Gerson
I have an OutlineView bound to an NSTreeController. I would like to set the selected row of the OutlineView at the applications launch to the second row. It defaults to the first. I have tried many combination of the code below to no avail. If I trigger the code from a button it works just fine

outlineview

2008-03-19 Thread norio ota
HI, Long time ago I posted the same problem, but I can't still fix this yet. So I need your help. Phenomenon: Outline view draws gray bezeled box as a background of each cell on Leopard. But the view doesn't draw the box on Tiger. My environment: Xcode 3.0 IB 3.0, but the nib file is form