Inside of the setter methods it forwards the value to the cell. Here's a quick snippet:
@implementation GDScale9Button - (void) setCornerSize:(NSSize) _size { [[self cell] setCornerSize:_size]; } - (void) setUpImage:(NSImage *) _image { [[self cell] setUpImage:_image]; } - (void) setDownImage:(NSImage *) _image { [[self cell] setDownImage:_image]; } @end Will that still trigger the normal binding behavior? Thanks Seth! On Tue, May 11, 2010 at 11:24 AM, Seth Willits <sli...@araelium.com> wrote: > On May 11, 2010, at 11:01 AM, aaron smith wrote: > >> Hey, quick question. >> >> How does one handle binding with an NSControl which forwards all of >> it's getters/setters to the NSCell? I've built a custom NSControl and >> cell, and want to be able to bind to the control, but since everything >> is forwarded none of the binding mechanisms work correctly. > > Forwarded how? > > > > -- > Seth Willits > > > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please 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: > http://lists.apple.com/mailman/options/cocoa-dev/beingthexemplarylists%40gmail.com > > This email sent to beingthexemplaryli...@gmail.com > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com