• 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
NSTreeController problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTreeController problems


  • Subject: NSTreeController problems
  • From: Nicholas Crosbie <email@hidden>
  • Date: Thu, 9 Feb 2006 15:22:53 +1100 (EST)

I have an NSOutlineView linked to a NSTableView.  The
TableView is bound
to an NSArrayController which is set to a Note-like
entity (i.e. viz. OutlineView,
Core Data example app).  The Outline view is bound to
a NSTreeController set to the same entity.  The
TreeController gets its contentSet from
selection.children of the ArrayController.  This app
is working fine but......breaks when I
add drag-and-drop,  copy-and-paste, expansion state
capabilities to the OutlineView.

For example,  I've tried to adapt Matt Holiday's "DRAG
AND DROP OUTLINE EDIT"
(http://homepage.mac.com/matthol2/iblog/index.html)
to reflect my UI design, but when I add in the
TableView and ArrayController,  either the
TreeController does not behave according to the
ArrayController selection, and/or the OutlineView
methods "createNote", "createChildNote" etc.  fail.

Clues, suggestions?? Example code?

Nick Crosbie



____________________________________________________
Do you Yahoo!?
Which two Aussie media players are joining forces to bring you the best content? Find out
http://promo.yahoo.com/yahoo7
 _______________________________________________
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: .pch not working in XCode 2.2?
  • Next by Date: Re: .pch not working in XCode 2.2?
  • Previous by thread: Re: .pch not working in XCode 2.2?
  • Next by thread: Using Zlib for i386 code
  • Index(es):
    • Date
    • Thread