PixateFreestyle Class Reference
| Inherits from | NSObject |
| Declared in | PixateFreestyle.h |
Tasks
Other Methods
-
+ versionThe version number of the Pixate Engine
-
+ buildDateThe build date of this version of the Pixate Engine
-
+ apiVersionThe api integer version of the API
-
+ configurationA property used to configure options in the Pixate
-
+ refreshStylesWithOrientationChangeThis property, when set to YES, automatically refreshes styling when the orientation of your device changes. This is set to NO by default.
-
+ initializePixateFreestyleThis is required before styling can occur.
-
+ selectFromStyleable:usingSelector:Return a collection of all styleables that match the specified selector. Note that the selector runs against views that are in the current view tree only.
-
+ matchingRuleSetsForStyleable:Return a string representation of all active rule sets matching the specified styleable
-
+ matchingDeclarationsForStyleable:Return a string representation of all active declarations that apply to the specified styleable. Note that the list shows the result of merging all matching rule sets, taking specificity and duplications into account.
-
+ styleSheetFromSource:withOrigin:Allocate and initialize a new stylesheet using the specified source and stylesheet origin
-
+ styleSheetFromFilePath:withOrigin:Allocate and initialize a new styleheet for the specified path and stylesheet origin
-
+ currentApplicationStylesheetA class-level getter returning the current application-level stylesheet. This value may be nil
-
+ currentUserStylesheetA class-level getter returning the current user-level stylesheet. This value may be nil
-
+ currentViewStylesheetA class-level getter returning the current view-level stylesheet. This value may be nil
-
+ applyStylesheetsCalls updateStylesForAllViews. Please call updateStylesForAllViews directly.
-
+ updateStylesForAllViewsUpdate styles for all windows and all if their subviews.
-
+ updateStyles:Update styles for this styleable and all of its descendant styleables
-
+ updateStylesNonRecursively:Update styles for this styleable only
-
+ updateStylesAsync:Update styles for this styleable and all of its descendant styleables asynchronously
-
+ updateStylesNonRecursivelyAsync:Update styles for this styleable only asynchronously
-
+ clearImageCacheRemove all content from Pixate’s image cache, if one is being used
-
+ clearStyleCacheRemove all content from Pixate’s style cache, if one is being used
Extension Methods
-
+ sharedInstanceThe shared instance of the Pixate singleton.
Class Methods
apiVersion
The api integer version of the API
+ (int)apiVersionDiscussion
The api integer version of the API
Declared In
PixateFreestyle.happlyStylesheets
Calls updateStylesForAllViews. Please call updateStylesForAllViews directly.
+ (void)applyStylesheetsDiscussion
Calls updateStylesForAllViews. Please call updateStylesForAllViews directly.
Declared In
PixateFreestyle.hbuildDate
The build date of this version of the Pixate Engine
+ (NSDate *)buildDateDiscussion
The build date of this version of the Pixate Engine
Declared In
PixateFreestyle.hclearImageCache
Remove all content from Pixate’s image cache, if one is being used
+ (void)clearImageCacheDiscussion
Remove all content from Pixate’s image cache, if one is being used
Declared In
PixateFreestyle.hclearStyleCache
Remove all content from Pixate’s style cache, if one is being used
+ (void)clearStyleCacheDiscussion
Remove all content from Pixate’s style cache, if one is being used
Declared In
PixateFreestyle.hconfiguration
A property used to configure options in the Pixate
+ (PixateFreestyleConfiguration *)configurationDiscussion
A property used to configure options in the Pixate
Declared In
PixateFreestyle.hcurrentApplicationStylesheet
A class-level getter returning the current application-level stylesheet. This value may be nil
+ (PXStylesheet *)currentApplicationStylesheetDiscussion
A class-level getter returning the current application-level stylesheet. This value may be nil
Declared In
PixateFreestyle.hcurrentUserStylesheet
A class-level getter returning the current user-level stylesheet. This value may be nil
+ (PXStylesheet *)currentUserStylesheetDiscussion
A class-level getter returning the current user-level stylesheet. This value may be nil
Declared In
PixateFreestyle.hcurrentViewStylesheet
A class-level getter returning the current view-level stylesheet. This value may be nil
+ (PXStylesheet *)currentViewStylesheetDiscussion
A class-level getter returning the current view-level stylesheet. This value may be nil
Declared In
PixateFreestyle.hinitializePixateFreestyle
This is required before styling can occur.
+ (void)initializePixateFreestyleDiscussion
This is required before styling can occur.
Declared In
PixateFreestyle.hmatchingDeclarationsForStyleable:
Return a string representation of all active declarations that apply to the specified styleable. Note that the list shows the result of merging all matching rule sets, taking specificity and duplications into account.
+ (NSString *)matchingDeclarationsForStyleable:(id<PXStyleable>)styleableParameters
- styleable
The styleable to match
Discussion
Return a string representation of all active declarations that apply to the specified styleable. Note that the list shows the result of merging all matching rule sets, taking specificity and duplications into account.
Declared In
PixateFreestyle.hmatchingRuleSetsForStyleable:
Return a string representation of all active rule sets matching the specified styleable
+ (NSString *)matchingRuleSetsForStyleable:(id<PXStyleable>)styleableParameters
- styleable
The styleable to match
Discussion
Return a string representation of all active rule sets matching the specified styleable
Declared In
PixateFreestyle.hrefreshStylesWithOrientationChange
This property, when set to YES, automatically refreshes styling when the orientation of your device changes. This is set to NO by default.
+ (BOOL)refreshStylesWithOrientationChangeDiscussion
This property, when set to YES, automatically refreshes styling when the orientation of your device changes. This is set to NO by default.
Declared In
PixateFreestyle.hselectFromStyleable:usingSelector:
Return a collection of all styleables that match the specified selector. Note that the selector runs against views that are in the current view tree only.
+ (NSArray *)selectFromStyleable:(id<PXStyleable>)styleable usingSelector:(NSString *)sourceParameters
- styleable
The root of the tree to search
- source
The selector to use for matching
Discussion
Return a collection of all styleables that match the specified selector. Note that the selector runs against views that are in the current view tree only.
Declared In
PixateFreestyle.hsharedInstance
The shared instance of the Pixate singleton.
+ (PixateFreestyle *)sharedInstanceDiscussion
The shared instance of the Pixate singleton.
Declared In
PixateFreestyle-Private.hstyleSheetFromFilePath:withOrigin:
Allocate and initialize a new styleheet for the specified path and stylesheet origin
+ (id)styleSheetFromFilePath:(NSString *)filePath withOrigin:(PXStylesheetOrigin)originParameters
- filePath
The string path to the stylesheet file
- origin
The specificity origin for this stylesheet
Discussion
Allocate and initialize a new styleheet for the specified path and stylesheet origin
Declared In
PixateFreestyle.hstyleSheetFromSource:withOrigin:
Allocate and initialize a new stylesheet using the specified source and stylesheet origin
+ (id)styleSheetFromSource:(NSString *)source withOrigin:(PXStylesheetOrigin)originParameters
- source
The CSS source for this stylesheet
- origin
The specificity origin for this stylesheet
Discussion
Allocate and initialize a new stylesheet using the specified source and stylesheet origin
Declared In
PixateFreestyle.hupdateStyles:
Update styles for this styleable and all of its descendant styleables
+ (void)updateStyles:(id<PXStyleable>)styleableParameters
- styleable
The styleable to update
Discussion
Update styles for this styleable and all of its descendant styleables
Declared In
PixateFreestyle.hupdateStylesAsync:
Update styles for this styleable and all of its descendant styleables asynchronously
+ (void)updateStylesAsync:(id<PXStyleable>)styleableParameters
- styleable
The styleable to update
Discussion
Update styles for this styleable and all of its descendant styleables asynchronously
Declared In
PixateFreestyle.hupdateStylesForAllViews
Update styles for all windows and all if their subviews.
+ (void)updateStylesForAllViewsDiscussion
Update styles for all windows and all if their subviews.
Declared In
PixateFreestyle.hupdateStylesNonRecursively:
Update styles for this styleable only
+ (void)updateStylesNonRecursively:(id<PXStyleable>)styleableParameters
- styleable
The styleable to update
Discussion
Update styles for this styleable only
Declared In
PixateFreestyle.h