Re: Get|SetControlProperty() equivalent
Re: Get|SetControlProperty() equivalent
- Subject: Re: Get|SetControlProperty() equivalent
- From: Jo Meder <email@hidden>
- Date: Fri, 12 Jun 2009 22:59:05 +1200
Hi Michael,
Michael Vannorsdel wrote:
Subclass NSView and use poseAsClass to replace the default
implementation. You'll need to do the posing before running
NSApplicationMain. You'll have to use a different approach if you're
building for 64-bit.
That's intriguing. I thought with the dynamic nature of Objective-C
something like that might be possible. There are a couple of
drawbacks though. One is that I do need to build for 64 bit, that is
actually the reason I've ported my framework from Carbon to Cocoa.
The other is that posing classes can't add instance variables, which
I would need to do. Thanks all the same, something new learnt even if
it is deprecated :-).
Regards,
Jo Meder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden