-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Closed
Labels
PrintAsClangArea → compiler: The PrintAsClang libraryArea → compiler: The PrintAsClang librarycompilerThe Swift compiler itselfThe Swift compiler itselfgood first issueGood for newcomersGood for newcomersimprovement
Description
| Previous ID | SR-1802 |
| Radar | None |
| Original Reporter | kkoval (JIRA User) |
| Type | Improvement |
| Status | Resolved |
| Resolution | Done |
Additional Detail from JIRA
| Votes | 0 |
| Component/s | Compiler |
| Labels | Improvement, PrintAsObjC, StarterBug |
| Assignee | kkoval (JIRA) |
| Priority | Medium |
md5: 23bdb72998f4fd08bd4876e7a13f1fe0
Issue Description:
With new lowercase enum naming in Swift, they are exposed to objc with lowercase.
This naming makes it hard to find which part is a name of a type (Event) and which is a enum case (search)
Example:
@objc enum Event: Int {
case search
}
typedef SWIFT_ENUM(NSInteger, Event) {
Eventsearch = 0,
};I feel It would be better if enum cases would be expose to Objc as UpperCase
typedef SWIFT_ENUM(NSInteger, Event) {
EventSearch = 0,
};Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
PrintAsClangArea → compiler: The PrintAsClang libraryArea → compiler: The PrintAsClang librarycompilerThe Swift compiler itselfThe Swift compiler itselfgood first issueGood for newcomersGood for newcomersimprovement