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: What does it mean when po puts % before class name?



Hello...

Depending on what type of application you are writing and which framework is involved, there are two other potential workarounds.

If the use of the code in the framework isn't part of the primary function of the app, you might consider splitting your application in two so that the framework isn't used in the main application, and is only loaded in a helper app or tool.

Also, you could force the problem framework to load when the application is launcehd, by using just a [SomeClassInProblemFramework class] message in the applicationWillFinishLaunching: delegate method. You would have to make sure that none of your interface that uses NSView is included in the main nib file, and is instead in separate nibs that are loaded later.

Hope that helps,

Louis





On Jul 30, 2004, at 1:08 PM, Jim Correia wrote:
Thanks Greg. That got me to the point that I could debug the problem. A nameless Apple framework (nameless to protect the guilty :-) - I'll file a bug) has a private class which does a poseAsClass: [NSView class] the first time it is used - which happens much after application startup.
...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: What does it mean when po puts % before class name? (From: Greg Parker <email@hidden>)
 >Re: What does it mean when po puts % before class name? (From: Jim Correia <email@hidden>)
 >Re: What does it mean when po puts % before class name? (From: Greg Parker <email@hidden>)
 >Re: What does it mean when po puts % before class name? (From: Jim Correia <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.