Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't strip a prefpane



Are you trying to reduce the size of the pref pane or just trying to make sure no symbols are exported (and potentially clash)?

If the latter, check out "Prevent Symbol Clashes" and "More Symbol Clash Madness" sections: http://cocoadevcentral.com/articles/000089.php

Basically, you want to prefix your class names and optionally use @compatibility_alias to allow yourself to refer to the class by a shorter (and more sane) name. I had some funniness with this though as it forced me to have headers importing each other which caused other problems though I'm going to try sticking all the @compatibility_alias directives in a common header.

To hide other symbols, you can use __private_extern__.

Hope this helps,
paul



On May 30, 2006, at 8:08 AM, Rosyna wrote:

I cannot seem to strip a preference pane of its symbols. No matter how many times I attempt to strip it, the symbols are still listed as exported in when using nm.

Is there anyway to get rid of prefpane symbols? Oddly, I have absolutely no problem stripping symbols from a normal C/C++ bundle, just prefpanes.
--



Sincerely, Rosyna Keller Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People

It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/mr_pickles% 40mac.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Can't strip a prefpane (From: Rosyna <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.