tasermonkey/iphone-passwordmaker — Issue #12: Method names violate Cocoa naming conventions
Author: shultzc
Created: 2012-01-24 02:52:46+00:00
State: open

Consider, e.g., the -allocTextField: methods in RootViewController.m. These return +1 retained objects, but their names indicate autoreleasing behavior.

Aside from confusion, this may break under ARC in future builds.

Methods should be renamed, e.g., -initTextField:...

Similarly, methods such as -makeCellWithLabel:... should be named, e.g., -cellWithLabel:... This is less of an issue (since I don't think Clang, ARC, etc. will misinterpret "make") but is still inconsistent with Cocoa naming conventions.

With your consent, I can prepare a patch to address these issues.