what is the difference between framework and bundle in iphone OS?
A framework is a bundle (a structured directory) that contains a dynamic shared library along with associated resources, such as nib files, image files, and header files. When you develop an application, your project links to one or more frameworks.
The FrameworkBundle defines the main framework configuration, from sessions and translations to forms, validation, routing and more.
framework is a not packaged framework bundle (to allow developers to easily take a look at headers and resources) which contains a compiled static or dynamic library, header files and resources. Static framework contain a static library packaged with its resources.
Whereas Universal Frameworks contain many slices without knowledge of the platform SDK for each one, XCFrameworks contain many slices organized by platform. Because of this platform-awareness, an XCFramework can target more than one platform for the same architecture, which solves our problem.
Frameworks are groups of libraries, headers, et. al. which together make up a unit that you can use when programming. Kind of like a DLL on other platforms, except more than that.
A bundle is a structured folder which contains code and other support files. Frameworks are bundles. So are applications.
These are the same as on Mac OS X, since the iPhone OS is Mac OS X (though a special version of it).
See: Bundle Structures
And: Frameworks
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With