ShinobiEssentials is a global utility class for the ShinobiEssentials framework.
It allows you to do the following:
Get information on the version of the framework
For trial versions of ShinobiEssentials, it allows you to set the trial key. This enables you to use the framework for the duration of the trial period.
It defines a global theme. If a SEssentialsStyle object is not created with a specific instance of a theme, it uses the global theme. This allows us to define a common appearance for all controls within an application.
SEssentialsTheme *globalTheme = [ ShinobiEssentials theme];
If you wish to change the current global theme then use
[ ShinobiEssentials setTheme:[ SEssentialsDarkTheme new]];
To change the primary tint color on all controls using the theme you would use the following code
globalTheme.primaryTintColor = [ UIColor redColor];
Returns the version number of the framework, and the date on which it was built.
+ (NSString *)getInfo
Sets the trial license key for the trial version of the ShinobiEssentials framework. You will be emailed the trial license key when you download the framework.
+ (void)setLicenseKey:(NSString *)licenseKey
Warning: DEPRECATED. You should use the
+ (void)setTheme:(SEssentialsTheme *)theme
The global theme, which is used by default when creating any new ShinobiEssentials controls. This defaults to
SEssentialsIOS7Theme when the framework is run in iOS7, and
SEssentialsDarkTheme for previous versions of iOS.
+ (SEssentialsTheme *)theme
Verifies the trial license key. Each control in the framework does this when they are initialized.
Warning: DEPRECATED. You should use
[ShinobiEssentials verifyTrialKey] instead.