jpsim / PeerKit

An open-source Swift framework for building event-driven, zero-config Multipeer Connectivity apps
MIT License
870 stars 72 forks source link

Removed explicit value for String-based enums #20

Closed tinoheth closed 8 years ago

tinoheth commented 8 years ago

Event.rawValue is generated automatically for each case, so it's not necessary to add the string values manually.

jpsim commented 8 years ago

Thanks! When this was written, Swift didn't have this feature 😄

tinoheth commented 8 years ago

Don't mind - Swift is a moving target... actually, my pull request wasn't up to date as well (wrong case for the cases ;-)

jpsim commented 8 years ago

heh, there's always more to do!