Re: Problem with missing symbol
Re: Problem with missing symbol
- Subject: Re: Problem with missing symbol
- From: Emmanuel Pinault <email@hidden>
- Date: Thu, 10 Dec 2009 10:15:14 -0800
On Dec 10, 2009, at 9:53 AM, Kyle Sluder wrote:
> 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.
That explains. I must have missed that in the newer version of Obj-C
>
> 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!"
How would you suggest I get the Frame information from the window then?
>
> --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