• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Clip paths displayed in outlineview : core data app.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Bindings and Core Data question.
  • Next by Date: Re: CFSocketCopyPeerAddress returns nil for connected UDP socket
  • Previous by thread: RE:newbie coredata NSManagedObjectModel empty
  • Next by thread: Disk image won't open under pre-Panther
  • Index(es):
    • Date
    • Thread