8

I'm trying to find where I can see the result of #pragma marks in Xcode 4 but can't seem to find it.

The reference here talks about the grouping in the Function Menu but I can't seem to find this in Xcode 4 ?

Paul R
  • 208,748
  • 37
  • 389
  • 560
Greg
  • 34,042
  • 79
  • 253
  • 454

4 Answers4

18

When you have the file selected in XCode, in the bar above the editor area (known as the Jump Bar), you might see something to the effect of "Project Name > Classes > Filename > No Selection." Click on "No Selection". Your #pragma marks will fill out this area.

tJener
  • 2,619
  • 1
  • 18
  • 20
10

You can see it by clicking on "No Selection":

Here

Community
  • 1
  • 1
kaal101
  • 654
  • 7
  • 14
1

If you include a #pragma mark, it will become more readable.

Thank you. It's very simple but not easy to find it.

Marc Climent
  • 9,434
  • 2
  • 50
  • 55
jose
  • 11
  • 2
0

Along with pragma entries, Xcode will also display points where a comment begins with "\TODO: " Great way to leave and find breadcrumbs for follow-up work.

OfficerDave
  • 131
  • 1
  • 4