RE: NSOutlineView at wits end
RE: NSOutlineView at wits end
- Subject: RE: NSOutlineView at wits end
- From: "Guy Umbright" <email@hidden>
- Date: Mon, 8 Jul 2002 09:02:10 -0500
- Thread-topic: NSOutlineView at wits end
>
>My outline view only displays data if I put all record
>
adding or removal
>
>code within the data source init routine
>
>
>If I encapsulate the record adding or removal code and put
>
it anywhere
>
>other than the init routine, the resultant outline is
>
completely empty.
>
>
>
>I've tried sending "reloadData" to the outline view but that doesn't
>
>work either
>
>
My only suggestion is that your data source must be answering
>
at least one
>
of the Five Big Questions incorrectly
>
(outlineView:numberOfChildrenOfItem:,
>
and so on). Log those and look at what you're saying. m.
I just fought with NSOutlineView for a few days. Look carefully
at what you are doing, read the (lacking) doc a few hundred times
and keep tinkering.
ASIDE: Is is just me or does anyone else think the data structure
imposed by NSOutlineView completely blows? I don't want/need to
keep my data items as a chained tree. To give myself some flexibility
I used dummy "tokens" as the data objects with a reference back to
the actual data supplier. Overall, I am just not happy with the hoops
I had to go through, there needs to be a better way.
This electronic mail message and any attached files contain information
intended for the exclusive use of the individual or entity to whom it is
addressed and may contain information that is proprietary, privileged,
confidential and/or exempt from disclosure under applicable law. If you are
not the intended recipient, you are hereby notified that any viewing, copying,
disclosure or distribution of this information may be subject to legal
restriction or sanction. Please notify the sender, by electronic mail or
telephone, of any unintended recipients and delete the original message
without making any copies.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.