Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Generics implementation #1
I bet there is a reason behind it, so it's JUSTanidea. But I think this small change helps keeping everything together by avoiding all those
Anyway, thanks for the cool code!
Thanks a lot @mcomisso! I was talking about this with @MarcoSantarossa yesterday who was proposing to avoid rawValue with (I believe) a very similar solution! Using generics is definitely a good idea, I didn't get that far as I stopped after a simple brainless conversion of ADBStateMachine to Swift.