Open seanlilmateus opened 4 years ago
It true, that was a bit of an unfortunate decision that happened that happened in one of the late nights eary in the project.
We might fix this somewhen, but security, stability and UX are more important right now. Would you be interested to start a PR?
Alright, I will remove the prefixes and create a PR
Great. A few remarks:
As the code base is not changing much anymore, are you still interested in updating the pull-request?
according to the Apple's docs the NS and UI prefixes are exclusively for Apple classes, otherwise your own classes could collide with future apple's classes
e.g.: NSTracingErrorView NSSimpleModuleBaseView UIStateManager
You Actually don't need class prefixes in Swift
Solution:
You could either create your own Prefix (following the Objective-C Prefix convention) or remove it completely
Why This should be fixed At the moment users might imply that those classes are coming from Apple, and look for its documentation on Apple's doc page