gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Proposal: NSBundle frameworkWithName:


From: Stefan Urbanek
Subject: Proposal: NSBundle frameworkWithName:
Date: Thu, 07 Aug 2003 22:42:11 +0200

Hi,

Would it be possible to add method frameworkWithName: to NSBundle as a GNUstep 
extension? This method can be used by more apps for:
- simplifyied dynamic loading of frameworks (like scripting, development 
frameworks. frameworks that can be used as plug-ins/modules, frameworks that 
can optionaly extend application's functionality,...)
- reusing resources of other frameworks

Proposed code is attached.

Note, that there is already libraryWithName: method as GNUstep extension for 
NSBundle. frameworkWithName is alternative to that.

Besides that, i think that Frameworks in GNUstep should be more advertised and 
presented as 'better' alternative to libraries. I know that they (frameworks) 
do not work well on all platforms, but that should not be the reason for 
deprecating them.

What do you think?

Thanks,

Stefan
--
http://urbanek.host.sk

First they ignore you, then they laugh at you, then they fight you, then you 
win.
- Mahatma Gandhi
<NSBundle+framework.m>

Attachment: NSBundle+framework.m
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]