Go to file
Liu Lantao b4b52dd94a
Merge pull request #17 from janeshsutharios/patch-1
Added SwiftUI & Swift Tutorials link
2023-05-24 20:40:19 +08:00
.scripts add update date 2017-11-20 07:18:57 +08:00
AVCam AVCam: Version 7.1, 2017-06-06 2017-10-16 22:40:45 +08:00
AVCamBarcode AVCamBarcode: Version 3.0, 2017-09-19 2017-10-16 22:45:35 +08:00
AVCamPhotoFilter AVCamPhotoFilter: Version 3.0, 2017-09-19 2017-10-16 22:46:40 +08:00
AVCustomEdit AVCustomEdit: Version 3.0, 2017-08-17 2017-11-20 07:39:41 +08:00
AVFoundationExporter AVFoundationExporter: Version 3.0, 2016-09-13 2016-12-24 12:03:34 +08:00
AVFoundationQueuePlayer AVFoundationQueuePlayer: Version 2.0, 2016-09-13 2016-12-24 12:07:45 +08:00
AVFoundationSimplePlayer-iOS renamed: AVFoundationSimplePlayer -> AVFoundationSimplePlayer-iOS 2017-11-20 07:42:24 +08:00
AVReaderWriter AVReaderWriter: Version 3.1, 2016-09-13 2016-12-24 12:06:36 +08:00
AccessibilityUIExamples AccessibilityUIExamples: Version 3.0, 2017-09-12 2017-11-20 07:43:49 +08:00
AdaptiveElements AdaptiveElements: Implementing Your Own Adaptive Design with UIKit: Version 1.0, 2016-09-13 2018-03-14 17:37:34 +08:00
AdoptingMetalII Adopting Metal II: Designing and Implementing a Real-World Metal Renderer: Version 1.0, 2016-09-13 2018-03-14 17:38:34 +08:00
Adventure Adventure: Version 1.6, 2015-03-11 2015-03-14 09:05:54 +08:00
AppChat AppChat: Version 1.0, 2016-10-27 2017-11-20 07:47:31 +08:00
ApplicationShortcuts ApplicationShortcuts: Version 1.3, 2017-12-14 2017-12-20 13:09:45 +08:00
AudioInARKit Audio in ARKit: Version 2.1, 2018-03-08 2018-03-14 17:40:31 +08:00
AudioUnit AudioUnitV3Example: A Basic AudioUnit Extension and Host Implementation: Version 3.0, 2017-06-06 2017-10-16 22:41:52 +08:00
AudioUnitV3Example AudioUnitV3Example: Version 3.0, 2017-06-06 2017-11-20 08:25:13 +08:00
Badger Badger: Version 1.0, 2016-09-13 2016-12-24 12:26:27 +08:00
CFHostSample CFHostSample: Version 3.0, 2017-03-14 2017-11-20 08:51:46 +08:00
CallJS CallJS: Version 1.1, 2011-07-05 2017-12-28 23:38:44 +08:00
CloudCaptions CloudCaptions: How integrate CloudKit into your application: Version 1.0, 2014-09-17 2018-02-13 11:11:37 +08:00
CoreDataBooks CoreDataBooks: Version 1.5, 2014-05-08 2018-02-13 11:13:27 +08:00
DemoBots DemoBots: Version 2.3, 2016-09-13 2016-10-09 10:24:17 +08:00
Flags Flags: A demonstration of automatic RTL support in Asset Catalogs and UIStackViews: Version 1.0, 2016-10-27 2018-03-14 17:42:42 +08:00
Footprint Footprint: Version 2.1, 2016-09-28 2016-12-24 11:54:24 +08:00
ForceTouchCatalog ForceTouchCatalog: Version 1.2, 2016-09-28 2016-12-24 12:01:02 +08:00
Fox2SceneKitWWDC2017samplecode Fox 2: SceneKit WWDC 2017 sample code: Version 1.2, 2018-02-08 2018-03-14 17:44:32 +08:00
HomeKitCatalog HomeKitCatalog: Version 2.2, 2016-09-13 2016-12-24 12:14:52 +08:00
IceCreamBuilder IceCreamBuilder: Version 1.0, 2016-09-13 2016-12-24 12:15:38 +08:00
IntentHandling IntentHandling: Version 1.0, 2016-09-13 2016-12-24 12:39:33 +08:00
InteractiveContent Interactive Content with ARKit: Version 1.2, 2018-02-15 2018-03-14 17:46:19 +08:00
KeychainTouchID KeychainTouchID: Using Touch ID with Keychain and LocalAuthentication: Version 3.0, 2016-09-28 2018-02-13 10:29:17 +08:00
Lister Lister: Version 3.4, 2016-09-28 2016-10-09 10:21:16 +08:00
LocateMe LocateMe: Version 4.0, 2014-09-17 2018-02-13 11:12:25 +08:00
MPRemoteCommandSample MPRemoteCommandSample: Using MPRemoteCommandCenter respond to remote control events: Version 1.0, 2016-10-27 2018-03-14 17:47:41 +08:00
MPSCNNHelloWorld MPSCNNHelloWorld: Version 1.1, 2016-11-17 2016-12-24 12:24:46 +08:00
MPSMatrixMultiplication MPSMatrixMultiplication: Version 1.0, 2016-09-13 2016-12-24 12:11:11 +08:00
MetalImageFilters MetalImageFilters: Version 1.0, 2016-09-13 2016-12-24 12:09:41 +08:00
MotionGraphs MotionGraphs: Version 2.0, 2017-02-02 2017-12-27 23:07:53 +08:00
PageControl PageControl: Version 7.0, 2017-09-21 2017-10-16 22:51:30 +08:00
Pathfinder Pathfinder: Version 1.1, 2016-09-28 2016-12-24 12:36:08 +08:00
PhotoPicker PhotoPicker: Using UIImagePickerController to Select Pictures and Take Photos: Version 4.2, 2018-01-11 2018-01-15 23:21:01 +08:00
PhotoProgress PhotoProgress 2015-06-13 09:15:39 +08:00
Photos Photos: Version 4.3, 2017-06-06 2017-10-16 22:43:27 +08:00
PotLoc PotLoc: Version 1.1, 2016-03-21 2016-05-15 18:44:06 +08:00
PrintPhoto PrintPhoto: Version 3.0, 2015-10-22 2016-12-24 12:14:08 +08:00
Quartz2D Quartz2D: Version 5.0, 2017-09-19 2017-10-16 22:47:56 +08:00
Reachability Reachability: Version 5.0, 2016-05-05 2018-02-13 10:59:49 +08:00
SamplePhotoEditingExtension SamplePhotoEditingExtension: Version 2.0, 2016-09-13 2016-12-24 12:32:52 +08:00
SegueCatalog SegueCatalog: Version 1.0, 2015-06-08 2015-06-13 09:18:40 +08:00
ShapeEdit ShapeEdit: Version 1.2, 2016-03-01 2016-05-15 18:48:58 +08:00
SimpleGestureRecognizers renamed: GestureRecognizersUsingstandardUIGestureRecognizers -> SimpleGestureRecognizers 2016-05-15 19:08:16 +08:00
SimpleTunnel SimpleTunnel: Customized Networking Using the NetworkExtension Framework: Version 1.3, 2016-10-04 2018-02-13 10:32:13 +08:00
Speakerbox Speakerbox: Version 1.0, 2016-09-13 2016-12-24 12:33:39 +08:00
SpeedSketch SpeedSketch: Version 1.0, 2016-09-29 2016-12-24 12:19:19 +08:00
SpeedySloth SpeedySloth: Using HealthKit to build a workout app for Apple Watch: Version 1.0, 2016-10-04 2017-12-27 23:04:15 +08:00
TableSearch Table Search with UISearchController: Version 1.6, 2018-01-16 2018-02-13 10:45:39 +08:00
TableViewPlayground TableViewPlayground: Using View-Based NSTableView and NSOutlineView: Version 3.0, 2017-04-14 2018-02-10 13:06:18 +08:00
ToolbarSample ToolbarSample: Version 3.0, 2016-10-27 2016-12-24 12:02:25 +08:00
TopSongs TopSongs: Version 5.2, 2017-03-23 2018-02-13 10:37:21 +08:00
TouchCanvas TouchCanvas: Version 2.1, 2017-11-16 2017-11-20 07:24:20 +08:00
UICatalog UIKit Catalog: Version 13.3, 2016-11-17 2016-12-24 11:52:56 +08:00
UnicornChat UnicornChat: Version 1.0, 2016-10-27 2016-12-24 12:37:42 +08:00
UserInterface3DTransforms User Interface 3D Transforms: Version 1.0, 2017-04-27 2017-10-16 22:37:21 +08:00
WatchBackgroundRefresh WatchBackgroundRefresh: Version 1.0, 2016-09-13 2016-12-24 12:36:54 +08:00
WatchKitCatalog WatchKit Catalog: Version 1.0, 2015-03-09 2015-03-14 08:17:31 +08:00
WatchPuzzle WatchPuzzle: Version 1.0, 2016-10-27 2016-12-24 12:20:00 +08:00
ZoomingPDFViewer ZoomingPDFViewer: Version 6.0, 2017-04-27 2017-10-16 22:35:00 +08:00
avloopplayer AVFoundation Looping Player: Using AVQueuePlayer and AVPlayerLooper to demonstrate loop playback: Version 2.0, 2016-09-13 2018-03-14 17:36:23 +08:00
README.md Added SwiftUI & Swift Tutorials link 2022-08-27 20:11:45 +05:30
samplecode.csv Update sample list 2018-03-14 17:33:15 +08:00

README.md

Learn-iOS-Swift-by-Examples

Swift 学习资源

Swift一种强大的开源编程语言让大家都能开发出众的 App。 Swift 是一种强劲而直观的编程语言,它由 Apple 创造,可用来为 iOS、Mac、Apple TV 和 Apple Watch 开发 app。它旨在为开发者提供充分的自由。Swift 易用并且开源,只要有想法,谁都可以创造非凡。

Swift is a high-performance system programming language. It has a clean and modern syntax, offers seamless access to existing C and Objective-C code and frameworks, and is memory safe by default. On December 3, 2015, the Swift language, supporting libraries, debugger, and package manager were published under the Apache 2.0 license with a Runtime Library Exception, and Swift.org was created to host the project.

苹果公司在WWDC 2014上宣布了他们将会推出一款新的编程语言面向iOS和OS X系统的开发人员这个新的语言被命名为Swift。

Swift在iOS 8发布的时候推向市场用来取代 Objective-C 语言。 对于这个巨大的决定苹果公司的解释是Swift速度更快使用起来更加容易。 在Swift推出之后苹果公司应该不会停止对 Objective-C 的支持,开发工具会同时支持两种语言。

在 Swift 开源后,开发者社区活跃。目前 CocoaPods 中有大量的第三方开发库已经支持 Swift。

贡献


官方资源

权威文档


社区文档

课程


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

初级话题

深入话题

社区

翻译

评论

课程


官方示例

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

  • Lister: A Productivity App Built in Swift 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 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请求类
  • Noahs 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 dont 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
  • JustUiKit - JustUiKit是一套Android样式工具iOS UI套件。 JustUiKit包含JustLinearLayoutJustFrameLayout, JustRelativeLayout等。 它旨在使Android开发人员轻松构建iOS UI。 也为iOS开发人员提供了一种新的方式来构建UI。

开发工具

xcode 6 下载

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


其它

因为重名躺枪的 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 申请时请说明身份。

Stargazers over time