Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the difference between framework and bundle in iphone OS?

what is the difference between framework and bundle in iphone OS?

like image 241
suse Avatar asked Dec 24 '09 05:12

suse


People also ask

What is framework in Iphone?

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.

What is framework bundle?

The FrameworkBundle defines the main framework configuration, from sessions and translations to forms, validation, routing and more.

What is the difference between framework and static library in iOS?

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.

What is difference between framework and XCFramework?

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.


1 Answers

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

like image 70
Seth Avatar answered Oct 05 '22 08:10

Seth