I want to just write a simple helper method, but I don't want to expose it to the public interface (since that breaks encapsulation and what not).
Does Objective-C support anything like this?
Like if I write this
NSString *s = [self helper:txtFirst.text];
s = [self helper:txtLast.text];
Obviously, I'll get a compile error if I haven't declared "helper" in the header file. Is there any way around this?
Does Objective-C support anything like this?
Like if I write this
NSString *s = [self helper:txtFirst.text];
s = [self helper:txtLast.text];
Obviously, I'll get a compile error if I haven't declared "helper" in the header file. Is there any way around this?