阅读背景:

何时应该向私有接口添加方法?

来源:互联网 

So I've recently been using more private interfaces in my classes. I've been leaving the stuff that is needed by other classes in the .h (public), and then keeping all other methods in the private interface in the .m. My question is, I don't see any reason to keep any methods in my private interface as the app works fine without this. What is really the point? Any why aren't system methods like viewDidLoad in the private interface?So I've recently been using more private interf




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: