Swift和OC代码注释分析 #pragma mark, FI
2015-10-08 本文已影响888人
代码干货
OC中用 #pragma mark -
<pre>
#pragma mark – Initialization code here...
#pragma mark – Table Managementmore code here...
</pre>
swift中用 // MARK: - 生成分隔线
<pre>
// MARK: - Initializationcode here...
// MARK: - View Managementmore code here...
</pre>