• 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
Re: binding a TableView with non-CF collection data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: binding a TableView with non-CF collection data?


  • Subject: Re: binding a TableView with non-CF collection data?
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Mon, 29 Nov 2004 18:07:11 +0100

At 20:04 Uhr -0800 28.11.2004, Alex Rosenberg wrote:
I have an NSTableView. My model objects are legacy C++. I want to use bindings.

NSArrayController seems to insist on directly manipulating an NSArray or ObjC objects.

Why don't you do things the old way and writ your own controller? NSArrayController is simply a pre-written controller class that's intended for use with Cocoa's model classes. But you don't *have* to use it.


What are you using to display this? And NSTableView? NSOutlineView? Just implement a data source for that and have it return the info directly from the C++ objects.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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
References: 
 >binding a TableView with non-CF collection data? (From: Alex Rosenberg <email@hidden>)

  • Prev by Date: Re: NSWindow alloc/dealloc problems
  • Next by Date: Re: NSWindow alloc/dealloc problems
  • Previous by thread: Re: binding a TableView with non-CF collection data?
  • Next by thread: Copy selection from webview....
  • Index(es):
    • Date
    • Thread