-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels