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
IconSupport - iPhone Development Wiki

IconSupport

From iPhone Development Wiki
Revision as of 23:36, 6 August 2016 by Uroboro (talk | contribs) (New How to use this library format.)
IconSupport
Cydia Package
Developer Sakurina, chpwn, ashikase
Package ID com.chpwn.iconsupport
Latest Version 1.8.1-1

IconSupport is a library that helps icon-layout-modifying tweaks play nicely together.

Quoted from its depiction:

IconSupport is a package for use by extensions that modify how SpringBoard lays-out icons (such as extensions that change the number of icons shown per row/column).

Normally, syncing with iTunes or booting into Mobile Substrate's Safe Mode would cause these modified layouts to be reset; IconSupport prevents this.

IconSupport also handles repairing layouts when installing and uninstalling IconSupport-enabled extensions.

Quoted from the README of its source on GitHub:

Uses a unique ID for each combination of packages, so icon state is never lost via respring or uninstalling a new package.

How to use this library

Headers are available from IconSupport's GitHub project. If using Theos, place the headers in $THEOS/include/IconSupport.

Include directive

#import <IconSupport/ISIconSupport.h>

Packaging

Add to your package's control file:

  • , com.chpwn.iconsupport to the Depends field.

Usage

 %ctor {
	dlopen("/Library/MobileSubstrate/DynamicLibraries/IconSupport.dylib", RTLD_NOW);
	 [[%c("ISIconSupport") sharedInstance] addExtension:@"theNameOfMyExtension"];
}

External links