Tips on pragma mark


I just saw (in commits) you have troubles with pragma mark and portability.
If you use it for Xcode integration, you can use MARK in comments instead.

#pragma mark My code section
is equivalent to
// MARK: My code section

and you can use
// MARK: -
to insert a separator.


-- Jean-Daniel

mark.patch (617 Bytes)

Sure, works for me.