Bindings for subclass properties
Bindings for subclass properties
- Subject: Bindings for subclass properties
- From: Dan Price <email@hidden>
- Date: Mon, 16 Jan 2006 17:48:04 +0000 (GMT)
Ok here's a tough one.
I've got a class, Shape, which has several subclasses
(Cube, Sphere, Cylinder etc). Shape has properties
common to all class (visible, name, color etc) and I
can bind my controls to that easily and they work for
all shapes. But what of the subclasses which have
their own, unique properties? Is it possible to handle
this case at all?
I can't simply add keys for subclass properties to the
controller (there are a lot of them!) because they are
not applicable to Shape and XCode complains. Any
ideas? Any help appreciated.
___________________________________________________________
Yahoo! Photos NEW, now offering a quality print service from just 8p a photo http://uk.photos.yahoo.com
_______________________________________________
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