Hacker News new | ask | show | jobs
by robertlagrant 489 days ago
Ah, right. Yeah, that is surprisingly bad! Why wouldn't they at least generate enums!
1 comments

  > Why wouldn't they at least generate enums!
they do but its going through objective-c which inherits c enums (which are basically integers) so when you use it from swift its like switching over an unbounded set so you always have to handle "default" cases leading to bugs compared to usage from android