Skip to content

Commit 29b3d18

Browse files
authored
Update README.md
1 parent 607853b commit 29b3d18

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,6 @@ class SetCounterAction: Action {
243243
init(counter: Int) {
244244
self.counter = counter
245245
}
246-
247-
public func isEqual(to other: Action) -> Bool {
248-
guard let action = other as? SetCounterAction else { return false }
249-
guard counter == action.counter else { return false }
250-
return true
251-
}
252246
}
253247

254248
// This is the response
@@ -259,12 +253,6 @@ class SetCounterActionLoaded: Action {
259253
init(counter: Int) {
260254
self.counter = counter
261255
}
262-
263-
public func isEqual(to other: Action) -> Bool {
264-
guard let action = other as? SetCounterActionLoaded else { return false }
265-
guard counter == action.counter else { return false }
266-
return true
267-
}
268256
}
269257

270258
// As you can see, both seems to be the same, same parameters, initializer, etc. But next, we define our StoreController.

0 commit comments

Comments
 (0)