• 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: Ondra Cada <email@hidden>
  • Date: Mon, 9 May 2005 13:21:44 +0200


On 9.5.2005, at 7:56, Todd Ransom wrote:

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?


Myself, I'd say the best solution *probably* would if the names were alphabetically sorted *in chunks* between #pragma marks. Like,


#pragma mark A
-zzz {}
-aaa {}
#pragma mark B
-fff {}
-ccc {}

would display a menu

A
aaa
zzz
B
ccc
fff

YMMV, of course. Nevertheless, I don't see any other sensible opinion with pragma marks && alphabetic ordering.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



_______________________________________________ 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
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>)
 >Re: #pragma mark (From: Todd Ransom <email@hidden>)

  • Prev by Date: Problem converting pdfs to jpegs with Cocoa & Quartz...
  • Next by Date: Re: CoreData issue when working on Attributes
  • Previous by thread: Re: #pragma mark
  • Next by thread: plain text and Spotlight
  • Index(es):
    • Date
    • Thread