• 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: 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


References: 
 >Get|SetControlProperty() equivalent (From: Jo Meder <email@hidden>)
 >Re: Get|SetControlProperty() equivalent (From: Graham Cox <email@hidden>)
 >Re: Get|SetControlProperty() equivalent (From: Jo Meder <email@hidden>)
 >Re: Get|SetControlProperty() equivalent (From: Michael Vannorsdel <email@hidden>)

  • Prev by Date: Re: program crashes because of a variable declaration
  • Next by Date: Re: program crashes because of a variable declaration
  • Previous by thread: Re: Get|SetControlProperty() equivalent
  • Next by thread: Re: Get|SetControlProperty() equivalent
  • Index(es):
    • Date
    • Thread