...》By Adam Freeman,一些地方做了些许修改,并将代码升级到了Swift2.0,翻译不当之处望多包涵。 建造者模式(The Builder Pattern) 建造者模式用来将对象的配置从创建中分离出来。请求组件有配置数据并将它传递给中间人-建造者-它负责创建代表组件的对象。
基于62个网页-相关网页
the builder pattern
构建者模式
以上为机器翻译结果,长、整句建议使用 人工翻译 。
The implementation of the builder pattern can be complex, but once the builder is available, it simplifies the construction and use of the objects the builder creates.
生成器模式的实现可以很复杂,但一旦生成器可用,它就可以简化生成器所创建对象的构造和使用。
youdao
应用推荐
模块上移
模块下移
不移动