• 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: Get|SetControlProperty() equivalent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: problems with scripting
  • Next by Date: Re: Foundation tool & NSUserDefault
  • Previous by thread: Re: Get|SetControlProperty() equivalent
  • Next by thread: Stepping the event loop?
  • Index(es):
    • Date
    • Thread