Objective-C XSLT CSS Swift Shell HTML Other
Latest commit 7938d65 Mar 15, 2017 @alexgarbarev alexgarbarev committed on GitHub Merge pull request #553 from 0xced/typo-TyphoonScopeLazySingleton
Fix TyphoonScopeLazySingleton typo in documentation
Permalink
Failed to load latest commit information.
.idea Making Typhoon swizzle-free for Assembly definitions. Nov 16, 2016
.scripts Convert tests to XCTest May 27, 2014
Resources Clean up docs. Feb 15, 2015
Source Fix TyphoonScopeLazySingleton typo in documentation Mar 13, 2017
Tests Merge branch 'storyboard-definitions' into v4 Nov 17, 2016
Typhoon.xcodeproj Assigning FactoryForResolvingUI for initial factory BEFORE factory in… Feb 10, 2017
Typhoon [Add]: Warnings Xcode configuration file Sep 21, 2015
TyphoonFrameworkSwiftExample All sources converted to Swift3 with automatic converter Nov 27, 2016
TyphoonFrameworkSwiftExampleTests All sources converted to Swift3 with automatic converter Nov 27, 2016
TyphoonTests Adding target for building Typhoon as a dynamic framework for iOS. This Dec 9, 2014
.gitattributes Use Copyright-Header.txt as template for the header. Dec 13, 2013
.gitignore [Add]: Ignore GCOV files generated by Xcode Sep 21, 2015
.gitmodules Removed the git submodule with OCLogTemplate, embedded it directly in… Sep 14, 2015
.swift-version Added swift version for cocoapods validation Nov 30, 2016
CHANGELOG.md Add missed issues in #354 Jun 11, 2015
Copyright-Header.txt Update Copyright-Header.txt Feb 17, 2015
Doxyfile Fix logo missing from docs. Feb 15, 2015
LICENSE First commit. Dec 30, 2012
MainPage.dox Clean up docs. Feb 15, 2015
README.md Update README.md Jan 5, 2017
StyleSettings.plist ObjClean style settings. Feb 4, 2014
Typhoon.podspec bump version Feb 10, 2017
build.sh Fixing build script for the CI server Jan 11, 2016
generate-docs.sh Add missing files. Dec 24, 2014
publish-build-results.sh Fix publish build results script. Mar 10, 2015

README.md

Typhoon

typhoonframework.org

Powerful dependency injection for Cocoa and CocoaTouch. Lightweight, yet full-featured and super-easy to use.

Not familiar with Dependency Injection?

Visit the Typhoon website for an introduction. There's also a nice intro over at Big Nerd Ranch, or here's an article, by John Reid. Quite a few books have been written on the topic, though we're not familiar with one that focuses specifically on Objective-C, Swift or Cocoa yet.

Is Typhoon the right DI framework for you?

Check out the feature list.

Looking for a pure Swift Solution?

We have you covered right here!


Usage

let assembly = MyAssembly().activated()
let viewControler = assembly.recommendationController() as! RecommendationController

Open Source Sample Applications

Have a Typhoon example app that you'd like to share? Great! Get in touch with us :)

Installing

CocoaPods Version Pod Platform Carthage compatible Dependency Status Pod License

Typhoon is available through CocoaPods or Carthage, and also builds easily from source.

##With CocoaPods . . .

###Static Library

# platform *must* be at least 5.0
platform :ios, '5.0'

target :MyAppTarget, :exclusive => true do

pod 'Typhoon'

end

###Dynamic Framework

If you're using Swift, you may wish to install dynamic frameworks, which can be done with the Podfile shown below:

# platform *must* be at least 8.0
platform :ios, '8.0'

# flag makes all dependencies build as frameworks
use_frameworks!

# framework dependencies
pod 'Typhoon'

Simply import the Typhoon module in any Swift file that uses the framework:

import Typhoon

##With Carthage

github "appsquickly/Typhoon"

##From Source

Alternatively, add the source files to your project's target or set up an Xcode workspace.

NB: All versions of Typhoon work with iOS5 and up (and OSX 10.7 and up), iOS8 is only required if you wish to use dynamic frameworks.


Feedback

I'm not sure how to do [xyz]

If you can't find what you need in the Quick Start or User Guides above, then Typhoon users and contributors monitor the Typhoon tag on Stack Overflow. Chances are your question can be answered there.

I've found a bug, or have a feature request

Please raise a GitHub issue.

Interested in contributing?

Great! Here's the contribution guide.

I'm blown away!

Typhoon is a non-profit, community driven project. We only ask that if you've found it useful to star us on Github or send a tweet mentioning us (@appsquickly). If you've written a Typhoon related blog or tutorial, or published a new Typhoon powered app, we'd certainly be happy to hear about that too.

Typhoon is sponsored and lead by AppsQuick.ly with contributions from around the world.


© 2012 - 2015 Jasper Blues, Aleksey Garbarev and contributors.