JohnCoatesOSS / Limitless

Fork of Cydia. Different name to avoid confusion. Goal: Refactor Cydia to make contributions easier. Backport features to Cydia's coding style so they can be submitted for consideration.
GNU General Public License v3.0
155 stars 28 forks source link

Remove Class Prefixes #98

Closed JohnCoates closed 7 years ago

JohnCoates commented 7 years ago

I've been encouraging contributors to create new classes with the LMX prefix, and have set the Xcode project to auto-prefix with that. In researching prefixes however, I recently learned that the recommended 3 letter prefixes no longer stands true for app code.

Quoting Apple from http://scottberrevoets.com/2014/07/25/objective-c-prefixes-a-thing-of-the-past/:

After much deliberation, engineering has removed this feature. This was removed intentionally. We are no longer encouraging the use of prefixes for app code, and for frameworks, you can create a prefix in the Project Inspector after creating the project.

Moving forward, we should remove any class prefixes.