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

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

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