• 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: Cocoa Bindings - nondebuggable, non-obvious, procedural ???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Bindings - nondebuggable, non-obvious, procedural ???


  • Subject: Re: Cocoa Bindings - nondebuggable, non-obvious, procedural ???
  • From: Bob Ippolito <email@hidden>
  • Date: Mon, 3 Jan 2005 16:09:20 -0500

On Jan 3, 2005, at 3:34 PM, James Dessart wrote:

On Mon, 3 Jan 2005 10:29:51 -0800, mmalcolm crawford
<email@hidden> wrote:
I can get stuff to work, but I don't understand why the stuff I got to
work does what it does. It's very click-and-pray. I've would love to
see an example of NSArrayController with just one basic type --
NSStrings.


As has been stated on several occasions on this list, because bindings
rely largely on key value coding, strings do not work well as a model.
Typically you need at least a dictionary.

But if you want to do a list of strings, how would you go about doing that? That's the question he's asking, I think. I'm not sure he wants the example to do anything more than just list an array of simple strings.

Well you could try to observe the "self" key of the array, which will probably crash on 10.3 (from what I remember).


You might also be able to create a value converter to do it.

Worst case, you could always proxy the array.

-bob

_______________________________________________
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: 
 >Cocoa Bindings - nondebuggable, non-obvious, procedural ??? (From: Izidor Jerebic <email@hidden>)
 >Re: Cocoa Bindings - nondebuggable, non-obvious, procedural ??? (From: Mark Munz <email@hidden>)
 >Re: Cocoa Bindings - nondebuggable, non-obvious, procedural ??? (From: mmalcolm crawford <email@hidden>)
 >Re: Cocoa Bindings - nondebuggable, non-obvious, procedural ??? (From: James Dessart <email@hidden>)

  • Prev by Date: Re: Cocoa Bindings - nondebuggable, non-obvious, procedural ???
  • Next by Date: Re: Cocoa Bindings - nondebuggable, non-obvious, procedural ???
  • Previous by thread: Re: Cocoa Bindings - nondebuggable, non-obvious, procedural ???
  • Next by thread: Re: Cocoa Bindings - nondebuggable, non-obvious, procedural ???
  • Index(es):
    • Date
    • Thread