摘要:
1、首先设定一个属性记录当前选中的按钮 /** * 记录当前选中的按钮 */ @property (nonatomic, weak) UIButton *selectedButton; 2、当点击按钮的时候改变按钮的选中状态 - (IBAction)goButton:(UIButton *)send 阅读全文
posted @ 2016-02-29 11:14
Mr_tao
阅读(3538)
评论(0)
推荐(0)
摘要:
1、把需要保存的信息已plist文件形式保存在本地,即写入沙盒: /** * 写入本地(plist文件) */ - (void)saveArray { // 1.获得沙盒根路径 NSString *home = NSHomeDirectory(); // 2.document路径 NSString 阅读全文
posted @ 2016-02-29 09:39
Mr_tao
阅读(747)
评论(0)
推荐(0)
浙公网安备 33010602011771号