Swiftpack.co - Package - locationlabs/Gorgon


Build Status

Gorgon is lightweight abstraction for distributing the responsibility of the UIApplicationDelegate into several single responsibility daemons.

In operating system computing, a daemon is a process that runs in the background rather than being controlled by the user. Gorgon borrows from this concept to break up the UIApplicationDelegate that responds to the UIApplication singleton events into daemons which are started when the application starts (therefore exist for the life of the application) and wait to be triggered by the DaemonManager. The user never interacts with the daemons directly.


  • [X] Breaks up UIApplicationDelegate across several single responsibility classes.
  • [X] Handles delegation of system application events to respective daemon types.

Gorgon works best when used with Cobra, an application routing framework written in Swift and Mocassin, Xcode templates that provides a variation of VIPER architecture for iOS applications.

See Boa, a sample app written in Swift, for details.


  • iOS 8+
  • Swift 3
  • Xcode 8+


Gorgon is available through CocoaPods.


To install Gorgon with CocoaPods, add the following lines to your Podfile.

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'

pod 'Gorgon', '~> 4.0'

Then run pod install command. For details of the installation and usage of CocoaPods, visit its official website.


To install Gorgon with Carthage, add the following line to your Cartfile.

github "locationlabs/Gorgon" ~> 4.0

Then run carthage update. For details of the installation and usage of Carthage, visit its project page.




This is the initial port of an internal framework developed at Location Labs for building modular iOS applications. Be it that this library used to be used internally there are things that haven't been implemented yet...

  • [ ] Documentation
  • [ ] Installation guide
  • [ ] More unit tests
  • [ ] Swift Package Manager support
  • [ ] TvOS, WatchOS, MacOS support
  • [ ] Swiftlint support
  • [ ] Provide contribution guidelines


Stars: 7
Help us keep the lights on


Used By

Total: 0


4.0.0 - Jul 14, 2017

Update min deployment version to 9.0

3.1.0 - May 27, 2017

Forwarding invalidate push delegate methods to daemon.

3.0.0 - Mar 7, 2017

2.1.0 - Feb 21, 2017

2.0.0 - Dec 21, 2016

Swift3 support.