├── 01 SimpleFactoryMethod ├── FactoryMethod.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata ├── FactoryMethod │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Info.plist │ ├── Operation.h │ ├── Operation.m │ ├── OperationFactory.h │ ├── OperationFactory.m │ ├── ViewController.h │ ├── ViewController.m │ └── main.m ├── FactoryMethodTests │ ├── FactoryMethodTests.m │ └── Info.plist └── FactoryMethodUITests │ ├── FactoryMethodUITests.m │ └── Info.plist ├── 02Strategy ├── Strategy.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata ├── Strategy │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── CashContext.h │ ├── CashContext.m │ ├── CashFactory │ │ ├── CashFactory.h │ │ └── CashFactory.m │ ├── CashSuper.h │ ├── CashSuper.m │ ├── Info.plist │ ├── ViewController.h │ ├── ViewController.m │ └── main.m ├── StrategyTests │ ├── Info.plist │ └── StrategyTests.m └── StrategyUITests │ ├── Info.plist │ └── StrategyUITests.m ├── 03Decorator ├── Decorator.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── Decorator │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Info.plist │ ├── Model │ ├── Component │ │ ├── Component.h │ │ ├── Component.m │ │ ├── ConcreteComponent.h │ │ ├── ConcreteComponent.m │ │ ├── Person.h │ │ └── Person.m │ └── Decorator │ │ ├── BigTrouser.h │ │ ├── BigTrouser.m │ │ ├── ConcreteDecoratorA.h │ │ ├── ConcreteDecoratorA.m │ │ ├── ConcreteDecoratorB.h │ │ ├── ConcreteDecoratorB.m │ │ ├── Decorator.h │ │ ├── Decorator.m │ │ ├── Finery.h │ │ ├── Finery.m │ │ ├── Sneakers.h │ │ ├── Sneakers.m │ │ ├── TShirts.h │ │ └── TShirts.m │ ├── ViewController.h │ ├── ViewController.m │ └── main.m ├── 04Proxy ├── Proxy.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── Proxy │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Info.plist │ ├── Proxy.h │ ├── Proxy.m │ ├── Pursuit.h │ ├── Pursuit.m │ ├── SchoolGirl.h │ ├── SchoolGirl.m │ ├── ViewController.h │ ├── ViewController.m │ └── main.m ├── 05FactoryMethod ├── FactoryMethod.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── FactoryMethod │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── IFactory.h │ ├── IFactory.m │ ├── Info.plist │ ├── LeiFeng │ ├── LeiFeng.h │ ├── LeiFeng.m │ ├── LeiFengFactory.h │ ├── LeiFengFactory.m │ ├── SimpleFactory.h │ ├── SimpleFactory.m │ ├── Undergraduate.h │ ├── Undergraduate.m │ ├── Volunteer.h │ └── Volunteer.m │ ├── Operation.h │ ├── Operation.m │ ├── ViewController.h │ ├── ViewController.m │ └── main.m ├── 06Prototype ├── Prototype.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── Prototype │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Info.plist │ ├── Resume.h │ ├── Resume.m │ ├── ViewController.h │ ├── ViewController.m │ └── main.m ├── 07TemplateMethod ├── TemplateMethod.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── TemplateMethod │ ├── AbstractClass.h │ ├── AbstractClass.m │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── ConcreteClassA.h │ ├── ConcreteClassA.m │ ├── ConcreteClassB.h │ ├── ConcreteClassB.m │ ├── Info.plist │ ├── ViewController.h │ ├── ViewController.m │ └── main.m ├── 08Facade ├── Facade.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── Facade │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Facade.h │ ├── Facade.m │ ├── Info.plist │ ├── SystemOne.h │ ├── SystemOne.m │ ├── SystemThree.h │ ├── SystemThree.m │ ├── SystemTwo.h │ ├── SystemTwo.m │ ├── ViewController.h │ ├── ViewController.m │ └── main.m ├── 09Builder ├── Builder.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── Builder │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Builder │ ├── PersonBuilder.h │ ├── PersonBuilder.m │ ├── PersonFatBuilder.h │ ├── PersonFatBuilder.m │ ├── PersonThinBuilder.h │ └── PersonThinBuilder.m │ ├── Director │ ├── PersonDirector.h │ └── PersonDirector.m │ ├── Info.plist │ ├── Product │ ├── PersonView.h │ └── PersonView.m │ ├── ViewController.h │ ├── ViewController.m │ └── main.m ├── 10Observer ├── Observer.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── Observer │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Info.plist │ ├── Observer │ ├── Observer.h │ ├── Observer.m │ ├── StockObserver.h │ └── StockObserver.m │ ├── Secertary │ ├── Secretary.h │ └── Secretary.m │ ├── ViewController.h │ ├── ViewController.m │ └── main.m ├── 11AbstractFactory ├── AbstractFactory.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── AbstractFactory │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Factory │ ├── AccessFactory.h │ ├── AccessFactory.m │ ├── IFactory.h │ ├── IFactory.m │ ├── SqlServerFactory.h │ └── SqlServerFactory.m │ ├── Info.plist │ ├── Manger │ ├── DepartmentManager │ │ ├── AccessDepartment.h │ │ ├── AccessDepartment.m │ │ ├── IDepartment.h │ │ ├── IDepartment.m │ │ ├── SqlServerDepartment.h │ │ └── SqlServerDepartment.m │ └── UserManager │ │ ├── AccessUser.h │ │ ├── AccessUser.m │ │ ├── IUser.h │ │ ├── IUser.m │ │ ├── SqlServerUser.h │ │ └── SqlServerUser.m │ ├── Table │ ├── Department.h │ ├── Department.m │ ├── User.h │ └── User.m │ ├── ViewController.h │ ├── ViewController.m │ └── main.m ├── LICENSE └── README.md /01 SimpleFactoryMethod/FactoryMethod.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethod.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /01 SimpleFactoryMethod/FactoryMethod.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethod.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /01 SimpleFactoryMethod/FactoryMethod/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethod/AppDelegate.h -------------------------------------------------------------------------------- /01 SimpleFactoryMethod/FactoryMethod/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethod/AppDelegate.m -------------------------------------------------------------------------------- /01 SimpleFactoryMethod/FactoryMethod/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethod/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /01 SimpleFactoryMethod/FactoryMethod/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethod/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /01 SimpleFactoryMethod/FactoryMethod/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethod/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /01 SimpleFactoryMethod/FactoryMethod/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethod/Info.plist -------------------------------------------------------------------------------- /01 SimpleFactoryMethod/FactoryMethod/Operation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethod/Operation.h -------------------------------------------------------------------------------- /01 SimpleFactoryMethod/FactoryMethod/Operation.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethod/Operation.m -------------------------------------------------------------------------------- /01 SimpleFactoryMethod/FactoryMethod/OperationFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethod/OperationFactory.h -------------------------------------------------------------------------------- /01 SimpleFactoryMethod/FactoryMethod/OperationFactory.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethod/OperationFactory.m -------------------------------------------------------------------------------- /01 SimpleFactoryMethod/FactoryMethod/ViewController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethod/ViewController.h -------------------------------------------------------------------------------- /01 SimpleFactoryMethod/FactoryMethod/ViewController.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethod/ViewController.m -------------------------------------------------------------------------------- /01 SimpleFactoryMethod/FactoryMethod/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethod/main.m -------------------------------------------------------------------------------- /01 SimpleFactoryMethod/FactoryMethodTests/FactoryMethodTests.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethodTests/FactoryMethodTests.m -------------------------------------------------------------------------------- /01 SimpleFactoryMethod/FactoryMethodTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethodTests/Info.plist -------------------------------------------------------------------------------- /01 SimpleFactoryMethod/FactoryMethodUITests/FactoryMethodUITests.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethodUITests/FactoryMethodUITests.m -------------------------------------------------------------------------------- /01 SimpleFactoryMethod/FactoryMethodUITests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/01 SimpleFactoryMethod/FactoryMethodUITests/Info.plist -------------------------------------------------------------------------------- /02Strategy/Strategy.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/Strategy.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /02Strategy/Strategy.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/Strategy.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /02Strategy/Strategy/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/Strategy/AppDelegate.h -------------------------------------------------------------------------------- /02Strategy/Strategy/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/Strategy/AppDelegate.m -------------------------------------------------------------------------------- /02Strategy/Strategy/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/Strategy/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /02Strategy/Strategy/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/Strategy/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /02Strategy/Strategy/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/Strategy/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /02Strategy/Strategy/CashContext.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/Strategy/CashContext.h -------------------------------------------------------------------------------- /02Strategy/Strategy/CashContext.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/Strategy/CashContext.m -------------------------------------------------------------------------------- /02Strategy/Strategy/CashFactory/CashFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/Strategy/CashFactory/CashFactory.h -------------------------------------------------------------------------------- /02Strategy/Strategy/CashFactory/CashFactory.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/Strategy/CashFactory/CashFactory.m -------------------------------------------------------------------------------- /02Strategy/Strategy/CashSuper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/Strategy/CashSuper.h -------------------------------------------------------------------------------- /02Strategy/Strategy/CashSuper.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/Strategy/CashSuper.m -------------------------------------------------------------------------------- /02Strategy/Strategy/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/Strategy/Info.plist -------------------------------------------------------------------------------- /02Strategy/Strategy/ViewController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/Strategy/ViewController.h -------------------------------------------------------------------------------- /02Strategy/Strategy/ViewController.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/Strategy/ViewController.m -------------------------------------------------------------------------------- /02Strategy/Strategy/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/Strategy/main.m -------------------------------------------------------------------------------- /02Strategy/StrategyTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/StrategyTests/Info.plist -------------------------------------------------------------------------------- /02Strategy/StrategyTests/StrategyTests.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/StrategyTests/StrategyTests.m -------------------------------------------------------------------------------- /02Strategy/StrategyUITests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/StrategyUITests/Info.plist -------------------------------------------------------------------------------- /02Strategy/StrategyUITests/StrategyUITests.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/02Strategy/StrategyUITests/StrategyUITests.m -------------------------------------------------------------------------------- /03Decorator/Decorator.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /03Decorator/Decorator.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /03Decorator/Decorator/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/AppDelegate.h -------------------------------------------------------------------------------- /03Decorator/Decorator/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/AppDelegate.m -------------------------------------------------------------------------------- /03Decorator/Decorator/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /03Decorator/Decorator/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /03Decorator/Decorator/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /03Decorator/Decorator/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Info.plist -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Component/Component.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Component/Component.h -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Component/Component.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Component/Component.m -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Component/ConcreteComponent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Component/ConcreteComponent.h -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Component/ConcreteComponent.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Component/ConcreteComponent.m -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Component/Person.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Component/Person.h -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Component/Person.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Component/Person.m -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Decorator/BigTrouser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Decorator/BigTrouser.h -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Decorator/BigTrouser.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Decorator/BigTrouser.m -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Decorator/ConcreteDecoratorA.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Decorator/ConcreteDecoratorA.h -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Decorator/ConcreteDecoratorA.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Decorator/ConcreteDecoratorA.m -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Decorator/ConcreteDecoratorB.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Decorator/ConcreteDecoratorB.h -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Decorator/ConcreteDecoratorB.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Decorator/ConcreteDecoratorB.m -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Decorator/Decorator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Decorator/Decorator.h -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Decorator/Decorator.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Decorator/Decorator.m -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Decorator/Finery.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Decorator/Finery.h -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Decorator/Finery.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Decorator/Finery.m -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Decorator/Sneakers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Decorator/Sneakers.h -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Decorator/Sneakers.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Decorator/Sneakers.m -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Decorator/TShirts.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Decorator/TShirts.h -------------------------------------------------------------------------------- /03Decorator/Decorator/Model/Decorator/TShirts.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/Model/Decorator/TShirts.m -------------------------------------------------------------------------------- /03Decorator/Decorator/ViewController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/ViewController.h -------------------------------------------------------------------------------- /03Decorator/Decorator/ViewController.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/ViewController.m -------------------------------------------------------------------------------- /03Decorator/Decorator/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/03Decorator/Decorator/main.m -------------------------------------------------------------------------------- /04Proxy/Proxy.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/04Proxy/Proxy.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /04Proxy/Proxy.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/04Proxy/Proxy.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /04Proxy/Proxy/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/04Proxy/Proxy/AppDelegate.h -------------------------------------------------------------------------------- /04Proxy/Proxy/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/04Proxy/Proxy/AppDelegate.m -------------------------------------------------------------------------------- /04Proxy/Proxy/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/04Proxy/Proxy/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /04Proxy/Proxy/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/04Proxy/Proxy/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /04Proxy/Proxy/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/04Proxy/Proxy/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /04Proxy/Proxy/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/04Proxy/Proxy/Info.plist -------------------------------------------------------------------------------- /04Proxy/Proxy/Proxy.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/04Proxy/Proxy/Proxy.h -------------------------------------------------------------------------------- /04Proxy/Proxy/Proxy.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/04Proxy/Proxy/Proxy.m -------------------------------------------------------------------------------- /04Proxy/Proxy/Pursuit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/04Proxy/Proxy/Pursuit.h -------------------------------------------------------------------------------- /04Proxy/Proxy/Pursuit.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/04Proxy/Proxy/Pursuit.m -------------------------------------------------------------------------------- /04Proxy/Proxy/SchoolGirl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/04Proxy/Proxy/SchoolGirl.h -------------------------------------------------------------------------------- /04Proxy/Proxy/SchoolGirl.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/04Proxy/Proxy/SchoolGirl.m -------------------------------------------------------------------------------- /04Proxy/Proxy/ViewController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/04Proxy/Proxy/ViewController.h -------------------------------------------------------------------------------- /04Proxy/Proxy/ViewController.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/04Proxy/Proxy/ViewController.m -------------------------------------------------------------------------------- /04Proxy/Proxy/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/04Proxy/Proxy/main.m -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/AppDelegate.h -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/AppDelegate.m -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/IFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/IFactory.h -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/IFactory.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/IFactory.m -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/Info.plist -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/LeiFeng/LeiFeng.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/LeiFeng/LeiFeng.h -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/LeiFeng/LeiFeng.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/LeiFeng/LeiFeng.m -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/LeiFeng/LeiFengFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/LeiFeng/LeiFengFactory.h -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/LeiFeng/LeiFengFactory.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/LeiFeng/LeiFengFactory.m -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/LeiFeng/SimpleFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/LeiFeng/SimpleFactory.h -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/LeiFeng/SimpleFactory.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/LeiFeng/SimpleFactory.m -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/LeiFeng/Undergraduate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/LeiFeng/Undergraduate.h -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/LeiFeng/Undergraduate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/LeiFeng/Undergraduate.m -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/LeiFeng/Volunteer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/LeiFeng/Volunteer.h -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/LeiFeng/Volunteer.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/LeiFeng/Volunteer.m -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/Operation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/Operation.h -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/Operation.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/Operation.m -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/ViewController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/ViewController.h -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/ViewController.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/ViewController.m -------------------------------------------------------------------------------- /05FactoryMethod/FactoryMethod/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/05FactoryMethod/FactoryMethod/main.m -------------------------------------------------------------------------------- /06Prototype/Prototype.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/06Prototype/Prototype.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /06Prototype/Prototype.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/06Prototype/Prototype.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /06Prototype/Prototype/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/06Prototype/Prototype/AppDelegate.h -------------------------------------------------------------------------------- /06Prototype/Prototype/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/06Prototype/Prototype/AppDelegate.m -------------------------------------------------------------------------------- /06Prototype/Prototype/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/06Prototype/Prototype/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /06Prototype/Prototype/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/06Prototype/Prototype/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /06Prototype/Prototype/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/06Prototype/Prototype/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /06Prototype/Prototype/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/06Prototype/Prototype/Info.plist -------------------------------------------------------------------------------- /06Prototype/Prototype/Resume.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/06Prototype/Prototype/Resume.h -------------------------------------------------------------------------------- /06Prototype/Prototype/Resume.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/06Prototype/Prototype/Resume.m -------------------------------------------------------------------------------- /06Prototype/Prototype/ViewController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/06Prototype/Prototype/ViewController.h -------------------------------------------------------------------------------- /06Prototype/Prototype/ViewController.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/06Prototype/Prototype/ViewController.m -------------------------------------------------------------------------------- /06Prototype/Prototype/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/06Prototype/Prototype/main.m -------------------------------------------------------------------------------- /07TemplateMethod/TemplateMethod.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/07TemplateMethod/TemplateMethod.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /07TemplateMethod/TemplateMethod.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/07TemplateMethod/TemplateMethod.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /07TemplateMethod/TemplateMethod/AbstractClass.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/07TemplateMethod/TemplateMethod/AbstractClass.h -------------------------------------------------------------------------------- /07TemplateMethod/TemplateMethod/AbstractClass.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/07TemplateMethod/TemplateMethod/AbstractClass.m -------------------------------------------------------------------------------- /07TemplateMethod/TemplateMethod/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/07TemplateMethod/TemplateMethod/AppDelegate.h -------------------------------------------------------------------------------- /07TemplateMethod/TemplateMethod/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/07TemplateMethod/TemplateMethod/AppDelegate.m -------------------------------------------------------------------------------- /07TemplateMethod/TemplateMethod/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/07TemplateMethod/TemplateMethod/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /07TemplateMethod/TemplateMethod/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/07TemplateMethod/TemplateMethod/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /07TemplateMethod/TemplateMethod/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/07TemplateMethod/TemplateMethod/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /07TemplateMethod/TemplateMethod/ConcreteClassA.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/07TemplateMethod/TemplateMethod/ConcreteClassA.h -------------------------------------------------------------------------------- /07TemplateMethod/TemplateMethod/ConcreteClassA.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/07TemplateMethod/TemplateMethod/ConcreteClassA.m -------------------------------------------------------------------------------- /07TemplateMethod/TemplateMethod/ConcreteClassB.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/07TemplateMethod/TemplateMethod/ConcreteClassB.h -------------------------------------------------------------------------------- /07TemplateMethod/TemplateMethod/ConcreteClassB.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/07TemplateMethod/TemplateMethod/ConcreteClassB.m -------------------------------------------------------------------------------- /07TemplateMethod/TemplateMethod/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/07TemplateMethod/TemplateMethod/Info.plist -------------------------------------------------------------------------------- /07TemplateMethod/TemplateMethod/ViewController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/07TemplateMethod/TemplateMethod/ViewController.h -------------------------------------------------------------------------------- /07TemplateMethod/TemplateMethod/ViewController.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/07TemplateMethod/TemplateMethod/ViewController.m -------------------------------------------------------------------------------- /07TemplateMethod/TemplateMethod/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/07TemplateMethod/TemplateMethod/main.m -------------------------------------------------------------------------------- /08Facade/Facade.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /08Facade/Facade.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /08Facade/Facade/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade/AppDelegate.h -------------------------------------------------------------------------------- /08Facade/Facade/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade/AppDelegate.m -------------------------------------------------------------------------------- /08Facade/Facade/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /08Facade/Facade/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /08Facade/Facade/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /08Facade/Facade/Facade.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade/Facade.h -------------------------------------------------------------------------------- /08Facade/Facade/Facade.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade/Facade.m -------------------------------------------------------------------------------- /08Facade/Facade/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade/Info.plist -------------------------------------------------------------------------------- /08Facade/Facade/SystemOne.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade/SystemOne.h -------------------------------------------------------------------------------- /08Facade/Facade/SystemOne.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade/SystemOne.m -------------------------------------------------------------------------------- /08Facade/Facade/SystemThree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade/SystemThree.h -------------------------------------------------------------------------------- /08Facade/Facade/SystemThree.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade/SystemThree.m -------------------------------------------------------------------------------- /08Facade/Facade/SystemTwo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade/SystemTwo.h -------------------------------------------------------------------------------- /08Facade/Facade/SystemTwo.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade/SystemTwo.m -------------------------------------------------------------------------------- /08Facade/Facade/ViewController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade/ViewController.h -------------------------------------------------------------------------------- /08Facade/Facade/ViewController.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade/ViewController.m -------------------------------------------------------------------------------- /08Facade/Facade/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/08Facade/Facade/main.m -------------------------------------------------------------------------------- /09Builder/Builder.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /09Builder/Builder.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /09Builder/Builder/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/AppDelegate.h -------------------------------------------------------------------------------- /09Builder/Builder/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/AppDelegate.m -------------------------------------------------------------------------------- /09Builder/Builder/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /09Builder/Builder/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /09Builder/Builder/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /09Builder/Builder/Builder/PersonBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/Builder/PersonBuilder.h -------------------------------------------------------------------------------- /09Builder/Builder/Builder/PersonBuilder.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/Builder/PersonBuilder.m -------------------------------------------------------------------------------- /09Builder/Builder/Builder/PersonFatBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/Builder/PersonFatBuilder.h -------------------------------------------------------------------------------- /09Builder/Builder/Builder/PersonFatBuilder.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/Builder/PersonFatBuilder.m -------------------------------------------------------------------------------- /09Builder/Builder/Builder/PersonThinBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/Builder/PersonThinBuilder.h -------------------------------------------------------------------------------- /09Builder/Builder/Builder/PersonThinBuilder.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/Builder/PersonThinBuilder.m -------------------------------------------------------------------------------- /09Builder/Builder/Director/PersonDirector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/Director/PersonDirector.h -------------------------------------------------------------------------------- /09Builder/Builder/Director/PersonDirector.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/Director/PersonDirector.m -------------------------------------------------------------------------------- /09Builder/Builder/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/Info.plist -------------------------------------------------------------------------------- /09Builder/Builder/Product/PersonView.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/Product/PersonView.h -------------------------------------------------------------------------------- /09Builder/Builder/Product/PersonView.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/Product/PersonView.m -------------------------------------------------------------------------------- /09Builder/Builder/ViewController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/ViewController.h -------------------------------------------------------------------------------- /09Builder/Builder/ViewController.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/ViewController.m -------------------------------------------------------------------------------- /09Builder/Builder/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/09Builder/Builder/main.m -------------------------------------------------------------------------------- /10Observer/Observer.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/10Observer/Observer.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /10Observer/Observer.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/10Observer/Observer.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /10Observer/Observer/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/10Observer/Observer/AppDelegate.h -------------------------------------------------------------------------------- /10Observer/Observer/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/10Observer/Observer/AppDelegate.m -------------------------------------------------------------------------------- /10Observer/Observer/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/10Observer/Observer/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /10Observer/Observer/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/10Observer/Observer/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /10Observer/Observer/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/10Observer/Observer/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /10Observer/Observer/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/10Observer/Observer/Info.plist -------------------------------------------------------------------------------- /10Observer/Observer/Observer/Observer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/10Observer/Observer/Observer/Observer.h -------------------------------------------------------------------------------- /10Observer/Observer/Observer/Observer.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/10Observer/Observer/Observer/Observer.m -------------------------------------------------------------------------------- /10Observer/Observer/Observer/StockObserver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/10Observer/Observer/Observer/StockObserver.h -------------------------------------------------------------------------------- /10Observer/Observer/Observer/StockObserver.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/10Observer/Observer/Observer/StockObserver.m -------------------------------------------------------------------------------- /10Observer/Observer/Secertary/Secretary.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/10Observer/Observer/Secertary/Secretary.h -------------------------------------------------------------------------------- /10Observer/Observer/Secertary/Secretary.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/10Observer/Observer/Secertary/Secretary.m -------------------------------------------------------------------------------- /10Observer/Observer/ViewController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/10Observer/Observer/ViewController.h -------------------------------------------------------------------------------- /10Observer/Observer/ViewController.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/10Observer/Observer/ViewController.m -------------------------------------------------------------------------------- /10Observer/Observer/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/10Observer/Observer/main.m -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/AppDelegate.h -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/AppDelegate.m -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Factory/AccessFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Factory/AccessFactory.h -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Factory/AccessFactory.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Factory/AccessFactory.m -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Factory/IFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Factory/IFactory.h -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Factory/IFactory.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Factory/IFactory.m -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Factory/SqlServerFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Factory/SqlServerFactory.h -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Factory/SqlServerFactory.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Factory/SqlServerFactory.m -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Info.plist -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Manger/DepartmentManager/AccessDepartment.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Manger/DepartmentManager/AccessDepartment.h -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Manger/DepartmentManager/AccessDepartment.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Manger/DepartmentManager/AccessDepartment.m -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Manger/DepartmentManager/IDepartment.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Manger/DepartmentManager/IDepartment.h -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Manger/DepartmentManager/IDepartment.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Manger/DepartmentManager/IDepartment.m -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Manger/DepartmentManager/SqlServerDepartment.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Manger/DepartmentManager/SqlServerDepartment.h -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Manger/DepartmentManager/SqlServerDepartment.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Manger/DepartmentManager/SqlServerDepartment.m -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Manger/UserManager/AccessUser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Manger/UserManager/AccessUser.h -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Manger/UserManager/AccessUser.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Manger/UserManager/AccessUser.m -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Manger/UserManager/IUser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Manger/UserManager/IUser.h -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Manger/UserManager/IUser.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Manger/UserManager/IUser.m -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Manger/UserManager/SqlServerUser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Manger/UserManager/SqlServerUser.h -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Manger/UserManager/SqlServerUser.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Manger/UserManager/SqlServerUser.m -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Table/Department.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Table/Department.h -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Table/Department.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Table/Department.m -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Table/User.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Table/User.h -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/Table/User.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/Table/User.m -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/ViewController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/ViewController.h -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/ViewController.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/ViewController.m -------------------------------------------------------------------------------- /11AbstractFactory/AbstractFactory/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/11AbstractFactory/AbstractFactory/main.m -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clairehu7/DesignPatterns/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DesignPatterns 2 | iOS 版《大话设计模式》例子。 3 | 4 | 个人心得:http://blog.csdn.net/a12a33/article/category/6097425 5 | 6 | 7 | --------------------------------------------------------------------------------