Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
Coeur committed Aug 16, 2015
1 parent 4c4b69f commit 1601f18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Code/TKStateMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,12 @@ extern NSString *const TKErrorDomain;
extern NSString *const TKStateMachineDidChangeStateNotification;

/**
A key in the `userInfo` dictionary of a `TKStateMachineDidChangeStateNotification` notification specifying the state of the machine before the transition occured.
A key in the `userInfo` dictionary of a `TKStateMachineDidChangeStateNotification` notification specifying the state of the machine before the transition occurred.
*/
extern NSString *const TKStateMachineDidChangeStateOldStateUserInfoKey DEPRECATED_MSG_ATTRIBUTE("Use TKStateMachineDidChangeStateTransitionUserInfoKey instead (transition.sourceState).");

/**
A key in the `userInfo` dictionary of a `TKStateMachineDidChangeStateNotification` notification specifying the state of the machine after the transition occured.
A key in the `userInfo` dictionary of a `TKStateMachineDidChangeStateNotification` notification specifying the state of the machine after the transition occurred.
*/
extern NSString *const TKStateMachineDidChangeStateNewStateUserInfoKey DEPRECATED_MSG_ATTRIBUTE("Use TKStateMachineDidChangeStateTransitionUserInfoKey instead (transition.destinationState).");

Expand Down
4 changes: 2 additions & 2 deletions Code/TKTransition.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
///----------------------------

/**
Creates and returns a new transition object describing a state change occuring within a state machine in response to the firing of an event.
Creates and returns a new transition object describing a state change occurring within a state machine in response to the firing of an event.
@param event The event being fired that is causing the transition to occur.
@param sourceState The state of the machine when the event was fired.
@param stateMachine The state machine in which the transition is occurirng.
@param stateMachine The state machine in which the transition is occurring.
@param userInfo An optional dictionary of user info supplied with the event when it was fired.
*/
+ (instancetype)transitionForEvent:(TKEvent *)event fromState:(TKState *)sourceState inStateMachine:(TKStateMachine *)stateMachine userInfo:(NSDictionary *)userInfo;
Expand Down

0 comments on commit 1601f18

Please sign in to comment.