Guidelines for naming classes in Objective-C

后端 未结 4 2044
孤街浪徒
孤街浪徒 2020-12-18 07:48

First of all, there are no namespaces in Objective-C, that\'s one thing. But when a project increases in size and files, and UITableCellViews and other subviews are added, n

4条回答
  •  悲哀的现实
    2020-12-18 08:21

    for subclasses besides UIViewController, (like custom table cells, or UIView's not associated with a vc), I use things like CustomCell.m or LoadScreenView.m etc., not sure if its standard, but it works and helps with not having 200 letter class names.

提交回复
热议问题