protected,private,public

1、如果把方法写在.m文件中,没有在.h文件中声明,则该方法为私有方法。

2、成员变量默认是protected.

posted @ 2014-12-17 16:29  unity_lan  阅读(399)  评论(0)    收藏  举报