Swift2面向对象编程 (意)加斯顿·C.希勒(Gaston C.Hillar) 著 阿里云 kindle chm umd 极速 pdf txt 下载

Swift2面向对象编程 (意)加斯顿·C.希勒(Gaston C.Hillar) 著电子书下载地址
- 文件名
- [epub 下载] Swift2面向对象编程 (意)加斯顿·C.希勒(Gaston C.Hillar) 著 epub格式电子书
- [azw3 下载] Swift2面向对象编程 (意)加斯顿·C.希勒(Gaston C.Hillar) 著 azw3格式电子书
- [pdf 下载] Swift2面向对象编程 (意)加斯顿·C.希勒(Gaston C.Hillar) 著 pdf格式电子书
- [txt 下载] Swift2面向对象编程 (意)加斯顿·C.希勒(Gaston C.Hillar) 著 txt格式电子书
- [mobi 下载] Swift2面向对象编程 (意)加斯顿·C.希勒(Gaston C.Hillar) 著 mobi格式电子书
- [word 下载] Swift2面向对象编程 (意)加斯顿·C.希勒(Gaston C.Hillar) 著 word格式电子书
- [kindle 下载] Swift2面向对象编程 (意)加斯顿·C.希勒(Gaston C.Hillar) 著 kindle格式电子书
寄语:
新华书店正版,关注店铺成为会员可享店铺专属优惠,团购客户请咨询在线客服!
内容简介:
本书包含了大量Swift面向对象编程常见问题的解决方法。书中以真实的场景帮助你了解对象的概念,演示如何利用对象轻松地编写出易于理解和重用的代码。你将从中学习到使用Swift的数据封装特性来保护和隐藏数据,编写能够处理不同类型对象的代码来优选化地实现代码重用,见识到多态化的威力以及如何在普通代码中使用继承和多重继承。除此之外,还会接触到已有代码重构以及能够简化源代码维护和扩展的组织方法.阅读完本书之后,你将能够编写出质量更高、更健壮、更具备可重用性的代码,这一切都有助于构建更棒的应用程序。
书籍目录:
Preface
Chapter 1: Objects from the Real World to Playground
Installing the required software
Capturing objects from the real world
Generating classes to create objects
Recognizing variables and constants to create properties
Recognizing actions to create methods
Organizing classes with UML diagrams
Working with API objects in the Xcode Playground
Exercises
Test your knowledge
Summary
Chapter 2: Structures, Classes, and Instances
Understanding structures, classes, and instances
Understanding initialization and its customization
Understanding deinitialization and its customization
Understanding automatic reference counting
Declaring classes
Customizing initialization
Customizing deinitialization
Creating the instances of classes
Exercises
Test your knowledge
Summary
Chapter 3: Encapsulation of Data with Properties
Understanding the elements that compose a class
Declaring stored properties
Generating computed properties with setters and getters
Combining setters, getters, and a related property
Understanding property observers
Transforming values with setters and getters
Using type properties to create values shared by all the instances of a class
Creating mutable classes
Building immutable classes
Exercises
Test your knowledge
Summary
Chapter 4: Inheritance, Abstraction, and Speization
Creating class hierarchies to abstract and speize behavior
Understanding inheritance
Declaring classes that inherit from another class
Overriding and overloading methods
Overriding properties
Controlling whether subclasses can or cannot override members
Working with typecasting and polymorphism
Taking advantage of operator overloading
Declaring operator functions for specific subclasses
Exercises
Test your knowledge
Summary
Chapter 5: Contract Programming with Protocols
Understanding how protocols work in combination with classes
Declaring protocols
Declaring classes that adopt protocols
Taking advantage of the multiple inheritance of protocols
Combining inheritance and protocols
Working with methods that receive protocols as arguments
Downcasting with protocols and classes
Treating instances of a protocol type as a different subclass
Specifying requirements for properties
Specifying requirements for methods
Combining class inheritance with protocol inheritance
Exercises
Test your knowledge
Summary
Chapter 6: Maximization of Code Reuse with Generic Code
Understanding parametric polymorphism and generic code
Declaring a protocol to be used as a constraint
Declaring a class that conforms to multiple protocols
Declaring subclasses that inherit the conformance to protocols
Declaring a class that works with a constrained generic type
Using a generic class for multiple types
Combining initializer requirements in protocols with generic types
Declaring associated types in protocols
Creating shortcuts with subs
Declaring a class that works with two constrained generic types
Using a generic class with two generic type parameters
Inheriting and adding associated types in protocols
Generalizing existing classes with generics
Extending base types to conform to custom protocols
Test your knowledge
Exercises
Summary
Chapter 7: Object-Oriented Programming and Functional Programming
Refactoring code to take advantage of object-oriented programming
Understanding functions as first-class citizens
Working with function types within classes
Creating a functional version of array filtering
Writing equivalent closures with simplified code
Creating a data repository with generics and protocols
Filtering arrays with complex conditions
Using map to transform values
Combining map with reduce
Chaining filter, map, and reduce
Solving algorithms with reduce
Exercises
Test your knowledge
Summary
Chapter 8: Extendin and Buildin Ob'ect-Oriented Code
Putting together all the pieces of the object-oriented puzzle
Adding methods with extensions
Adding computed properties to a base type with extensions
Declaring new convenience initializers with extensions
Defining subs with extensions
Working with object-oriented code in apps
Adding an object-oriented data repository to a project
Interacting with an object-oriented data repository through
Picker View
Exercises
Test your knowledge
Summary
Appendix: Exercise Answers
Chapter 1, Objects from the Real World to Playground
Chapter 2, Structures, Classes, and Instances
Chapter 3, Encapsulation of Data with Properties
Chapter 4, Inheritance, Abstraction, and Speization
Chapter 5, Contract Programming with Protocols
Chapter 6, Maximization of Code Reuse with Generic Code
Chapter 7, Object-Oriented Programming and Functional
Programming
Chapter 8, Extending and Building Object-Oriented Code
Index
作者介绍:
加斯顿·C.希勒,Gaston C. Hillar is an Italian and has been working with computers since he was 8 years old. In the early 80s, he began programming with the legendary Texas TI-99/4A and Commodore 64 home computers. Gaston has a bachelor's degree in computer science and graduated with honors. He also holds an MBA in which he graduated with an outstanding thesis. At present, Gaston is an independent IT consultant and a freelance author who is always looking for new adventures around the world.
He has been a senior contributing editor at Dr. Dobb's and has written more than a hundred articles on software development topics. Gatson was also a former Microsoft MVP in technical computing. He has received the prestigious Intel Black Belt Software Developer award seven times.
出版社信息:
暂无出版社相关信息,正在全力查找中!
书籍摘录:
暂无相关书籍摘录,正在全力查找中!
在线阅读/听书/购买/PDF下载地址:
原文赏析:
暂无原文赏析,正在全力查找中!
其它内容:
暂无其它内容!
网站评分
书籍多样性:6分
书籍信息完全性:4分
网站更新速度:4分
使用便利性:5分
书籍清晰度:9分
书籍格式兼容性:4分
是否包含广告:7分
加载速度:5分
安全性:9分
稳定性:6分
搜索功能:3分
下载便捷性:7分
下载点评
- 无缺页(442+)
- 藏书馆(217+)
- 二星好评(353+)
- 全格式(596+)
- 格式多(377+)
- 超值(505+)
- 无水印(552+)
- 差评少(295+)
- 盗版少(165+)
- 服务好(277+)
下载评价
- 网友 石***致:
挺实用的,给个赞!希望越来越好,一直支持。
- 网友 印***文:
我很喜欢这种风格样式。
- 网友 訾***晴:
挺好的,书籍丰富
- 网友 寿***芳:
可以在线转化哦
- 网友 冷***洁:
不错,用着很方便
- 网友 曹***雯:
为什么许多书都找不到?
- 网友 孙***美:
加油!支持一下!不错,好用。大家可以去试一下哦
- 网友 石***烟:
还可以吧,毕竟也是要成本的,付费应该的,更何况下载速度还挺快的
- 网友 冯***丽:
卡的不行啊
- 网友 堵***洁:
好用,支持
- 网友 权***颜:
下载地址、格式选择、下载方式都还挺多的
- 网友 康***溪:
强烈推荐!!!
- 网友 丁***菱:
好好好好好好好好好好好好好好好好好好好好好好好好好
喜欢"Swift2面向对象编程 (意)加斯顿·C.希勒(Gaston C.Hillar) 著"的人也看了
全新正版图书 马克思主义中国化的新境界 周振国 中国社会科学出版社 9787516123423青岛新华书店旗舰店 阿里云 kindle chm umd 极速 pdf txt 下载
图书馆文献信息检索与信息资源建设研究 阿里云 kindle chm umd 极速 pdf txt 下载
乐学汉语(基础篇 第4册)/对外汉语速成系列教材 阿里云 kindle chm umd 极速 pdf txt 下载
语文 三年级 上册 阿里云 kindle chm umd 极速 pdf txt 下载
铝型材标准汇编(第二版) 阿里云 kindle chm umd 极速 pdf txt 下载
【全新速发】正版 卫生检验检疫实验教程 卫生微生物检验分册 张玉妥 本科卫生检验与检疫专业 人民卫生出版社9787117202213Z 阿里云 kindle chm umd 极速 pdf txt 下载
Beyond Success 阿里云 kindle chm umd 极速 pdf txt 下载
国际关系中的等级制 阿里云 kindle chm umd 极速 pdf txt 下载
革命英杰司马文森 阿里云 kindle chm umd 极速 pdf txt 下载
机不可失 9787517122111 浩晨·天宇编 中国言实出版社 阿里云 kindle chm umd 极速 pdf txt 下载
- 正黄一真建筑风水学书籍大全套装7册住宅布局居家布置风水书居家宜风水楼盘生活风水学庭院装修设计风水现代住宅风水 阿里云 kindle chm umd 极速 pdf txt 下载
- 谢谢!(魔法象·图画书王国) 阿里云 kindle chm umd 极速 pdf txt 下载
- 礼记译注(上、下) 阿里云 kindle chm umd 极速 pdf txt 下载
- 北方萨满文化 阿里云 kindle chm umd 极速 pdf txt 下载
- 航空概论(航空航天工程类专业规划教材)(英文版) 阿里云 kindle chm umd 极速 pdf txt 下载
- 人一生要去的100 个地方 彩图精装正版 人一生要去的100个地方旅游指南攻略书籍 一次说走就走的旅行正版 阿里云 kindle chm umd 极速 pdf txt 下载
- 高尔夫球运动与管理专业精品教材--高尔夫球童技能教程 阿里云 kindle chm umd 极速 pdf txt 下载
- 广东专版 2024版小学学霸天天默写三年级下册语文人教版专项同步训练习册 3年级下册默写能手小达人知识点汇总练习练写字PASS绿卡图书 阿里云 kindle chm umd 极速 pdf txt 下载
- 英汉对照分子生物学导论 阿里云 kindle chm umd 极速 pdf txt 下载
- 国际象棋女子经典对局赏析 阿里云 kindle chm umd 极速 pdf txt 下载
书籍真实打分
故事情节:8分
人物塑造:3分
主题深度:4分
文字风格:9分
语言运用:7分
文笔流畅:8分
思想传递:9分
知识深度:3分
知识广度:4分
实用性:3分
章节划分:3分
结构布局:5分
新颖与独特:9分
情感共鸣:5分
引人入胜:7分
现实相关:3分
沉浸感:6分
事实准确性:4分
文化贡献:5分