Re: Can I use resource in cocoa library?
Re: Can I use resource in cocoa library?
- Subject: Re: Can I use resource in cocoa library?
- From: j o a r <email@hidden>
- Date: Tue, 26 Jul 2005 18:28:38 +0200
On 26 jul 2005, at 18.06, Fei Li wrote:
But bundle or framework which one is better? After I view the
document I kind of think they can fulfill similar task but bundle
is easier and lightweight while framework need more configuration,
settings and suitable for more complicate task. (Correct me if it's
not.) Do they have other very significant difference may affect the
decision of using bundle or framework?
I would use a framework for this job, as it's more conceptually
suited for the task - it exports (optionally) a set of headers that
defines the functionality that it provides. A bundle doesn't do that,
and the loading code need to "know" what the bundle contains by other
means in order to use it.
It's just as easy to create, maintain and deploy a framework as a
bundle. Both are equally lightweight (or not). In fact, it's probably
easier to deploy a framework - as you don't have to figure out a way
to load it, like you have to do with a bundle.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden