I'm working on an iOS Project, in which I'm using #pragma mark
to arrange methods according to their respective category.
My issue is that some categories have sub-categories. How can I arrange my methods to reflect method categories and their subcategories? Is this even possible?
I need something like:
I've tried:
- This:
#pragma mark - Main #pragma mark - Sub 1 #pragma mark - Sub of Sub 1
- And this:
#pragma mark - Main #pragma mark -- Sub 1 #pragma mark --- Sub of Sub 1
Neither work. I've searched a lot, but couldn't find any solution. Is there any way to do this?