Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Public properties vs Privet ones

I am working on Chapter 9 now, and I think here the first time I can see the use of making property public: a message property of BIDDisclosureDetailsViewController class, since BIDDisclosureButtonsViewController passes a value to it.

So, I wonder if there is any particular reason that we use public properties (defined in .h) all the times instead of making them just privet (defined in .m in @interface CLASS_NAME () @end section)? Or is it just something like common objective-C practice? Or am I wrong about what is public and what is privet here at all?

Sign In or Register to comment.