ios中工厂方法的完美实现

时间:2016-11-11 17:09:22
【文件属性】:
文件名称:ios中工厂方法的完美实现
文件大小:90KB
文件格式:ZIP
更新时间:2016-11-11 17:09:22
工厂方法 ,ios ios中工厂方法的完美实现,方法之间调用清楚,会打印出详情的log.
【文件预览】:
FactoryMethod
----FactoryMethodTests()
--------FactoryMethodTests.m(468B)
--------FactoryMethodTests.h(243B)
--------FactoryMethodTests-Info.plist(683B)
--------en.lproj()
----FactoryMethod()
--------FMAppleCellPhoneFactory.m(402B)
--------main.m(340B)
--------Default.png(6KB)
--------FMAppleCellPhone.h(216B)
--------FMCellPhoneFactory.h(347B)
--------FactoryMethod-Prefix.pch(329B)
--------FMAppleCellPhone.m(269B)
--------FactoryMethod-Info.plist(1KB)
--------AppDelegate.h(281B)
--------AppDelegate.m(2KB)
--------FMAppleCellPhoneFactory.h(246B)
--------FMCellPhone.h(268B)
--------Default-568h@2x.png(18KB)
--------FMNOKIACellPhoneFactory.h(246B)
--------FMNOKIACellPhone.h(218B)
--------Default@2x.png(16KB)
--------FMCellPhone.m(220B)
--------ViewController.h(219B)
--------FMNOKIACellPhone.m(271B)
--------FMCellPhoneFactory.m(262B)
--------FMNOKIACellPhoneFactory.m(402B)
--------ViewController.m(997B)
--------en.lproj()
----.git()
--------index(3KB)
--------hooks()
--------config(138B)
--------description(73B)
--------refs()
--------branches()
--------logs()
--------objects()
--------info()
--------COMMIT_EDITMSG(15B)
--------HEAD(23B)
----FactoryMethod.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(24KB)
--------xcuserdata()

网友评论

  • 这个工厂了,很好理解。看懂了。理解了工厂类,在父类中的方法,在子类中实现。
  • 没则么看懂。。
  • 还行,至少我看懂了:)