Skip to content

Method names violate Cocoa naming conventions #12

@shultzc

Description

@shultzc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions