Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
Frameworks: Difference between revisions - iPhone Development Wiki

Frameworks: Difference between revisions

From iPhone Development Wiki
m (Put back the navbox I accidentally removed.)
(not really)
Tags: Replaced Undo
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Frameworks]] are bundles which contains a linkable library (usually a dylib), the associated resources and headers for development.  
[[Frameworks]] are bundles that contain a linkable library (usually a dylib) and the associated resources and headers for development.  


There are so called “public” and [[PrivateFrameworks|“private”]] frameworks. The former are usually well documented and prepared for use by general developers, while the latter are (supposed to be) restricted for internal use only. Public frameworks can be found in <tt>/System/Library/Frameworks</tt>, and the private ones in <tt>/System/Library/PrivateFrameworks</tt>. Other than these artificial division, there are no difference between public and private frameworks.
There are “public” and [[PrivateFrameworks|“private”]] frameworks. The former are usually well documented and prepared for use by general developers, while the latter are (supposed to be) restricted for internal use only. Public frameworks can be found in <tt>/System/Library/Frameworks</tt>, and private ones in <tt>/System/Library/PrivateFrameworks</tt>. Other than this artificial division, there are no differences between public and private frameworks.


== Structure of a Framework ==
Since iOS 3.1, all default (public and private) libraries have been combined into a big cache file in <tt>/System/Library/Caches/com.apple.dyld/dyld_shared_cache_armvX</tt> (where X can be <tt>6</tt>, <tt>7</tt>, <tt>7s</tt> or <tt>64</tt>) to improve performance. See [[dyld_shared_cache]]. The original libraries are no longer useful for non-on-device-developers, so they are eliminated from the system. The framework folders still contain other resources, such as localization strings.
Frameworks should have an extension of <tt>.framework</tt>. Headers, if any, should be stored in a subdirectory called <tt>Header</tt>.  
 
Frameworks have an extension of <tt>.framework</tt>. Headers, if any, are stored in a subdirectory called <tt>Headers</tt>.  


== References ==
== References ==
Line 10: Line 11:


== List of frameworks ==
== List of frameworks ==
This reflects the state of frameworks as of iOS 4.0 (8A293).


=== Public ===
See [http://theiphonewiki.com/wiki//System/Library/Frameworks /System/Library/Frameworks on TheiPhoneWiki] for another list.
 
For the latest list please see [https://developer.apple.com/library/ios/documentation/miscellaneous/conceptual/iphoneostechoverview/iPhoneOSFrameworks/iPhoneOSFrameworks.html Apple's Developer Frameworks]
 
The following list reflects the state of public frameworks as of iOS 4.0 (8A293):
 
* [[AVFoundation.framework]] (com.apple.avfoundation)
* [[AVFoundation.framework]] (com.apple.avfoundation)
* [[Accelerate.framework]] (com.apple.Accelerate)
* [[Accelerate.framework]] (com.apple.Accelerate)

Revision as of 03:09, 3 November 2018

Frameworks are bundles that contain a linkable library (usually a dylib) and the associated resources and headers for development.

There are “public” and “private” frameworks. The former are usually well documented and prepared for use by general developers, while the latter are (supposed to be) restricted for internal use only. Public frameworks can be found in /System/Library/Frameworks, and private ones in /System/Library/PrivateFrameworks. Other than this artificial division, there are no differences between public and private frameworks.

Since iOS 3.1, all default (public and private) libraries have been combined into a big cache file in /System/Library/Caches/com.apple.dyld/dyld_shared_cache_armvX (where X can be 6, 7, 7s or 64) to improve performance. See dyld_shared_cache. The original libraries are no longer useful for non-on-device-developers, so they are eliminated from the system. The framework folders still contain other resources, such as localization strings.

Frameworks have an extension of .framework. Headers, if any, are stored in a subdirectory called Headers.

References

List of frameworks

See /System/Library/Frameworks on TheiPhoneWiki for another list.

For the latest list please see Apple's Developer Frameworks

The following list reflects the state of public frameworks as of iOS 4.0 (8A293):