So probably everyone but me already knew this, but I used to always do:
#pragma mark -
#pragma mark UITableViewDelegate Methods
so I’d have a line plus the title of the section in the functions menu (from the jump bar now) like this:
------------------------------- UITableViewDelegate
I just accidentally discovered that you can do:
#pragma mark - MyDelegate Methods
to get the same thing, or you can put the “-” at the end to get it the opposite way:
#pragma mark MyDelegate Methods -
gives:
UITableViewDelegate -------------------------------
You can even put two “-“s in there, one at either end to get lines above and below your section name:
#pragma mark - MyDelegate Methods -
for:
------------------------------- UITableViewDelegate -------------------------------
Thanks Xcode team!