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: Strategies to prevent class name clashes



On Feb 15, 2008, at 4:35 AM, Arne Scheffler wrote:
How does framework versioning work for Cocoa ? If one plug-in got compiled with say version 1 and another got compiled with version 2. Will they both work ? How is that possible as Objective-C only allows one class with the same name ?

Framework versioning won't help in this case.

Objective-C has a flat namespace for all classes. It is one of the handful of penalties resulting from its focus upon simplicity.

In general, it is considered odd that a set of plugins would statically link in the shared UI driver bits. Doing so increases memory footprint and can be exceedingly problematic unless the functionality within each plugin is maintained in total isolation.

b.bum

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Strategies to prevent class name clashes (From: Arne Scheffler <email@hidden>)
 >Re: Strategies to prevent class name clashes (From: Lieven Dekeyser <email@hidden>)
 >Re: Strategies to prevent class name clashes (From: Uli Kusterer <email@hidden>)
 >Re: Strategies to prevent class name clashes (From: Arne Scheffler <email@hidden>)
 >Re: Strategies to prevent class name clashes (From: Thomas Engelmeier <email@hidden>)
 >Re: Strategies to prevent class name clashes (From: Arne Scheffler <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.