The main difference between a dynamic library and a framework is that the structure can contain resources (images, sound files, nibs, etc.) and header files. When you use a dynamic library, they are separate.
Both the environment and the dynamic library are loaded at runtime. If your library will be used only in Mac OS X, I recommend creating a framework because it is easier to manage, since everything is in the same folder.
Bundles (white LEGO bricks) are almost exclusively used as plugins. If you want to create a plug-in interface, you must accept the packages, and you must provide the infrastructure with which the packages can communicate. Bundles are also loaded at runtime.
user1203803
source share