-
Notifications
You must be signed in to change notification settings - Fork 268
Plist Integration
jasperblues edited this page Dec 23, 2014
·
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 and your plist contains a UILaunchStoryboardName
and UIMainStoryboardFile
then Typhoon's Storyboards support will be available.
Something still not clear? How about posting a question on StackOverflow.
Get started in two minutes.
Get familiar with Typhoon.
- Types of Injections
- What can be Injected
- Auto-injection (Objective-C)
- Scopes
- Storyboards
- TyphoonLoadedView
- Activating Assemblies
Become a Typhoon expert.
For contributors or curious folks.