您的位置:首页 > 移动开发 > Swift

Swift学习资源

2016-03-24 23:24 627 查看





最新内容请查看Wiki
苹果公司在WWDC 2014上宣布了他们将会推出一款新的编程语言,面向iOS和OS X系统的开发人员,这个新的语言被命名为Swift。
Swift在iOS 8发布的时候推向市场,用来取代现有的Objective-C语言,对于这个巨大的决定,苹果公司的解释是Swift速度更快,使用起来更加容易。在Swift推出之后,苹果公司应该也不会停止对Objective-C的支持,开发工具会同时支持两种语言。


官方文档及示例


官方文档

目前唯一的完善的文档是官方发布的《The Swift Programming Language》,是名副其实的
Swift圣经
。目前官方只提供iBooks版本,网友们制作了其它格式的文档可供下载。

《The Swift Programming Language》

苹果官方版本
Kindle/EPUB/PDF版本(百度盘

Swift介绍 Introducing Swift

WWDC2014 Videos


非官方文档与社区(英文)


初级话题

StackOverflow上的Swift讨论
github上的swift内容 search结果
Swift Cheatsheet
Swift & Cocoapods How to integrate Cocoapods into a vanilla Swift
project

Swift Toolbox

Developing iOS Apps Using Swift
Tutorial

7 thoughts on “Swift: Not quite there, but too far
gone too”
Swift Impressions by Evan Miller

Swift Tutorial – Developing iOS
8 Apps by Jameson Quave 很完整的学习文档

An Absolute Beginner’s Guide to Swift和Understanding
Optionals in Swift by Amit Bijlani

Swift Cheat Sheet and Quick Reference by Ray Wenderlich
Generics in Swift
How to use the Swift REPL language shell – Swift programming from the command line
How to write a minimal WebKit browser in 30 lines of
Swift
Swift Initializers
Create the Game of Life using Swift and SpriteKit
Composing functions in Swift

Advanced Swift

We ❤ Swift

LEARNABLE PROGRAMMING Designing a programming system for understanding programs
把《The Swift Programming Language》读薄 by Hawstein


深入话题

Swift Operators by Mattt Thompson
Beginning Core Image in Swift
Multiple Animations by David Rönnqvist
The Case for Message Passing in Swift by Michael
Buckley
The Core Data stack in Swift by Marcus Zarra
How to Make a Game Like Candy Crush with Swift
Tutorial: Part 1 and Part 2 by Matthijs Hollemans
Build custom simulators by Erica Sadun
CloudKit: Moves like Azure by Tom Harrington
about Error handling by Chris Cieslak
Inside Swift
List of implicitly defined variables in Swift 和 Swift
Standard Library: Documented and undocumented built-in functions in the Swift standard library – the complete list with all 74 functions by practicalswift
Swift’s Weird Handling of Basic Value Types and AnyObject
Creation of pure Swift module by Alex Denisov. make a logging library
and shows us how to document classes in Xcode.
How to write unit tests in Swift with XCTest
gesture recognizer
Swift Language Highlights: An Objective-C Developer’s Perspective
Swift Sequences and lazy evaluation
SPACESHIP OPERATOR IN SWIFT 和 REGULAR
EXPRESSIONS IN SWITCH STATEMENTSby Venkat Peri


博客与翻译(中文)

有网友第一时间开始了官方文档的翻译工作,相信近期将由更多文档和教程出现。


社区

https://www.v2ex.com/go/swift
http://swift.sh
http://swift-china.org
CocoaChina的Swift讨论区
QQ群

iOS开发者-开始Swift,群号:32958950,申请时请说明身份。


翻译

《The Swift Programming Language》中文版协作翻译))第一份完整的中文翻译

Apple Swift编程语言入门教程》比较早期的一篇翻译,最近没有更新


评论

关于 Swift 的一点初步看法》 by onevcat
行走于 Swift 的世界中》 by onevcat 更详细的一篇评论
来自苹果的编程语言——Swift简介


课程

SwiftV课堂》 免费Swift学习视频
Apple Swift语言基础教程》极客学院


官方示例

Apple同时发布了3个示例程序,用于初窥Swift开发的项目。

Lister: A Productivity App Built in Swift apple / github

UICatalog: Creating and Customizing UIKit Controls in Swift apple / github

Adventure: Building a SpriteKit Game Using Swift apple / github

GestureRecognizers: Using standard UIGestureRecognizers in Swift apple / github


非官方代码分享

Swift Trending

FlappySwift 用Swift实现的FlappyBird

swift-2048
PNChart-Swift 可以创建图表的库
Game of Life 一个游戏
swift-alarm 基于地理位置的提醒工具 blog
SwiftNote
翻翻看 游戏翻翻看Swift版
HackerNews HackerNews网站的第三方客户端

SwiftWeather 一个天气客户端

SwiftSingleton

Swift: Spiroswiftograph a cool example of
what you can do in the Playground

UIImageView-BetterFace-Swift 展示图片是加入面部识别,改善展示效果

YYHRequest-Swift 异步HTTP请求类

Noah’s Ark, in Swift is a funny example of
unicode support

Cartography is an excellent example of what could be achieved with operator overloading. If you
don’t like writing Autolayout constraints you should definitely check it out.
Dollar is a Swift library that provides useful functional programming helper methods without
extending any built in objects. It is similar to Lo-Dash or Underscore in Javascript.
swifter Tiny http server engine written in Swift programming language.
SwiftyJSON
Agent Minimalistic Swift HTTP request agent for iOS and OS X


开发工具


xcode
6 下载

xcode 6 安装系统要求为MacOSX 10.9.3+


http://pan.baidu.com/s/1dD2AJ3j

xcode_6.0.1.dmg http://pan.baidu.com/s/1sjNQY1B

xcode_6.dmg http://pan.baidu.com/s/1jGoTsWm_
xcode_6_beta_6.dmg http://pan.baidu.com/s/1dD3qeOT
xcode_6_beta_4.dmg http://pan.baidu.com/s/1pJ0nkJx
xcode_6_beta_3.dmg http://pan.baidu.com/s/1nt0WS8T


其它

iOS Developer Library

Chris Lattner Swift设计者

iOS 7.1
to iOS 8.0 API Differences

App Extensions Increase Your
Impact
Swift学习资源 新手的Swift学习资料汇总,比较详细总结了常用的资源。


因为重名躺枪的Swift

Swift Lang 一门很专业的并行编程语言,有苹果在Swift页面的链接,肯定带过去很多访问量。
OpenStack Swift OpenStack Object Storage (Swift)。

Swift聊天工具 基于XMPP的聊天工具及服务端SDK。

Taylor Swift 美国乡村音乐女創作歌手、吉他歌手、演员。这位1989年出生的美女获得过数不清的格莱美奖及其它排行榜大奖。2014/05/30刚举办了泰勒•斯威夫特“红”巡演上海演唱会。WWDC2014之后三天,她从Google搜索结果首页被挤出,很受伤,歌迷们也很受伤。去脸盆网关注她,去音悦台听她的歌


讨论区

【iOS开发者-开始Swift】QQ交流群32958950 申请时请说明身份。

【iOS开发者-开始Swift】QQ交流群32958950 申请时请说明身份。
联系维护人 Lax,微博@懒桃儿吃桃儿,
twitter@liulantao
网页版SwiftBeginnersGuide
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: