![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Objective-C
xiaoliu_iOS
这个作者很懒,什么都没留下…
展开
-
通讯录
用OC实现一个中等难度的通讯录 创建两个类,一个联系人类,一个电话簿类用来管理联系人 电话本.m文件 @implementation AddressBook -(instancetype)init{ self = [super self]; if (self) { _groupDic = [NSMutableDictionary dictionar原创 2015-12-26 21:55:47 · 812 阅读 · 0 评论 -
分数的四则运算
实现分数的加减乘除运算 @implementation Fraction - (void)setNumerator:(NSInteger)numerator{ _numerator = numerator; } - (NSInteger)numerator{ return _numerator; } - (void)setDenominator:(N原创 2015-12-26 22:31:36 · 617 阅读 · 0 评论