-
Notifications
You must be signed in to change notification settings - Fork 3
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 #9 from jemmons/feature/publsiher-exploration
Property Wrappers and Breaking Changes
- Loading branch information
Showing
52 changed files
with
1,999 additions
and
2,865 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 |
---|---|---|
@@ -1,32 +1,3 @@ | ||
# Xcode | ||
# | ||
.DS_Store | ||
build/ | ||
.build/ | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata | ||
*.xccheckout | ||
*.moved-aside | ||
DerivedData | ||
*.hmap | ||
*.ipa | ||
*.xcuserstate | ||
|
||
# CocoaPods | ||
# | ||
# We recommend against adding the Pods directory to your .gitignore. However | ||
# you should judge for yourself, the pros and cons are mentioned at: | ||
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control | ||
# | ||
# Pods/ | ||
|
||
# Carthage | ||
|
||
Carthage/ | ||
.swiftpm/ |
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
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
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
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,63 @@ | ||
import Foundation | ||
|
||
|
||
|
||
/** | ||
- Warning: Obsolete. Use `Transitionable` instead. | ||
*/ | ||
@available(*, unavailable, renamed: "Transitionable") | ||
public typealias StateType = Transitionable | ||
|
||
|
||
public extension StateMachine { | ||
/** | ||
- Warning: Obsolete. Subscribe to `publisher` instead. | ||
*/ | ||
@available(*, unavailable, message: "Subscribe to `publisher` instead.") | ||
struct StateTransitionDelegates { | ||
/** | ||
- Warning: Obsolete. Subscribe to `publisher` instead. | ||
*/ | ||
@available(*, unavailable, message: "Subscribe to `publisher` instead.") | ||
public var didTransition: ((_ from: State, _ to: State) -> Void)? | ||
} | ||
|
||
|
||
/** | ||
- Warning: Obsolete. Subscribe to `publisher` instead. | ||
*/ | ||
@available(*, unavailable, message: "Subscribe to `publisher` instead.") | ||
var delegates: StateTransitionDelegates { | ||
get { StateTransitionDelegates() } | ||
set { } | ||
} | ||
|
||
|
||
/** | ||
- Warning: Obsolete. Use `trasition(to:)` instead. | ||
*/ | ||
@available(*, unavailable, renamed: "transition(to:)") | ||
public func queue(_ state: State) {} | ||
} | ||
|
||
|
||
|
||
/** | ||
- Warning: Obsolete. States are now assigned syncronously in the current run loop. Debug notifications are no longer needed. | ||
*/ | ||
@available(*, unavailable, message: "States are now assigned syncronously in the current run loop. Debug notifications are no longer needed.") | ||
public enum GauntletNotification { | ||
/** | ||
- Warning: Obsolete. States are now assigned syncronously in the current run loop. Debug notifications are no longer needed. | ||
*/ | ||
@available(*, unavailable, message: "States are now assigned syncronously in the current run loop. Debug notifications are no longer needed.") | ||
public static let willTransition = Notification.Name(rawValue: "GauntletWillTransitionNotification") | ||
|
||
|
||
/** | ||
- Warning: Obsolete. States are now assigned syncronously in the current run loop. Debug notifications are no longer needed. | ||
*/ | ||
@available(*, unavailable, message: "States are now assigned syncronously in the current run loop. Debug notifications are no longer needed.") | ||
public static let didTransition = Notification.Name(rawValue: "GauntletDidTransitionNotification") | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.