Skip to content

Conversation

@hishamabri
Copy link

Thanks for the great tool!

Just a simple addition that allows the addition of events using notation.
Example from the README file:

[inboxStateMachine addEventWithNotation:@"Deleted->UnDelete->Read"];

Which adds an event named 'UnDelete' for transitions from the Deleted state to the Read state.
I found this useful and more visual in my opinion.

The user can comma separate the source states:

[inboxStateMachine addEventWithNotation:@"Read,Deleted->Mark as Unread->Read"];

Added a few tests to accomodate the new changes.
Hope everything is up to standard.

Cheers,
Hisham

@hishamabri
Copy link
Author

Not sure why Travis CI keeps failing with:
The command "gem install cocoapods" failed and exited with 1 during .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant