• 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: Bindings and Custom Array Operators
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings and Custom Array Operators


  • Subject: Re: Bindings and Custom Array Operators
  • From: mmalcolm crawford <email@hidden>
  • Date: Wed, 16 Mar 2005 02:10:02 -0800


On Mar 16, 2005, at 12:29 AM, Steven Kramer wrote:
Op 16-mrt-05 om 6:09 heeft E. Wing het volgende geschreven:
Hello, I would like to something kind of like the example at
http://homepage.mac.com/mmalc/CocoaExamples/ManualBindings.zip,
where there is a table of values and some field is computed based upon
all the values in the table.
However, in my case, I need to do some computations that are more
complex and are not expressed by the existing array operators provided
by Cocoa.
It can be done only in part and in an unsupported way.

Well, it depends how much effort you're willing to put in :-)

You could observe the array and the relevant property in each element (just as you would for a bindings-enabled view, such as in the GraphicsView class in the Graphics Bindings example at <http:// homepage.mac.com/mmalc/CocoaExamples/controllers.html>). If the array, or a relevant element, is mutated, then update the value accordingly...

mmalc

_______________________________________________
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: 
 >Bindings and Custom Array Operators (From: "E. Wing" <email@hidden>)
 >Re: Bindings and Custom Array Operators (From: Steven Kramer <email@hidden>)

  • Prev by Date: Re: Wait for NSTask to finish
  • Next by Date: Re: Drag&Drop woes...
  • Previous by thread: Re: Bindings and Custom Array Operators
  • Next by thread: Which objects in nib are placeholders?
  • Index(es):
    • Date
    • Thread