New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some file names should drop NS Prefix #285
Comments
Thanks for pointing that out! I always saw that but never remembered to open an issue. |
@lfarah we just can rename files and it will not break projects at least which uses cocoapods/carthage. P.S. the same. I always see, but always forget :) |
@piv199 but we still need to rename the classes and that will definitely break a looot of things |
@lfarah What classes are you gonna rename that will break compatibility? |
@piv199 it's not compatibility, but if people were using... hmmm thinking about it, it really doesn't matter because in Xcode 8 the compiler won't let you use, for example, |
So the compiler will think we're extending NSTimer whether we extend NSTimer or Timer? |
IIRC the NS namespace is a legacy and is no hurry to be replaced. In my opinion the since files are not exposed to the consumer it does not make any difference to the end user. e.g no one would use import NSBundleExtensions Moreover if the underlying data type retains the NS prefix, it will end up confusing contributors on what exactly is being extended. |
@goktugyil do you wanna open a PR since it involves file changing? |
Sure |
Thanks @furuyan |
We can possibly change nsurls in url file to no prefix urls, not sure if those would break anything or not. |
Some file names and implementations isn't match.
e.g.
So i think we should rename some files.
Target is below.
The text was updated successfully, but these errors were encountered: