"Imported NS_ENUM types with undocumented values, such as UIViewAnimationCurve…" oh jesus that one's my fault 🙈
Conversation
what this best way to make my own NS_ENUM in swift? Using swift enums, I have to use .rawValue everywhere.
1
What are you trying to do?
1
I want to make an enum for error code ints that I pass to NSError. Then, I can have an NSError extension for my errors
1
Replying to
Ah, right. Yes, I just use .rawValue for that.
Replying to
I liked how NS_ENUMs for those because they slid directly into old APIs

