Memory space in a shared, private framework
Memory space in a shared, private framework
- Subject: Memory space in a shared, private framework
- From: Philip Dow <email@hidden>
- Date: Fri, 11 May 2007 13:57:55 +0200
Let me see if I can clarify this the right way. Everything is being
done with Cocoa/Obj-C. I'd like to create a private framework that is
responsible for managing the data store of an application. Other
applications would be able to link against this framework and use it
to access the same data store.
My question concerns the "memory space" of the framework (is there a
better name for this?). Does the framework occupy the same memory in
both applications? For example, if one application added or modified
an object, would the other application be aware of this change? Or
does the framework exist independently in the two applications so
that a change from one would not be noticed in the other?
The best example I can think of is the AddressBook framework. Many
applications link against and use this framework. When one
application changes an AB record via the framework, other
applications immediately become aware of those changes, not only in
the data model but also in the interface thanks to the AddressBookUI
and bindings. Is this the de facto case with a shared framework or is
the AddressBook framework doing something special here?
-Phil
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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