Private methods in ObjC
Private methods in ObjC
- Subject: Private methods in ObjC
- From: Glen Low <email@hidden>
- Date: Wed, 25 Feb 2004 20:48:54 +0800
Dear All,
I note there's no direct way of making your ObjC methods private to
clients. What's the usual idiom for doing this?
1. Define a category on the object and put it into the .m file?
2. Declare methods in the interface but preface them with something?
3. Don't declare the methods in the interface, but simply use them from
your code. Presumeably then you have to define those private methods
first in the .m implementation before you call them?
4. Put comments like "don't touch!" -- just joking...
5. Any funky techniques like multiple interface declarations?
Cheers, Glen Low
---
pixelglow software | simply brilliant stuff
www.pixelglow.com
_______________________________________________
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.