Swift2面向对象编程(影印版) 东南大学出版社 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
Swift2面向对象编程(影印版) 东南大学出版社电子书下载地址
- 文件名
- [epub 下载] Swift2面向对象编程(影印版) 东南大学出版社 epub格式电子书
- [azw3 下载] Swift2面向对象编程(影印版) 东南大学出版社 azw3格式电子书
- [pdf 下载] Swift2面向对象编程(影印版) 东南大学出版社 pdf格式电子书
- [txt 下载] Swift2面向对象编程(影印版) 东南大学出版社 txt格式电子书
- [mobi 下载] Swift2面向对象编程(影印版) 东南大学出版社 mobi格式电子书
- [word 下载] Swift2面向对象编程(影印版) 东南大学出版社 word格式电子书
- [kindle 下载] Swift2面向对象编程(影印版) 东南大学出版社 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分
书籍信息完全性:3分
网站更新速度:5分
使用便利性:6分
书籍清晰度:7分
书籍格式兼容性:3分
是否包含广告:7分
加载速度:3分
安全性:4分
稳定性:7分
搜索功能:3分
下载便捷性:5分
下载点评
- 下载速度快(419+)
- 经典(493+)
- 内涵好书(241+)
- 超值(465+)
- mobi(266+)
- 盗版少(134+)
- 书籍完整(406+)
- 傻瓜式服务(368+)
下载评价
- 网友 习***蓉: ( 2025-01-19 14:46:45 )
品相完美
- 网友 堵***格: ( 2025-01-09 08:42:56 )
OK,还可以
- 网友 康***溪: ( 2025-01-16 11:12:50 )
强烈推荐!!!
- 网友 曹***雯: ( 2025-01-03 14:37:40 )
为什么许多书都找不到?
- 网友 汪***豪: ( 2025-01-12 06:47:38 )
太棒了,我想要azw3的都有呀!!!
- 网友 冯***丽: ( 2024-12-20 15:41:49 )
卡的不行啊
- 网友 隗***杉: ( 2024-12-31 09:12:42 )
挺好的,还好看!支持!快下载吧!
- 网友 丁***菱: ( 2024-12-21 00:14:03 )
好好好好好好好好好好好好好好好好好好好好好好好好好
- 网友 戈***玉: ( 2025-01-14 21:38:52 )
特别棒
- 化身博士 译林出版社 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 母鸡萝丝去散步(3-8岁) 信谊世界精选图画书(生动有趣的图画让文字活灵活现,孩子享受故事时不知不觉也学到更多的“动词”) 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 现货 台湾原版 玻璃罐常備菜72道:輕食新運動!是沙拉,是主食 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 全新正版图书 恐龙霸主·霸王龙:遭遇挫折 崔钟雷 哈尔滨出版社 9787548444817青岛新华书店旗舰店 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 赛尔号爆笑战神学院第二季2-雷小伊去哪了 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 9787511116864 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 园林景观构造 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 2012年考试专用 全国计算机等级考试考眼分析与样卷解析 一级B (第2版) 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 心血管内科学习题集(副主任医师主任医师)/高级卫生专业技术资格考试用书 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 华夏万卷 中国书法传世碑帖精品 行书01:二王尺牍 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
书籍真实打分
故事情节:6分
人物塑造:5分
主题深度:9分
文字风格:5分
语言运用:8分
文笔流畅:7分
思想传递:5分
知识深度:7分
知识广度:9分
实用性:9分
章节划分:3分
结构布局:8分
新颖与独特:9分
情感共鸣:4分
引人入胜:7分
现实相关:8分
沉浸感:4分
事实准确性:5分
文化贡献:6分