摘要:
> 1.简单的存储字符串,状态,数据类型// 存储数据NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];// 字符串- (void)setObject:(id)value forKey:(NSString *)defau... 阅读全文
摘要:
Xcode的路径小知识纪录模拟器应用程序的安装路径/Users/aplle/资源库/Application Support/iPhone Simulator/7.1/ApplicationsXcode文档安装路径/Applications/Xcode.app/Contents/Developer/D... 阅读全文
摘要:
/** 添加定时器 */@property (nonatomic, strong) NSTimer *timer;- (void)addTimer{ // 2秒后,自己 调用nextImage方法 nil 一直循环这个定时器 self.timer = [NSTimer scheduled... 阅读全文
摘要:
// 创建一个弹框UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@“标题” message:@“显示的具体内容” delegate:self cancelButtonTitle:@“取消” otherButtonTitle:@“确定”... 阅读全文