forked from appsquickly/typhoon
-
Notifications
You must be signed in to change notification settings - Fork 0
Plist Integration
Egor Tolstoy edited this page Nov 2, 2015
·
5 revisions
##Plist integration (fully Typhoon-powered apps).
Tight integration is available for an app that is fully Typhoon-powered. This has the following advantages:
- Non-invasive : No references to Typhoon in your code-base, except for resolution of components via assembly interfaces.
- Supports UIStateRestoration in storyboards.
If you have a specific iPhone or iPad assembly, the following keys take precedence over 'TyphoonInitialAssemblies'
- TyphoonInitialAssemblies(iPhone)
- TyphoonInitialAssemblies(iPad)
- (AppDelegate *)appDelegate
{
return [TyphoonDefinition withClass:[AppDelegate class]
configuration:^(TyphoonDefinition *definition)
{
[definition injectProperty:@selector(rootController)
with:[self rootController]];
}];
}
##Storyboards
If your application has Storyboards - all of them are activated automatically. If you want to disable this feature for some of them - use TyphoonCleanStoryboards
key.
Something still not clear? How about posting a question on StackOverflow.
Get started in two minutes.
Get familiar with Typhoon.
- [Types of Injections](Types of Injections)
- [What can be Injected](What can be Injected)
- Auto-injection (Objective-C)
- Scopes
- Storyboards
- TyphoonLoadedView
- Activating Assemblies
Become a Typhoon expert.
For contributors or the just plain curious.