On Dec 10, 2009, at 9:46 AM, Emmanuel Pinault <seatm...@gmail.com> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to