Re: Strategies to prevent class name clashes
Re: Strategies to prevent class name clashes
- Subject: Re: Strategies to prevent class name clashes
- From: Bill Bumgarner <email@hidden>
- Date: Fri, 15 Feb 2008 08:53:53 -0800
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:
This email sent to email@hidden