Closed dtrenz closed 8 years ago
Needs merge!
Happy to merge this now, but I would need write access to be able to do so :)
@stu Plz hold, updates incoming!
Yes, in order to get Swift to auto-generate a member-wise init method: https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/Initialization.html#//apple_ref/doc/uid/TP40014097-CH18-ID214
I feel like you should be allowed to use let
constants for this, too, but the compiler disagreed.
Huh, TIL that!
Gave up on running tests in Travis CI. :disappointed:
:/
OK – assuming the CI build passes – this PR should be good to merge.
Includes
If the developer/consumer wants to use the default configuration JSON file format, the built-in parser will be used (
LaunchGateDefaultParser
).If the dev wants or needs to use a custom formatted JSON file, they will need to implement their own parser class that conforms to the
LaunchGateParser
protocol, and set an instance of the custom parser on theLaunchGate
instance.Example:
Closes #2