书悦网 -Swift2面向对象编程(影印版) 东南大学出版社
本书资料更新时间:2025-01-20 13:07:50

Swift2面向对象编程(影印版) 东南大学出版社 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线

Swift2面向对象编程(影印版) 东南大学出版社精美图片
》Swift2面向对象编程(影印版) 东南大学出版社电子书籍版权问题 请点击这里查看《

Swift2面向对象编程(影印版) 东南大学出版社书籍详细信息

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

寄语:

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


内容简介:

本书包含了大量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.


出版社信息:

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


书籍摘录:

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



原文赏析:

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


其它内容:

暂无其它内容!


书籍真实打分

  • 故事情节:6分

  • 人物塑造:5分

  • 主题深度:9分

  • 文字风格:5分

  • 语言运用:8分

  • 文笔流畅:7分

  • 思想传递:5分

  • 知识深度:7分

  • 知识广度:9分

  • 实用性:9分

  • 章节划分:3分

  • 结构布局:8分

  • 新颖与独特:9分

  • 情感共鸣:4分

  • 引人入胜:7分

  • 现实相关:8分

  • 沉浸感:4分

  • 事实准确性:5分

  • 文化贡献:6分


网站评分

  • 书籍多样性: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 )

    特别棒


随机推荐