Swift2面向对象编程 (意)加斯顿·C.希勒(Gaston C.Hillar) 著 mobi 下载 网盘 caj lrf pdf txt 阿里云

Swift2面向对象编程 (意)加斯顿·C.希勒(Gaston C.Hillar) 著精美图片
》Swift2面向对象编程 (意)加斯顿·C.希勒(Gaston C.Hillar) 著电子书籍版权问题 请点击这里查看《

Swift2面向对象编程 (意)加斯顿·C.希勒(Gaston C.Hillar) 著书籍详细信息

  • I***N:9787564170790
  • 作者:暂无作者
  • 出版社:暂无出版社
  • 出版时间:2017-04
  • 页数:暂无页数
  • 价格:47.30
  • 纸张:轻型纸
  • 装帧:平装-胶订
  • 开本:16开
  • 语言:未知
  • 丛书:暂无丛书
  • TAG:暂无
  • 豆瓣评分:暂无豆瓣评分
  • 豆瓣短评:点击查看
  • 豆瓣讨论:点击查看
  • 豆瓣目录:点击查看
  • 读书笔记:点击查看
  • 原文摘录:点击查看

寄语:

新华书店正版,关注店铺成为会员可享店铺专属优惠,团购客户请咨询在线客服!


内容简介:

本书包含了大量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 c***tants to create properties

Recognizing acti*** 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 functi*** 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 c***traint

Declaring a class that conforms to multiple protocols

Declaring subclasses that inherit the conformance to protocols

Declaring a class that works with a c***trained 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 c***trained 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 functi*** 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 conditi***

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 extensi***

Adding computed properties to a base type with extensi***

Declaring new convenience initializers with extensi***

Defining subs with extensi***

Working with object-oriented code in apps

Adding an object-oriented data repository to a project

In***cting 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 c***ultant and a freelance autho***ho 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.


出版社信息:

暂无出版社相关信息,正在全力查找中!


书籍摘录:

暂无相关书籍摘录,正在全力查找中!



原文赏析:

暂无原文赏析,正在全力查找中!


其它内容:

暂无其它内容!


书籍真实打分

  • 故事情节:3分

  • 人物塑造:4分

  • 主题深度:5分

  • 文字风格:7分

  • 语言运用:9分

  • 文笔流畅:6分

  • 思想传递:7分

  • 知识深度:6分

  • 知识广度:9分

  • 实用性:5分

  • 章节划分:9分

  • 结构布局:9分

  • 新颖与独特:4分

  • 情感共鸣:5分

  • 引人入胜:3分

  • 现实相关:5分

  • 沉浸感:4分

  • 事实准确性:7分

  • 文化贡献:6分


网站评分

  • 书籍多样性:7分

  • 书籍信息完全性:3分

  • 网站更新速度:7分

  • 使用便利性:3分

  • 书籍清晰度:9分

  • 书籍格式兼容性:3分

  • 是否包含广告:3分

  • 加载速度:9分

  • 安全性:6分

  • 稳定性:5分

  • 搜索功能:5分

  • 下载便捷性:6分


下载点评

  • 简单(363+)
  • 一星好评(382+)
  • 五星好评(517+)
  • 愉快的找书体验(612+)
  • 全格式(351+)
  • 无水印(530+)
  • epub(225+)
  • 排版满分(306+)

下载评价

  • 网友 曾***文:

    五星好评哦

  • 网友 菱***兰:

    特好。有好多书

  • 网友 戈***玉:

    特别棒

  • 网友 方***旋:

    真的很好,里面很多小说都能搜到,但就是收费的太多了

  • 网友 寿***芳:

    可以在线转化哦

  • 网友 孙***美:

    加油!支持一下!不错,好用。大家可以去试一下哦

  • 网友 车***波:

    很好,下载出来的内容没有乱码。

  • 网友 仰***兰:

    喜欢!很棒!!超级推荐!

  • 网友 习***蓉:

    品相完美

  • 网友 利***巧:

    差评。这个是收费的

  • 网友 石***烟:

    还可以吧,毕竟也是要成本的,付费应该的,更何况下载速度还挺快的


随机推荐