Post

Replies

Boosts

Views

Activity

Comment on guarding on enum value
Instead of extending Equatable, you can just have RawValue and compare it: if A.rawValue != B.rawValue { ... }
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’23