Skip to content

Instantly share code, notes, and snippets.

@aaronschubert0
Created January 29, 2016 13:48
Show Gist options
  • Save aaronschubert0/9ce1bcc42626f5e3be0c to your computer and use it in GitHub Desktop.
Save aaronschubert0/9ce1bcc42626f5e3be0c to your computer and use it in GitHub Desktop.
ReSwift
struct SwitchEpisodeAction: Action {
let episode: STVEpisode
}
struct AddShowToFavouritesAction: Action {
let show: STVShow
}
struct PlayEpisodeAction: Action {
let episode: STVEpisode
}
// OR
struct SwitchEpisodeAction: Action {
let episodeGUID: String
}
struct AddShowToFavouritesAction: Action {
let showGUID: String
}
struct PlayEpisodeAction: Action {
let episodeGUID: String
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment