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
UIKit.framework: Difference between revisions - iPhone Development Wiki

UIKit.framework: Difference between revisions

From iPhone Development Wiki
mNo edit summary
No edit summary
Line 5: Line 5:
}}
}}
'''UIKit''' is a high-level Objective-C framework that manages the graphical front-end of the iPhoneOS. It is a public framework, and therefore its documentation can be found on [http://developer.apple.com/iphone/library/documentation/uikit/reference/uikit_framework/index.html Apple's iPhone Dev Center]. Nevertheless, this is only a small part of the whole UIKit.
'''UIKit''' is a high-level Objective-C framework that manages the graphical front-end of the iPhoneOS. It is a public framework, and therefore its documentation can be found on [http://developer.apple.com/iphone/library/documentation/uikit/reference/uikit_framework/index.html Apple's iPhone Dev Center]. Nevertheless, this is only a small part of the whole UIKit.
== Parameters for UIKit applications ==
UIKit recognizes the following these special command-line flags:
{| class="wikitable"
|-
! Flag
! Purpose
|-
| <tt>-BuildDefaultPNG</tt>
| Write the default PNG image to <tt>~/Library/Caches/AppSnapshots/''BundleID''.png</tt><br />(by calling <tt>-[UIApplication _writeApplicationDefaultPNGSnapshot]</tt> on start up).
|-
| <tt>-RegisterForSystemEvents</tt>
| Allow this app to receive system events which normally should be received by SpringBoard.
|}
== Environment variables ==
UIKit recognizes the following environment variables
{| class="wikitable"
|-
! Name !! Purpose
|-
| UIKIT_PACKED_IMAGE_MAPS || An integer: 0 to disable mapped images (.artwork files) entirely; 1 for normal use; 2 to log operations regarding mapped images.
|-
| KB_RECORDING_ENABLED || Whether to enable keyboard recording or not. (The KeyboardRecordingEnabled key of the <tt>com.apple.Preferences</tt> preferences must be set to true for this to be effective.)
|-
| CF_BENCH_MODE || [[UICoverFlowLayer|Cover Flow]] benchmark mode. Available values are:
* Disabled
* NoAnimation
* JustSitThere
* FastTap
* ScrubBackAndForth
* LongScrub
* ShortScrub
* ScrubAndWait
* FlipCover
|-
| CF_BENCH_IMAGE_MODE || Cover Flow benchmark image mode. Available values are:
* NormalImage
* SingleImage
* NoImage
|-
| CF_BENCH_DISABLE_ENV_PRINT<br />CF_BENCH_PERF_LOG<br />CF_BENCH_TICK_MODE<br />CF_BENCH_TIGHT_LOOP_TIME<br />CF_BENCH_LONG_SCRUB_SPEED<br />CF_BENCH_SKIP_IMAGE_LOAD || Other Cover Flow benchmark parameters.
|-
| COVERFLOW_LINEAR_FILTERING<br />COVERFLOW_SPACING || Some Cover Flow settings.
|}


{{Navbox Classes}}
{{Navbox Classes}}
{{Navbox Frameworks}}
{{Navbox Frameworks}}

Revision as of 20:45, 26 November 2009

UIKit.framework
Public Framework
Availabile 1.0 – present
Class Prefix UI
Headers [headers.cynder.me]

UIKit is a high-level Objective-C framework that manages the graphical front-end of the iPhoneOS. It is a public framework, and therefore its documentation can be found on Apple's iPhone Dev Center. Nevertheless, this is only a small part of the whole UIKit.

Parameters for UIKit applications

UIKit recognizes the following these special command-line flags:

Flag Purpose
-BuildDefaultPNG Write the default PNG image to ~/Library/Caches/AppSnapshots/BundleID.png
(by calling -[UIApplication _writeApplicationDefaultPNGSnapshot] on start up).
-RegisterForSystemEvents Allow this app to receive system events which normally should be received by SpringBoard.

Environment variables

UIKit recognizes the following environment variables

Name Purpose
UIKIT_PACKED_IMAGE_MAPS An integer: 0 to disable mapped images (.artwork files) entirely; 1 for normal use; 2 to log operations regarding mapped images.
KB_RECORDING_ENABLED Whether to enable keyboard recording or not. (The KeyboardRecordingEnabled key of the com.apple.Preferences preferences must be set to true for this to be effective.)
CF_BENCH_MODE Cover Flow benchmark mode. Available values are:
  • Disabled
  • NoAnimation
  • JustSitThere
  • FastTap
  • ScrubBackAndForth
  • LongScrub
  • ShortScrub
  • ScrubAndWait
  • FlipCover
CF_BENCH_IMAGE_MODE Cover Flow benchmark image mode. Available values are:
  • NormalImage
  • SingleImage
  • NoImage
CF_BENCH_DISABLE_ENV_PRINT
CF_BENCH_PERF_LOG
CF_BENCH_TICK_MODE
CF_BENCH_TIGHT_LOOP_TIME
CF_BENCH_LONG_SCRUB_SPEED
CF_BENCH_SKIP_IMAGE_LOAD
Other Cover Flow benchmark parameters.
COVERFLOW_LINEAR_FILTERING
COVERFLOW_SPACING
Some Cover Flow settings.