• 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: Adding bindings to a NSView descendant
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding bindings to a NSView descendant


  • Subject: Re: Adding bindings to a NSView descendant
  • From: "Sean McBride" <email@hidden>
  • Date: Mon, 12 Mar 2007 12:14:55 -0400
  • Organization: Rogue Research

On 3/12/07 5:11 PM, Mark Munte said:

>Hi list,
>I've created an NSView descendant. It provides getters and setters
>for some properties. I would like to expose these as bindings in
>Interface Builder.
>
>I've added the following to the Class
>
>+ (void)initialize
>{
>     [self exposeBinding:@"whiteBalance"];
>     [self exposeBinding:@"whiteBalanceBounds"];
>}
>
>But that did nothing in Interface Builder, the bindings do not appear.
>What am I missing?

Have you looked at this example:
<http://homepage.mac.com/mmalc/CocoaExamples/ClockControl2a.zip>

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Adding bindings to a NSView descendant
      • From: Mark Munte <email@hidden>
References: 
 >Adding bindings to a NSView descendant (From: Mark Munte <email@hidden>)

  • Prev by Date: Archiving a CIImage
  • Next by Date: Re: a HUGE Core Data bug
  • Previous by thread: Adding bindings to a NSView descendant
  • Next by thread: Re: Adding bindings to a NSView descendant
  • Index(es):
    • Date
    • Thread