директива pragma в UIViewController

When i create a UITableViewController class, the template has some #pragma directives:

#pragma mark -
#pragma mark View lifecycle

at the start and:

#pragma mark -
#pragma mark Table view data source

at the beginning of the implementation of the data source methods.
I know that #pragma is a compiler directive, but why do we need to notify the compiler of the above?
Означает ли это, что мы должны указывать директиву #pragma каждый раз, когда мы реализуем какой-либо протокол источника данных / делегата?

7
задан windson 21 December 2010 в 03:55
поделиться