Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikolairuhe/unprefixedframeworkclasses
https://github.com/nikolairuhe/unprefixedframeworkclasses
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nikolairuhe/unprefixedframeworkclasses
- Owner: NikolaiRuhe
- Created: 2013-02-11T11:36:18.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-11T12:00:03.000Z (almost 12 years ago)
- Last Synced: 2024-11-16T07:40:57.107Z (2 months ago)
- Language: Objective-C
- Size: 121 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
UnprefixedFrameworkClasses
==========================This project tries to point out classes that are candidates for potential name clashes because they do not adhere to Apple's naming rules.
These rules [are decribed explicitly in the Apple developer documentation](http://developer.apple.com/library/ios/documentation/cocoa/conceptual/ProgrammingWithObjectiveC/Conventions/Conventions.html#//apple_ref/doc/uid/TP40011210-CH10-SW4).
[Bill Bumgarner acknowleges](http://stackoverflow.com/a/2849965/104790) the lack of a prefix for a system class to be a bug.
### What does this project do?
This test project explicitly loads framework bundles from /System/Library/Frameworks and /System/Library/PrivateFrameworks.
After that it scans all registered classes in the objc runtime to find classes that do not conform to Apple's naming rules.All non-conforming classes will be printed to the console, sorted by framework.
### Results
In iOS 6.1 on an iPhone 5 there are 767 classes (of 10,307) that do not adhere to the naming rules. Here's a small choice of those that are most likely to result in name clashes:
- Face (CoreImage)
- Once (Foundation)
- RotationLayer (UIKit)
- WhiteView (UIKit)
- Message(MIME.framework)
- Account(Message.framework)
- Connection(Message.framework)