Click here to support Nimbus development and make a donation at www.pledgie.com !
An iOS framework whose growth is bounded by O(documentation).
NIOverview Class Reference

Overview

The Overview state management class.

What is the Overview?

The Overview is a paged view that sits directly below the status bar and presents information about the device and the currently running application. The Overview is extensible, in that you can write your own pages and add them to the Overview. The included pages allow you to see the current and historical state of memory and disk use, the console logs, and important events that have occurred (such as memory warnings).

Before Using the Overview

None of the Overview methods will do anything unless you have the DEBUG preprocessor macro defined. This is by design. The Overview swizzles private API methods in order to trick the device into showing the Overview as part of the status bar.

DO *NOT* SUBMIT YOUR APP TO THE APP STORE WITH DEBUG DEFINED.

If you submit your app to the App Store with DEBUG defined, you *will* be rejected. Overview works only because it hacks certain aspects of the device using private APIs and method swizzling. For good reason, Apple will not look too kindly to the Overview being included in production code. If Apple ever changes any of the APIs that the Overview depends on then the Overview would break.

Definition at line 51 of file NIOverview.h.

Methods

Initializing the Overview
(void) + applicationDidFinishLaunching
(void) + addOverviewToWindow:
Accessing State Information
(CGFloat) + height
(CGRect) + frame
(NIOverviewView *) + view
(NIOverviewLogger *) + logger

Method Documentation

+ (void) applicationDidFinishLaunching

Call this immediately in application:didFinishLaunchingWithOptions:.

Swizzles the necessary methods for adding the Overview to the view hierarchy and registers notifications for device state changes.

Definition at line 223 of file NIOverview.m.

+ (void) addOverviewToWindow: (UIWindow *)  window

Adds the Overview to the given window.

The Overview will always be fixed at the top of the device's screen directly beneath the status bar (if it is visible).

Definition at line 261 of file NIOverview.m.

+ (CGFloat) height

The height of the Overview.

Definition at line 301 of file NIOverview.m.

+ (CGRect) frame

The frame of the Overview.

Definition at line 311 of file NIOverview.m.

+ (UIView *) view

The Overview view.

Definition at line 375 of file NIOverview.m.

+ (NIOverviewLogger *) logger

The Overview logger.

This is the logger that all of the Overview pages use to present their information.

Definition at line 291 of file NIOverview.m.

Generated for Nimbus by doxygen 1.7.4-20110629