Re: Get|SetControlProperty() equivalent
Re: Get|SetControlProperty() equivalent
- Subject: Re: Get|SetControlProperty() equivalent
- From: Graham Cox <email@hidden>
- Date: Thu, 11 Jun 2009 23:51:01 +1000
On 11/06/2009, at 11:43 PM, 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.
Note that poseAsClass is deprecated in 10.5. You can still swizzle
classes but using the low level runtime functions.
--Graham
_______________________________________________
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