摘要:原型模式:大部分重复,只有一小部分不同的情况下,为了代码清晰和避免麻烦,用原型模式,会更方便一点 // 学生1 StudentModel *stu1 = [[StudentModel alloc] init]; stu1.name = @"小王"; stu1...
阅读全文
posted @ 2015-09-08 15:58
posted @ 2015-09-08 15:58
posted @ 2015-09-06 17:19
posted @ 2015-08-18 09:59
posted @ 2015-04-07 18:39
posted @ 2014-12-12 16:44
posted @ 2014-12-09 10:18