7b72391e60
Adding a series of // characters (i.e., a "comment bar") above every method in an Objective-C file would not provide any real benefit, and would in fact be redundant, as the method list in Xcode already serves as a visual separator for methods in a class. The #pragma mark directive, is a more concise and effective way to add separators and group related methods in a class. We should use #pragma mark to create a separator line and add a heading to describe the methods in a particular section. |
||
---|---|---|
.. | ||
RCTStatus.xcodeproj | ||
RCTStatus.h | ||
RCTStatus.m |