PDA

View Full Version : [SOLVED] #pragma mark in Xcode shows up at bottom of symbol list




grimreaper1377
Apr 19, 2009, 09:36 PM
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:

http://www.isharan.com/screenshots/xcode.png

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

Thanks!



WhiteRabbit
Apr 20, 2009, 12:44 AM
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
Apr 20, 2009, 01:24 AM
Go to the Xcode preferences and click on "Code Sense" and UN-check the "Editor Function pop-up" option "Sort Alphabetically."

grimreaper1377
Apr 20, 2009, 11:32 AM
Sayer, worked perfectly. Thanks!