Skip to content
CoolStar edited this page Jan 20, 2017 · 4 revisions

Note: This page is new and new extensibility features may be added on request for developers.

Anemone is extensible and allows 3rd party extensions to further extend its functionality!

Basic Anemone functions are provided by a tiny yet powerful core (AnemoneCore.dylib), which provides settings management, basic path finder functionality and a few required low-level hooks.

Anemone by default ships with several extensions:

  • AnemoneColors (AnemoneColors.dylib): Color and Blur style theming
  • AnemoneDock (AnemoneDock.dylib): Dock theming
  • AnemoneFonts (AnemoneFonts.dylib): Font theming
  • AnemoneHTML (AnemoneHTML.dylib) [requires iOS 9+]: HTML Wallpapers
  • AnemoneIconEffects (z_AnemoneIconEffects.dylib): Icon Overlays and Shadows
  • AnemoneIcons (AnemoneIcons.dylib): Home Screen and Share Sheet Icons (via IconBundles)
  • AnemoneMask (AnemoneMask.dylib): Icon Masks
  • AnemoneUIKit (AnemoneUIKit.dylib): Car Assets, Artwork files, Sound and high-level Image theming
  • AnemoneSpringBoard (Anemone.dylib): Badges, Calendar Text, Clock and Page Dot theming

Anemone by nature is designed to be modular and supports 3rd party extensions.

APIs

Public Header:

	@interface ANEMSettingsManager : NSObject {
		NSArray *_themeSettings;
	}
	+ (instancetype)sharedManager;
	- (NSArray *)themeSettings;
	- (NSString *)themesDir;
	- (void)forceReloadNow;
	- (void)addEventHandler:(NSObject<AnemoneEventHandler> *)handler;
	@end

ANEMSettingsManager is a singleton class in AnemoneCore which provides basic settings management.

-(NSString *)themesDir

Specifies the directory to search for themes.

-(NSArray *)themeSettings

Retrieve an ordered list of enabled themes to search from.

- (void)forceReloadNow

Force Anemone to immediately reload all theme settings and image caches in the current process's (usually SpringBoard's) memory. Note: This method does not clear Optitheme cache. To clear Optitheme cache, run recache --no-respring.

- (void)addEventHandler:(NSObject *)handler

Add an event handler to handle events such as No No Respring Theme Switch