• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: #pragma mark
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: #pragma mark


  • Subject: Re: #pragma mark
  • From: Todd Ransom <email@hidden>
  • Date: Sun, 8 May 2005 23:56:37 -0600

Doesn't that defeat the purpose? I use the #pragma marks to group methods so they're easier to find but if you sort them the #pragma marks would lose their meanings. Are you using them in some other way?

Todd Ransom
Return Self Software
http://returnself.com

On May 8, 2005, at 9:47 PM, John Warner wrote:

I have rdar://3667053 for XCode to subsort the names alphabetically and keep the #pragmas sorted by position when this option is turned on.

-John

On May 8, 2005, at 9:31 PM, Todd Ransom wrote:

I don't know about XCode 2.0, but in 1.5 there is a preference to show them in the order they appear in the source file rather than alphabetically.

Todd Ransom
Return Self Software
http://returnself.com

On May 8, 2005, at 5:34 PM, carsten Schäfer wrote:


Hi there,

it seems to be somehow silly but: What is with the "#pragma mark xxx" statement in Xcode source code? All my statements are at the end of every single source file. Abosolutley useless in this fashion. This concerns my own file as well as the examples distributed by Apple. I guess there is some (new) switch in Xcode, but where?

Best
Carsten Schäfer _______________________________________________


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: #pragma mark
      • From: Ondra Cada <email@hidden>
References: 
 >#pragma mark (From: carsten Schäfer <email@hidden>)
 >Re: #pragma mark (From: Todd Ransom <email@hidden>)
 >Re: #pragma mark (From: John Warner <email@hidden>)

  • Prev by Date: Conversion from CMBitmap to NSBitmapImageRep
  • Next by Date: Include external jar
  • Previous by thread: Re: #pragma mark
  • Next by thread: Re: #pragma mark
  • Index(es):
    • Date
    • Thread