Skip to Content
Swift学习手册
book

Swift学习手册

by Jon Manning, Paris Buttfield-Addison, Tim Nugent
February 2017
Beginner to intermediate
472 pages
9h 53m
Chinese
China Electric Power Press Ltd.
Content preview from Swift学习手册
1
前言
欢迎阅读本书!我们将为
Apple
OS X
iOS
watchOS
平台开发一个笔记应用,让
你实践
Swift
编程语言。
Swift
是一门出色的现代语言,借鉴了其他新式语言的最佳实践,而没有重新发明轮子。
Swift
易于编写、易于学习,极难犯错。
我们认为,学习
Swift
的最佳方法是使用它构建应用。不过,若想构建应用,需要趁手
的框架,而
Apple
为我们提供了好多,例如
Cocoa
Cocoa Touch
WatchKit
。本书的
书名也可以改成“通过
Swift
学习
Cocoa
Cocoa Touch
”,因为框架和语言本身同等重要。
写作本书时,
Swift
的当前版本是
2.2
,而且未来一片光明。
书中使用的资源
我们建议你在阅读每一章的同时自己动手编写代码。如果卡住了,或者想获取一份代码,
可以访问我们的网站(
http://www.secretlab.com.au/books/learning-swift
)。
本书的目的是教你构建真实的应用,主要集中讲解代码,不是让你设计图标,我们已经
为你准备好了。图标也可以从我们的网站中下载。
本书面向的读者和教学方式
本书只讲
Swift
,不涉及
Objective-C
。我们偶尔会提及后者,但是不要求你知道如何
使用它。本书先讲
Swift
的基础知识,然后分别为
OS X
iOS
构建一个完整的应用,
在这个过程中学习
Cocoa
Cocoa Touch
watchOS
框架。注意,
Swift
是编程语言,
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

PyTorch深度学习

PyTorch深度学习

Posts & Telecom Press, Vishnu Subramanian
深入淺出代數

深入淺出代數

Tracey Pilone, Dan Pilone
PHP学习手册

PHP学习手册

David Sklar
C语言核心技术(原书第2版)

C语言核心技术(原书第2版)

Peter Prinz, Tony Crawford

Publisher Resources

ISBN: 9787519803223