-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from trafi/spm
Spm 📦
- Loading branch information
Showing
23 changed files
with
59 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// swift-tools-version:5.0 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "StoryFlow", | ||
platforms: [ | ||
.iOS(.v10), | ||
], products: [ | ||
// Products define the executables and libraries produced by a package, and make them visible to other packages. | ||
.library( | ||
name: "StoryFlow", | ||
targets: ["StoryFlow"]), | ||
], | ||
dependencies: [ | ||
// Dependencies declare other packages that this package depends on. | ||
// .package(url: /* package url */, from: "1.0.0"), | ||
], | ||
targets: [ | ||
// Targets are the basic building blocks of a package. A target can define a module or a test suite. | ||
// Targets can depend on other targets in this package, and on products in packages which this package depends on. | ||
.target( | ||
name: "StoryFlow", | ||
dependencies: []), | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...low/ImplicitFlow/ImplicitFlow+OneOf.swift → ...low/ImplicitFlow/ImplicitFlow+OneOf.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...itFlow/ImplicitFlow+OutputTransform.swift → ...itFlow/ImplicitFlow+OutputTransform.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import Foundation | ||
import UIKit | ||
|
||
typealias ValueAndType = (value: Any, type: Any.Type) | ||
|
||
|
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
...low/Interfaces/Helpers/Combinations.swift → ...low/Interfaces/Helpers/Combinations.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
import UIKit | ||
|
||
public typealias IO = InputRequiring & OutputProducing | ||
public typealias IOU = InputRequiring & OutputProducing & UpdateHandling |
1 change: 1 addition & 0 deletions
1
...s/Helpers/Internal/AssociatedObject.swift → ...s/Helpers/Internal/AssociatedObject.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import Foundation | ||
import UIKit | ||
|
||
extension NSObject { | ||
|
||
|
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...erfaces/Helpers/Internal/FatalError.swift → ...erfaces/Helpers/Internal/FatalError.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...terfaces/Helpers/Internal/MainTread.swift → ...terfaces/Helpers/Internal/MainTread.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import Foundation | ||
import UIKit | ||
|
||
extension Thread { | ||
|
||
|
1 change: 1 addition & 0 deletions
1
StoryFlow/Interfaces/Helpers/OneOf.swift → .../StoryFlow/Interfaces/Helpers/OneOf.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import Foundation | ||
import UIKit | ||
|
||
public indirect enum OneOf2<T1, T2> { | ||
case t1(T1), t2(T2) | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
StoryFlow/Interfaces/UpdateHandling.swift → ...StoryFlow/Interfaces/UpdateHandling.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import Foundation | ||
import UIKit | ||
|
||
public protocol UpdateHandling: _AnyUpdateHandling { | ||
associatedtype UpdateType | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters