Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

grimreaper1377

macrumors regular
Original poster
Oct 20, 2007
218
0
Hi,

For some reason, my #pragma mark's in xcode show up at the bottom of the symbol list regardless of the placement. Here's a screenshot:

xcode.png


Any ideas? I tried reinstalling xcode, but this problem still occurs.

Thanks!
 

WhiteRabbit

macrumors newbie
Jan 11, 2005
26
0
The list is alphabetical, you can't override this.
Most sample projects from Apple have mark lines that start with ----.
#pragma mark ---- Internal Methods ----
 

Sayer

macrumors 6502a
Jan 4, 2002
981
0
Austin, TX
Go to the Xcode preferences and click on "Code Sense" and UN-check the "Editor Function pop-up" option "Sort Alphabetically."
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.