Pre declaration of methods
Pre declaration of methods
- Subject: Pre declaration of methods
- From: Jérôme Paschoud <email@hidden>
- Date: Sun, 06 Apr 2003 17:09:10 +0200
Hello everybody,
I'd like to create a class and use in the implementation some privates
methods that only make my code clearer and that I don't want other classes
to see. So I just didn't put the methods declarations in the header of the
class. But when I do that if I'm using a "firstMethod" that calls a
"secondMethod" that is a few lines down, I'm getting a:
warning: `myClass' does not respond to `secondMethods'
But the code compile sucessfully and works as expected.
Is that possible to pre declare "secondMethod" so I can write my class in a
logical order and not in a "methods call priority order".
Thanks in advance for the help
_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? Tilicharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1hre messagerie instantanie de France
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.