• 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: Alex Rosenberg <email@hidden>
  • Date: Sun, 28 Nov 2004 21:49:59 -0800

On Sun, 28 Nov 2004 9:34pm, mmalcolm crawford wrote:

On Nov 28, 2004, at 8:04 PM, Alex Rosenberg wrote:
I have an NSTableView. My model objects are legacy C++. I want to use bindings. [...]
I don't currently see a clean way to avoid having [proxies for the C++ objects].


As you point out, you can "synthesise" the NSArray using indexed accessors. Your objects, though, will have to be KVO/KVC-compliant. Is there any way you can create Obj-C++ model objects?

Nope. They're legacy C++ and they have side-effects. They self-update mirrored data across a debug line on a target embedded system.


I was hoping that there's a way to make a single proxy object for the entire array or that there were some selectors in NSArrayController I could override that aren't obvious.
+------------------------------------------------------------+
| Alexander M. Rosenberg <mailto:email@hidden> |
| Nobody cares what I say. Remove the underscore to mail me. |
_______________________________________________
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>)
 >Re: binding a TableView with non-CF collection data? (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: binding a TableView with non-CF collection data?
  • Next by Date: Re: My bindings-enabled NIB ate itself... ?
  • Previous by thread: Re: binding a TableView with non-CF collection data?
  • Next by thread: Re: binding a TableView with non-CF collection data?
  • Index(es):
    • Date
    • Thread