I finally found the bug which caused my NSOutlineView to display the content
only if the user was scrolling inside of it, but never showed up correctly at
program launch:
The problem was that I've put the method expandItem:exandChildren inside
NSOutlineView delegate method outlineView:willDisp
Michael & Graham: thanks for the reply
I agree that my Item class and its structure for the outline view has to be
reworked...I'll let you know since I'm on vacancy for one week…
-Gilles
On 2 sept. 2011, at 14:35, Michael Babin wrote:
> On Sep 2, 2011, at 7:15 AM, Gilles Celli wrote:
>
>> I'
On 02/09/2011, at 10:48 PM, Gilles Celli wrote:
> Yes forgot to say that I've a data source for the outline view….
>
> My OvItem.h class looks like this:
Yes, but how and when does that structure get established? That's what matters
here - obviously the data structure needs to be ready when t
Yes forgot to say that I've a data source for the outline view….
My OvItem.h class looks like this:
#import
@interface OvItem : NSObject {
NSString *title;
NSMutableArray *children;
BOOL isParent;
}
@property (nonatomic, readwrite, copy) NSString *title;
@property
On Sep 2, 2011, at 7:15 AM, Gilles Celli wrote:
> I've setup a Document based application with an NSOutlineView which displays
> Parent-Item along with its children…with XCode 4 on OS X Lion.
>
> When launching the application, the outline view shows the Root title…only if
> I refresh the outl
Hello,
I've setup a Document based application with an NSOutlineView which displays
Parent-Item along with its children…with XCode 4 on OS X Lion.
When launching the application, the outline view shows the Root title…only if I
refresh the outline view the children are displayed too.
I've also