Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ah, right. Yeah, that is surprisingly bad! Why wouldn't they at least generate enums!


  > 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




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: