All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages
TyphoonConfigPostProcessor Class Reference
Inheritance diagram for TyphoonConfigPostProcessor:

Class Methods

(NSArray *) + availableExtensions
 list of all supported path extensions (configuration types) More...
 
(instancetype) + forResourceAtPath:
 Returns a post processor for the resource at the specified path. More...
 
(instancetype) + forResourceNamed:
 Returns a post processor for the bundle resource with the given name. More...
 
(instancetype) + forResourceNamed:inBundle:
 Returns a post processor for the bundle resource with the given name and bundle. More...
 
(instancetype) + processor
 
(void) + registerConfigurationClass:forExtension:
 You can manage TyphoonConfigPostProcessor registry by mapping configuration classes for file extensions Configuration class instance must conforms TyphoonConfiguration protocol. More...
 

Instance Methods

(void) - useResource:withExtension:
 Append TyphoonResource with specified extension (. More...
 
(void) - useResourceAtPath:
 Append resource loaded from file at path. More...
 
(void) - useResourceWithName:
 Append resource found in main bundle by name. More...
 
(void) - useResourceWithName:bundle:
 Append resource found by name and bundle. More...
 
- Instance Methods inherited from <TyphoonDefinitionPostProcessor>
(void) - postProcessDefinition:replacement:withFactory:
 Post process a definition. More...
 

Method Documentation

+ (NSArray *) availableExtensions

list of all supported path extensions (configuration types)

+ (instancetype) forResourceAtPath: (NSString *)  path

Returns a post processor for the resource at the specified path.

+ (instancetype) forResourceNamed: (NSString *)  resourceName

Returns a post processor for the bundle resource with the given name.

+ (instancetype) forResourceNamed: (NSString *)  resourceName
inBundle: (NSBundle *)  bundle 

Returns a post processor for the bundle resource with the given name and bundle.

+ (instancetype) processor
+ (void) registerConfigurationClass: (Class)  configClass
forExtension: (NSString *)  typeExtension 

You can manage TyphoonConfigPostProcessor registry by mapping configuration classes for file extensions Configuration class instance must conforms TyphoonConfiguration protocol.

- (void) useResource: (id< TyphoonResource >)  resource
withExtension: (NSString *)  typeExtension 

Append TyphoonResource with specified extension (.

See also
+ availableExtensions method)
- (void) useResourceAtPath: (NSString *)  path

Append resource loaded from file at path.

- (void) useResourceWithName: (NSString *)  name

Append resource found in main bundle by name.

- (void) useResourceWithName: (NSString *)  name
bundle: (NSBundle *)  bundle 

Append resource found by name and bundle.