Re: Creating a large Cocoa project - tutorials? - OT: underscore use
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