Re: Problem with missing symbol
Re: Problem with missing symbol
- Subject: Re: Problem with missing symbol
- From: Kyle Sluder <email@hidden>
- Date: Thu, 10 Dec 2009 09:53:01 -0800
On Dec 10, 2009, at 9:46 AM, Emmanuel Pinault <email@hidden>
wrote:
This use to work in 10.5 .. I am using 10.6 and this is not linking
due to missing symbol. What I do not get, is that the _fWindow is
still an attribute in the NSSStatusItem...
It's not an attribute, it's an instance variable. Private instance
variables are no longer exported, so you can't use them from
categories compiled in another library.
You might be able to use the ObjC runtime methods to get at the ivar,
but I suspect the "official" solution is going to be "don't mess
around with private ivars!"
--Kyle Sluder
_______________________________________________
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