• 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: Creating a large Cocoa project - tutorials? - OT: underscore use
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a large Cocoa project - tutorials? - OT: underscore use


  • Subject: Re: Creating a large Cocoa project - tutorials? - OT: underscore use
  • From: Sherm Pendley <email@hidden>
  • Date: Sun, 20 Mar 2005 16:09:51 -0500

On Mar 20, 2005, at 3:51 PM, Wolfgang Maehr wrote:

But there I would like to know what to do with instant methods that are just for internal use?

Instant methods? Just add water and stir. ;-)

I should be declaring them in the header file, so that I do not get any Compiler warings and so that I can use code completion and so on. But I would somehow like to mark them (as the header is the declaration also for the outside) as interanlly used.

Categories are a great choice for this. I split the declarations into two header files - one has the main @interface, and the other a Category with my private methods. My .m file imports both, and has both @implementations in it, but only the public header file is bundled with the framework.


sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
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: 
 >Re: Creating a large Cocoa project - tutorials? (From: Keith Blount <email@hidden>)
 >Re: Creating a large Cocoa project - tutorials? (From: "M. Uli Kusterer" <email@hidden>)
 >Re: Creating a large Cocoa project - tutorials? - OT: underscore use (From: Wolfgang Maehr <email@hidden>)

  • Prev by Date: Re: newbie EXC_BAD_ACCESS
  • Next by Date: Re: Getting an image path from NSImageView
  • Previous by thread: Re: Creating a large Cocoa project - tutorials? - OT: underscore use
  • Next by thread: Re: Creating a large Cocoa project - tutorials? - OT: underscore use
  • Index(es):
    • Date
    • Thread