• 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: KVC with bindings to array elements?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KVC with bindings to array elements?


  • Subject: Re: KVC with bindings to array elements?
  • From: Jeff Koftinoff <email@hidden>
  • Date: Fri, 20 Oct 2006 10:20:28 -0700

Thank you for your response; But I still have a problem. I can't just have my accessor method return an NSDictionary - Cocoa expects it to be an NSArray, and I get an exception saying it can't convert the NSDictionary to the NSArray. I also tried implementing a method named:

	valueIn<Key>WithName

But it does not get called.

Jeff

On 20-Oct-06, at 8:09 AM, Hank Heijink wrote:

You might be better off with an NSDictionary for this. NSArray doesn't support what you're trying to do.

On Oct 20, 2006, at 9:52 AM, Jeff Koftinoff wrote:

Hi everyone; I'm fairly new to KVC. I have my application working fabulously with my data model. Parameters and sliders and text field's values, min, and max are bound to my objective c object. Parameter validation works great.

However now I want to make an static array of values - each element bound to a different gui control.



_______________________________________________
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


  • Follow-Ups:
    • Re: KVC with bindings to array elements?
      • From: Hank Heijink <email@hidden>
References: 
 >KVC with bindings to array elements? (From: Jeff Koftinoff <email@hidden>)
 >Re: KVC with bindings to array elements? (From: Hank Heijink <email@hidden>)

  • Prev by Date: Binding table view custom cell background colour
  • Next by Date: Re: KVC with bindings to array elements?
  • Previous by thread: Re: KVC with bindings to array elements?
  • Next by thread: Re: KVC with bindings to array elements?
  • Index(es):
    • Date
    • Thread