Dixie Class Reference
Inherits from | NSObject |
Declared in | Dixie.h Dixie.m |
Overview
Represents a Dixie configuration.
Fluent API of Dixie for easier configuration @code [Dixie new].Profile(aProfile).Apply();
Instance Methods
apply
Applies the Dixie configuration.
- (void)apply
Discussion
Applies the Dixie configuration.
Declared In
Dixie.h
apply:
Applies the Dixie configuration with the specified seed (used for random generation).
- (void)apply:(id)seed
Parameters
- seed
The seed for random generation
Discussion
Applies the Dixie configuration with the specified seed (used for random generation).
Declared In
Dixie.h
profile:
Registers a single profiles.
- (instancetype)profile:(id)profile
Parameters
- profile
A DixieProfileEntry objects.
Return Value
Same Dixie object.
Discussion
Registers a single profiles.
Declared In
Dixie.h
profiles:
Registers profiles.
- (instancetype)profiles:(id)arrayOfEntries
Parameters
- arrayOfEntries
Collection of DixieProfileEntry objects.
Return Value
Same Dixie object.
Discussion
Registers profiles.
Declared In
Dixie.h
puppetMaker:
Sets the default puppetmaker
- (instancetype)puppetMaker:(id)puppetMaker
Parameters
- puppetMaker
An object that conforms to the PuppetMaking protocol.
Return Value
The active Dixie object
Discussion
Sets the default puppetmaker
Declared In
Dixie.h
revert
Reverts the Dixie configuration.
- (void)revert
Discussion
Reverts the Dixie configuration.
Declared In
Dixie.h
revert:
Reverts one DixieProfileEntry from the Dixie configuration.
- (void)revert:(id)entry
Parameters
- entry
The profile to revert
Discussion
Reverts one DixieProfileEntry from the Dixie configuration.
Declared In
Dixie.h