• 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: Problem with missing symbol
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Problem with missing symbol
      • From: Emmanuel Pinault <email@hidden>
References: 
 >Problem with missing symbol (From: Emmanuel Pinault <email@hidden>)

  • Prev by Date: Problem with missing symbol
  • Next by Date: Re: Unable to write in InfoPlist.strings file from cpp
  • Previous by thread: Problem with missing symbol
  • Next by thread: Re: Problem with missing symbol
  • Index(es):
    • Date
    • Thread