• 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: Can the symbols popup be made to show structs and enums?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can the symbols popup be made to show structs and enums?


  • Subject: Re: Can the symbols popup be made to show structs and enums?
  • From: Sherm Pendley <email@hidden>
  • Date: Thu, 23 Dec 2010 21:52:19 -0500

On Thu, Dec 23, 2010 at 8:49 PM, Tom Seddon
<email@hidden> wrote:
> The symbols popup in Xcode 3.2.5 -- Ctrl+2 in the text editor, by
> default -- doesn't contain structs or enums. It shows typedefs, and it
> shows classes, and it shows all the Objective-C constructs, but not
> structs or enums. (This is the case regardless of C-family language.)
>
> The structs and enums in question appear just fine in the Project
> Symbols list, and they're part of the Open Quickly... list, so Xcode
> clearly knows about them.
>
> I've failed to find anything obvious that I can tweak, and google
> hasn't come up with anything to try. Have I missed something, or is
> this just something I'm stuck with?

Mark pragmas are usually used to create section headers in the symbols
list, but you could (ab)use it for this too:

  #pragma mark StructName

It's a hack, but if you can't find a real solution it's better than nothing.

sherm--

--
Cocoa programming in Perl:
http://camelbones.sourceforge.net
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Can the symbols popup be made to show structs and enums? (From: Tom Seddon <email@hidden>)

  • Prev by Date: Can the symbols popup be made to show structs and enums?
  • Next by Date: synthesized property 'xx' must either be named the same as a compatible ivar or must explicitly name an ivar
  • Previous by thread: Can the symbols popup be made to show structs and enums?
  • Next by thread: synthesized property 'xx' must either be named the same as a compatible ivar or must explicitly name an ivar
  • Index(es):
    • Date
    • Thread