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