会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
桂_子
2015年6月15日
多态与id
摘要: 1. 多态 父类的指针指向子类的对象 @interface Animal: NSObject - (void)eat; @end @implation Dog : Animal - (void)eat{ // 实现父类里面的方法 NSLog (@"。。。"); } - (void)shoumen{
阅读全文
posted @ 2015-06-15 23:39 Sea-Caterpillar
阅读(246)
评论(0)
推荐(0)
编辑
公告
导航
博客园
首页
新随笔
新文章
联系
订阅
管理