CardSwitcher is a WebOS style multitasking interface for iOS.
Objective-C Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
layout
.gitignore
CSApplication.h
CSApplication.m
CSApplicationController.h
CSApplicationController.m
CSResources.h
CSResources.m
CSScrollView.h
CSScrollView.m
CardSwitcher.plist
Makefile
README.md
Tweak.mm
make.sh

README.md

The UI uses only public API's so shouldn't break with iOS5.

The potential breakpoints are.

##Methods used CGImageRef UIGetScreenImage(void); [[SBIconModel +sharedInstance] -applicationIconForDisplayIdentifier:ID]; [SBIcon -getIconImage:3]; [SBIconBadge +iconBadgeWithBadgeString:STRING]; [SBApplication -defaultImage:NULL]; [SBApplication -kill]; GSSystemHasCapability(kGSMultitaskingCapability) /// GraphicsServices.framework [[SBAwayController +sharedAwayController] -isLocked];

##Methods hooked [SBAppSwitcherController -applicationLaunched:APP] [SBAppSwitcherController -applicationDied:APP] [SBApplication -launch]; [SBApplication -exitedCommon]; [SBIcon -_PSBadgeText]; //Created new method to get the label's string (4.0-4.1 is different to 3.x and 4.2+) [SBAwayController -lock];

##And of cause the SBDisplayStack order #define SBWPreActivateDisplayStack [displayStacks objectAtIndex:0] #define SBWActiveDisplayStack [displayStacks objectAtIndex:1] #define SBWSuspendingDisplayStack [displayStacks objectAtIndex:2] #define SBWSuspendedEventOnlyDisplayStack [displayStacks objectAtIndex:3]

#define SBActive          ([SBWActiveDisplayStack topApplication] == nil)