swift中如何使用#pragma mark分割线

OC中的#progma分割线,可以很好的分割代码,让逻辑更佳清晰

在Swift中,可以这样用:

// MARK: YOUR TEXT TO GO

 

Leave a Reply

Your email address will not be published. Required fields are marked *