• 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: Value Binding to NSTextView subclass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Value Binding to NSTextView subclass


  • Subject: Re: Value Binding to NSTextView subclass
  • From: mmalcolm crawford <email@hidden>
  • Date: Tue, 30 Nov 2004 00:03:20 -0800


On Nov 29, 2004, at 11:24 PM, Brad Miller wrote:

Binding the view back to my model. I'm manually binding [the custom subclass of NSTextView] with: [myTextView bind:@"value" toObject:documentController withKeyPath:@"selection.textValue" options:nil], which is the same binding I was using before. Launching the app give a class not KVC compliant message in the run log. From reading the docs and the list archives, I was under the impression that you can still bind to a values that a super class exposes.

There shouldn't be a problem with that. Are you overriding the bind:... method? What is the actual error message (in particular, what class are you being told is not KVC compliant)? It sounds like the problem is with the bound-to object, not the view...

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


  • Follow-Ups:
    • Re: Value Binding to NSTextView subclass
      • From: mmalcolm crawford <email@hidden>
References: 
 >Value Binding to NSTextView subclass (From: Brad Miller <email@hidden>)

  • Prev by Date: RE: Scaling an NSImage non-destructively
  • Next by Date: Re: NSImage and 8 bit
  • Previous by thread: Value Binding to NSTextView subclass
  • Next by thread: Re: Value Binding to NSTextView subclass
  • Index(es):
    • Date
    • Thread