没有合适的资源?快使用搜索试试~ 我知道了~
工厂模式demo(swift、python双语版)
共52个文件
swift:25个
storyboard:6个
plist:4个
需积分: 2 0 下载量 192 浏览量
2018-08-29
18:58:12
上传
评论
收藏 127KB ZIP 举报
温馨提示
使用swift、python两种语言来编写demo介绍工厂模式,便于大家理解。
资源推荐
资源详情
资源评论
收起资源包目录
工厂方法模式.zip (52个子文件)
工厂方法模式
.DS_Store 6KB
python版
SimpleFactoryDemo.py 812B
AbstractFactoryDemo.py 2KB
.idea
misc.xml 261B
workspace.xml 21KB
python.iml 398B
modules.xml 264B
FactoryMethodDemo.py 627B
swift版
.DS_Store 6KB
AbstractFactoryDemo
Drink
SoyaMilk.swift 252B
Drink.swift 240B
Coffee.swift 248B
ViewController.swift 710B
Info.plist 1KB
AppDelegate.swift 2KB
Food
Hamburg.swift 249B
DeepFried.swift 253B
Food.swift 238B
Generator
FoodBGenerator.swift 409B
FoodGenerator.swift 674B
FoodAGenerator.swift 413B
Base.lproj
LaunchScreen.storyboard 2KB
Main.storyboard 2KB
Assets.xcassets
AppIcon.appiconset
Contents.json 1KB
FactoryDemo.xcodeproj
project.xcworkspace
contents.xcworkspacedata 156B
xcuserdata
xueyang.li.xcuserdatad
UserInterfaceState.xcuserstate 154KB
xcuserdata
xueyang.li.xcuserdatad
xcdebugger
Breakpoints_v2.xcbkptlist 91B
xcschemes
xcschememanagement.plist 705B
SimpleFactoryDemo.xcscheme 3KB
project.pbxproj 32KB
FactoryDemo
ViewController.swift 613B
Info.plist 1KB
AppDelegate.swift 2KB
FruitGenerator.swift 492B
Base.lproj
LaunchScreen.storyboard 2KB
Main.storyboard 2KB
Apple.swift 236B
Fruit.swift 232B
Assets.xcassets
AppIcon.appiconset
Contents.json 1KB
Banana.swift 238B
FactoryMethodDemo
ViewController.swift 509B
Info.plist 1KB
AppDelegate.swift 2KB
Pruduct
Charade.swift 246B
Car.swift 234B
Ferrari.swift 249B
Base.lproj
LaunchScreen.storyboard 2KB
Main.storyboard 2KB
Assets.xcassets
AppIcon.appiconset
Contents.json 1KB
Factory
CarFactory.swift 254B
CharadeFactory.swift 277B
FerrariFactory.swift 277B
共 52 条
- 1
资源评论
追到梦的魔术师
- 粉丝: 33
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功