Clip paths displayed in outlineview : core data app.
Clip paths displayed in outlineview : core data app.
- Subject: Clip paths displayed in outlineview : core data app.
- From: Nicholas Crosbie <email@hidden>
- Date: Thu, 13 Oct 2005 11:07:14 +1000 (EST)
I have a core data app. with an outlineview bound to
treecontroller. I drag-n-drop file paths from the
finder to
the outline view. This is working and I get the full
path.
I want to retain the full path (so I can launch files
via
double-clicking on a node) but I want to display only
the
last file component in the outline view.
What is the best way to achieve this given my app.
architecture?
Note that my outlinetree also allows for internal
drags, i.e. between
nodes; each node may contain either a file path or
some other string (e.g. a title).
I thought about using a predicate but outlineview does
not
support predicate binding. As well, I suspect I will
need some way
of making doubleClickArgument / Target conditional on
the contents
of a node, because I only want this behaviour if the
node contains
a file path. How?
- NDC
____________________________________________________
Do you Yahoo!?
Messenger 7.0: Free worldwide PC to PC calls
http://au.messenger.yahoo.com
_______________________________________________
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