Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Naming of things #3
While it uglifies the code, it is best practice to prefix both class names and any category methods with some uniquish characters. JJD would be appropriate. Without namespaces in Cocoa, this provides a level of protection against collision if another set of source code. or a library or framework, also defines a similar thing called FileReader or implements a similarly named category method on NSData.
Cocoa will happily pick one, and it might not be the one you want, even if you omit the header files for colliding names.