diff --git a/2019/OpenSourceforSwift-ApplicationArchitecture-MindNode.md b/2019/OpenSourceforSwift-ApplicationArchitecture-MindNode.md new file mode 100644 index 00000000..02e06751 --- /dev/null +++ b/2019/OpenSourceforSwift-ApplicationArchitecture-MindNode.md @@ -0,0 +1,684 @@ +# Swift 开源项目精选 - 应用架构角度 
➟ GitHub + + +# Learning & Advanced + + +## <*algorithms*>
raywenderlich/swift-algorithm-club 
➟ Swift Playgrounds + +Swift 算法俱乐部,最全、最活跃,最具学习价值的算法库。 + +## <*useful Swift snippets*>
elizabethsiegle/30-seconds-of-swift-code
➟ Swift Playgrounds + +精选的 30 秒或更短时间即能理解的实用 Swift 代码片段。(高效学习 swift 语言语法利器。思路来源于 知名 JavaScript 项目 https://github.com/30-seconds/30-seconds-of-code ) + +## <*video series & programming*>
pointfreeco/episode-code-samples
➟ Swift Playgrounds + +专注于学习 Swift 编程的视频聊天系列。 + +## <*livestreams, videos and sessions*>
insidegui/WWDC
➟ macOS + +WWDC 现场、视频及相关资源汇集应用(非官方) + +## <*ARCL framework*>
ProjectDent/ARKit-CoreLocation
➟ iOS + +AR 与 GPS 精确数据的结合,开始一次导航之旅。非常重要的实验性项目,未来开发前景可期。 + +## <*Swift for Tensorflow*>
tensorflow/swift
➟ macOS | Linux + +集成使用 TensorFlow 专用版 Swift + +## …… + + +# Developer Tools + + +## Package Manager + +### <*Package Manager*>
apple/swift-package-manager
➟ macOS + +苹果官方 Swift 包管理 + +### <*dependency manager*>
Carthage/Carthage
➟ macOS + +简单,去中心化库依赖管理框架。 入门指南:[https://www.raywenderlich.com/416-carthage-tutorial-getting-started](https://www.raywenderlich.com/416-carthage-tutorial-getting-started) + +### <*Git Hooks*>
orta/Komondor
➟ macOS + +在 Swift 项目中支持 Git hooks。
配置实例:https://github.com/orta/Komondor/blob/master/Documentation/with_swiftpm.md + +### <*third-party dependencies*>
mxcl/swift-sh
➟ macOS | Linux + +最简单、实用的依赖库导入脚本。这太方便了 + +### <*dependency manager*>
JamitLabs/Accio
➟ macOS + +结合 SwiftPM,为 Carthage 锦上添花的包管理命令行工具。 + +## <*App Store Connect API*>
AvdLee/appstoreconnect-swift-sdk
➟ macOS + +“借助 App Store Connect API 实现工作流程自动化”,这个库是对整套工作流程 Swift 版的易用化封装。 +REST API:https://[developer.apple.com/documentation/appstoreconnectapi](http://developer.apple.com/documentation/appstoreconnectapi) +APP STORE CONNECT 使用入门(官方中、英、日文版)[https://help.apple.com/app-store-connect/](https://help.apple.com/app-store-connect/) + +## <*design & prototype*>
IBAnimatable/IBAnimatable
➟ iOS | macOS + +IBAnimatable 是一个帮助我们在 Interface Builder 和 Swift Playground 里面设计 UI, 交互, 导航模式, 换场和动画的开源库。
[https://github.com/IBAnimatable/IBAnimatable/blob/master/Documentation/README.zh.md](https://github.com/IBAnimatable/IBAnimatable/blob/master/Documentation/README.zh.md) + +## <*Code Diagnostics*>
realm/SwiftLint
➟ macOS + +Realm 采用 Swift 编写的基于 GitHub's Swift Style Guide 规则的检查及转换工具。除了命令行运行方式,也提供集成 Xcode 的方法。对于新团队,这样的工具可以自动约束大家遵循编程规范。 + +## <*code formatter*>
inamiy/SwiftRewriter
➟ CLI environment + +基于 SwiftSyntax 针对代码进行自动格式化(其中包括基于代码规范进行简单的代码优化)。 + +## <*code generator*>
mac-cain13/R.swift
➟ macOS + +常用资源(images,fonts, ,colors 等)通过更易用的强类型方式在 Xcode 编辑器输入并自动转换。 + +## XCTest + +### <*testing framework*>
Quick/Quick & Quick/Nimble
➟ iOS | macOS + +单元测试框架库 + +### <*snapshot testing*>
pointfreeco/swift-snapshot-testing
➟ iOS | macOS + +通过快照记录方式进行自动化测试。非常直观方便的一种方式。 + +## <*network debugging tool*>
yagiz/Bagel
➟ iOS | macOS + +iOS 网络通讯本地调试神器(用 Bounjour 协议,不需要繁琐的连接证书之类的)。 + +## <*layouts debugging tool*>
isavynskyi/LayoutInspector
➟ iOS + +3D 视角 iOS 应用布局视图检查器。 + +## <*modularization*>
mxcl/Cake
➟ macOS + +基于组件 MessageKit 及实时通讯云 Firestore 的即时通讯实现(功能参考 Facebook Messenger)。 + +## <*Metrics API*>
apple/swift-metrics
➟ iOS | macOS | Linux + +苹果开源并逐步固定 Metrics API,以方便用户对应用的运行及资源状态进行有效跟踪。 + +## <*science-journal*>
google/science-journal-ios
➟ iOS + +Google 科学日志 iOS 版应用开源。 + +## <*CLI tool*>
rockbruno/SwiftInfo
➟ macOS + +命令行工具跟踪检查 iOS 应用版本代码级变化。 + + +# Programming Framework
➟ iOS | macOS | watchOS | Linux + + +## <*Reactive Programming*>
ReactiveX/RxSwift + +简单、高效,活泼的函数反应式编程框架。 +何为反应式编程?面向数据流和变化传播(时间和事件非代码顺序)的编程范式。 + +## <*Promises*>
mxcl/PromiseKit + +Promise 的 Swift 实现类库,简化异步编程代码实现。 +RxSwift vs PromiseKit https://blog.dianqk.org/2016/08/22/rxswift-vs-promisekit/ + +## <*state management*>
ReSwift/ReSwift + +该框架主要针对单页面应用状态及单向数据流管理。 + +## …… + + +# Server
➟ macOS | Linux + + +## <*web framework*>
vapor/vapor + +最活跃的 Web 服务器框架。 +推荐理由:纯 Swift 开发,引导开发者采用简洁、干净的 Swift 语法。 +主要缺点:牺牲部分性能换取未使用 C 语言基础库为代价 + +Vapor, Perfect, Kitura 比较:[https://www.jianshu.com/p/a9ca47e844d7](https://www.jianshu.com/p/a9ca47e844d7) + +## <*web framework*>
PerfectlySoft/Perfect + +功能更强大,性能更好的 Web 服务器框架。有完整的中文开发文档支持。 +[https://github.com/PerfectlySoft/Perfect/blob/master/README.zh_CN.md](https://github.com/PerfectlySoft/Perfect/blob/master/README.zh_CN.md) + +## <*web framework and HTTP server*>
IBM-Swift/Kitura + +与 IBM Bluemix 最佳云集成,功能强大的 Web 服务器框架。CGI 支持。 + +## <*Swift on ARM + Docker*>
helje5/dockSwiftOnARM
➟ Shell + +将 Swift 编译运行于 ARM 平台 Docker 上。 + +## …… + + +# Application
➟ iOS | macOS | watchOS + + +## Foundation + +### <*@dynamicMemberLookup feature*>
saoudrizwan/DynamicJSON
➟ iOS | macOS | watchOS + +采用 Swift 4.2 新特性 (@dynamicMemberLookup) 实现轻便访问 JSON 数据。 + +### <*UserDefaults wrapper*>
radex/SwiftyUserDefaults
➟ iOS | macOS + +轻量级数据存储类 NSUserDefaults 扩展类,它使类型数据访问和存储更为便捷、直观。 + +## System + +### Security + +- <*data store in Keychain*>
square/Valet
➟ iOS | macOS | watchOS + + 在钥匙串中安全、方便的去存储你的数据。 + +- <*Keychain Services wrapper*>
kishikawakatsumi/KeychainAccess
➟ iOS | macOS | watchOS + + 钥匙串存储管理封装 + +- <*AES wrapper*>
RNCryptor/RNCryptor
➟ iOS | macOS + + 针对数据的 AES 加密封装。提供多语言封装解决方案。 + +### Networking + +- <*HTTP networking*>
Alamofire/Alamofire
➟ iOS | watchOS | macOS + + 著名的 AFNetworking 络基础库 Swift 语言版。 + +- <*network abstraction layer*>
Moya/Moya
➟ iOS | watchOS | macOS + + 为你提供一套干净的网络抽象层,以以区隔底层网络库。 + +- <*Apple Reachability replacement*>
ashleymills/Reachability.swift
➟ iOS | macOS + + 检测网络连通性实用工具库。 + +- <*wrapper for Apple’s Reachability*>
rwbutler/Connectivity
➟ iOS + + 基于 Reachability 的封装类库,检查 当前 Wi-Fi 互联网连接性及即时状态。 + +- <*WebSocket client*>
daltoniam/Starscream
➟ iOS | macOS + + WebSocket 标准(RFC 6455)客户端库 Swift 实现。 + +### <*RxSwift + Bluetooth*>
Polidea/RxBluetoothKit
➟ iOS | macOS + +基于 RxSwift 框架的蓝牙库。 + +### <*LocalAuthentication*>
rushisangani/BiometricAuthentication
➟ iOS | macOS + +针对 Face ID 和 Touch ID 更简洁地封装使用。 + +## App Services + +### Cache + +- <*cache*>
hyperoslo/Cache
➟ iOS | macOS | watchOS + + 多类型数据混合缓存库。 + +### Social API + +- <*facebook SDK*>
facebook/facebook-sdk-swift
➟ iOS + +- <*Twitter SDK*>
twitter/twitter-kit-ios
 ➟ iOS + +### editor + +- <*integration with your app*>
coteditor/CotEditor
➟ macOS + + 轻量,但功能一点也不轻量的 App Store 上架的开源文本编辑器(几乎支持所有主流格式语法高亮显示,且可以扩展及自定义) + +- <*Editor Kit*>
GeekTree0101/VEditorKit
➟ iOS + + 功能强大、完成度非常高的 iOS 编辑器组件。 + +### WebKit + +- <*WKWebView*>
LinusU/Marionette
➟ iOS | macOS + + 通过一套更高级的 API 控制 WKWebView。对标 Google Chrome 的 Puppeteer 库。 + +### Markdown + +- <*cmark*>
iwasrobbed/Down
➟ iOS | macOS + + 集成调用 cmark 的高性能 Markdown 渲染实现库及演示。支持多种输出式(Web View, HTML, XML, LaTeX 等)也许是性能外加可用性最高的一个版本了。 + +- <*WKWebView*>
keitaoouchi/MarkdownView
➟ iOS + + Markdown 文档预览视图组件。 + +- <*WKWebView*>
tophat/RichTextView
➟ iOS + + 兼具主流格式解析(LaTeX, HTML, Markdown)及简单视频嵌入(YouTube/Vimeo)功能富文本浏览视图。 + +- <*customizable Markdown Parser*>
moliveira/MarkdownKit
➟ iOS | macOS + + 一款简单地可定制化 Markdown 解析预览类库。 + +### ePub + +- <*reader & framework for ePub*>
FolioReader/FolioReaderKit
➟ iOS + + ePub 阅读器及解析框架类库。这个很震撼,开发者还同步提供 Android 版。 + +### Database & Client + +- <*mobile database*>
realm/realm-cocoa
➟ iOS | macOS | watchOS + + 可以匹敌甚至替代 Core Data 和 SQLite 的移动数据库。 + +- <*sync Realm with CloudKit*>
caiyue1993/IceCream
➟ iOS | macOS | watchOS + + 用 CloudKit 同步 Realm 数据库工具库。 + +### FileProvider & CloudKit + +- <*files*>
nvzqz/FileKit
➟ iOS | macOS | watchOS + + 简单、接口友好的文件管理类库。 + +- <*local file, iCloud & remote*> 
amosavian/FileProvider
➟ iOS | macOS + + 提供了一套完整、实用,接口统一的本地及远程文件管理封装器实现 Local, iCloud and Remote (WebDAV/FTP/Dropbox/OneDrive)。 + +### Core ML + +- <*utilities*> 
hollance/CoreMLHelpers
➟ iOS + + 一些输入/输出类型转换和扩展,以便于更容易地去使用 CoreML 。 + +- <*running trained-model Inception-v3*> 
hollance/Inception-CoreML
➟ iOS + + Inception-v3 运行在 CoreML 框架内 + +- <*using Watson Visual Recognition*>
watson-developer-cloud/visual-recognition-coreml
➟ iOS + + 来自 IBM Watson 的视觉识别及机器学习示例。 使用 Watson Swift SDK 管理和执行定制的训练模型。 + +- <*trained using CreateML*>
lovoo/NSFWDetector
➟ iOS + + 用 CoreML 扫描、过滤不雅图片。 + +### Web Services + +- <*iOS SDK for AWS AppSync*>
awslabs/aws-mobile-appsync-sdk-ios
➟ iOS + + 来自 Amazon Web Services 实验室的 AWS AppSync iOS SDK。 + +- <*AWS SDK*>
swift-aws/aws-sdk-swift
➟ macOS | Linux + + 支持 macOS 和 Ubuntu 的 AWS SDK。 + +## Graphics and Games + +### ARKit + +- <*usable practices*>
simformsolutions/ARKit2.0-Prototype
➟ iOS + + AR 2.0 实现效果原型演示 + +- <*ARKit + GPS data*>
ProjectDent/ARKit-CoreLocation
➟ iOS + + AR 与 GPS 精确数据的结合,开始一次导航之旅。其中包括了 ARKit + CoreLocation 框架库 ARCL,它是非常重要的实验性项目,未来开发前景可期。 + +- <*referenced cases*>
olucurious/Awesome-ARKit
➟ iOS + + AR 开源项目汇总列表。 + +- <*AR paths*>
maxxfrazer/ARKit-SCNPath
➟ iOS + + 方便地绘制一条 AR 场景导航路径。 + +### Core Graphics + +- <*image processing*>
gavinbunney/Toucan
➟ iOS | macOS + + 小而美的图片变换及处理类。 + +- <*dominant & prominent colors*> 
jathu/UIImageColors
➟ iOS + + 图片色系决定界面背景色及字体显示颜色。获取主色、次色、背景色、详细色 + +### Core Image + +- <*OpenCV and portrait mode*>
koooootake/Portrait-without-Depth-ios
➟ iOS + + 实现单摄人像模式。 + +### Image I/O + +- <*parse & play GIF*>
kaishin/gifu
➟ iOS + + 高性能 GIF 显示类库 + +- <*parse & play APNG*> 
onevcat/APNGKit
➟ iOS + + 解析和显示 APNG 的框架 + +- <*play GIF & APNG*>
wangjwchn/AImage
➟ iOS + + GIF/APNG 播放引擎。 + +- <*SVG parser*>
mchoe/SwiftSVG
 ➟ iOS | macOS + + 支持多种接口绘制 SVG 类库。 + +- <*size of PNG, GIF, JPEG, BMP*>
malcommac/ImageSizeFetcher
➟ iOS | macOS | watchOS + + 通过 URL 获取图像类型或尺寸。 + +### Metal + +- <*Instagram filters implemented in Metal*>
alexiscn/MetalFilters
➟ iOS + + 基于 Metal 框架实现的 Instagram 风格图片滤镜库。 + +- *<3D graphics>*
endavid/VidEngine
➟ iOS + + 用 Metal (GPU) 技术封装实现的 3D渲染引擎。 + +### SceneKit + +- <*3D Picture Gallery Slideshow*>
folio-sec/Slideshow
➟ macOS + + 采用 SceneKit 写的 3D 动态图片墙。酷!不过系统资源消耗也很历害。 + +## UIKit & AppKit + +### View and Controls + +- <*Form*>
xmartlabs/Eureka
➟ iOS + + “由XMARTLABS精心编写,是XLForm的Swift版本。”https://github.com/xmartlabs/Eureka/blob/master/Documentation/README_CN.md + +- <*folding paper card*>
Ramotion/folding-cell
➟ iOS + + 自然流畅、清新的单元格可折叠视图及演示库。 + +- <*Image*>
onevcat/Kingfisher
➟ iOS | macOS + + 轻量级下载、缓存网络图像视图库。 + +- <*Charts*>
danielgindi/Charts
➟ iOS | macOS + + Android 图表开源库 MPAndroidChart 的 Swift 版。相当于在 Apple 的跨平台版本。 + +- <*modal segue*>
SwiftKickMobile/SwiftMessages
➟ iOS + + 高可定制信息弹窗组件 + +- <*modal*>
slackhq/PanModal
➟ iOS + + 这款可定制性底部上滑式模态窗口组件开发和用户体验都不错啊。 + +- <*Calendar*>
patchthecode/JTAppleCalendar
➟ iOS + + 功能强大、高可定制日历组件。 + +- <*UILabel morphing*>
lexrus/LTMorphingLabel
➟ iOS + + 特赞的文字飘入飘出效果。 + +- <*skeleton loading*>
Juanpe/SkeletonView
➟ iOS + + 等待加载信息前,预先优雅的显示内容骨架。 + +- <*loading*>
farshadjahanmanesh/loady
➟ iOS + + 常用可定制载入进程按钮动画。 + +- <*UITextFields*>
raulriera/TextFieldEffects
➟ iOS + + 定制的不同风格 UITextFields 输入框。 + +- <*UINavigationController*>
andreamazz/AMScrollingNavbar
➟ iOS + + 可滚动的(显示或隐藏 UINavigationBar + +- <*Mac style Menu*>
TwoLivesLeft/Menu
➟ iOS + + 著名 iPad 编程应用 Codea(Lua 语言) 开源传统菜单如何存在于小屏幕设计思路及解决方案。 + +- <*floating panel* >
IdeasOnCanvas/Aiolos
➟ iOS + + MindNode  iOS 项目中使用的浮动面板。 + +- <*A simple routing library*>
hubrioAU/XRouter
➟ iOS + + 一款使用简单,结构清晰同时支持 URL 的应用路由库。 + +- *
Cuberto/rubber-range-picker*
➟ iOS + + 很带人情味的数字区间选择。 + +- <*progress view*>
mac-gallagher/MultiProgressView
➟ iOS + + 多区间进程条展示效果组件及示例。 + +### View Layout + +- <*Autolayout*> 
SnapKit/SnapKit
➟ iOS | macOS + + 自动布局 DSL 框架库。 + http://snapkit.io/docs/ + +- <*grids and lists layout*>
airbnb/MagazineLayout
➟ iOS + + 出自 Airbnb 栅格级 CollectionView 布局库。 + +- <*component-based UI*>
ra1028/Carbon
➟ iOS + + 在 UITableView 和 UICollectionView 中构建基于组件声明式界面库。提供 API 文档及丰富示例。 + +### window + +- <*window manager*>
ianyh/Amethyst
➟ macOS + + 自动排列及快捷操作切换、管理窗口。 + +### Animations + +- <*animations framework*>
timdonnelly/Advance
➟ iOS | macOS + + 一款高阶仿真动画框架库。 + +- <*animations*>
MengTo/Spring
➟ iOS + + 精简版动画库(并附动画功能展示和调试功能)。 + +- <*loading & animations*>
ninjaprox/NVActivityIndicatorView
➟ iOS + + 酷炫的装载动画库及演示。满足你对装载动画的个性化需求。 + +- <*transition*>
HeroTransitions/Hero
➟ iOS + + 类似于 Keynote 的 Magic Move 的 transition 库。极为易用、支持自动布局。 + +- <*transition*>
marcosgriselli/ViewAnimator
➟ iOS + + 简单的代码实现复杂 UI 布局及动画切换。 + +- <*liquid swipe animation* >
Cuberto/liquid-swipe
➟ iOS + + 液滑动画效果升级版。 + +- <*vector animations*>
airbnb/lottie-ios
➟ iOS | macOS + + Airbnb 矢量级动画渲染库全面迁移至 Swift 版本。其势不可挡。 + +- <*animations*>
sagaya/Wobbly
➟ iOS + + 对界面组件元素实现各种摇晃抖闪的动画效果。 + +### <*UIKit extensions*>
haoking/SwiftyUI
➟ iOS + +轻量、高性能的 UI 渲染及扩展类库。 + +### <*Declarative UI construction*>
square/Blueprint
➟ iOS + +Square 公司开源的自用声明式 UI 开发框架库。 + +### <*hand-drawn, comic shape*>
onmyway133/RoughSwift
➟ iOS + +编程方式创建手绘和漫画风格画面。酷炫! + + +# IoT
➟ Ubuntu | Raspain + + +## <*Swift on ARM devices*>
uraimo/buildSwiftOnARM
➟ Shell + +持续提供使 Swift 运行于 ARM 上的编译版本(已经更新到 Swift 4.1.3 ),它几乎支持所有的(运行于 Ubuntu 16.04 和 Raspbain)树莓派版本。 + +## <*hardward projects*>
uraimo/SwiftyGPIO
➟ Linux + +通过 Swift 语言去控制基于 Linux/ARM 主板(比如:C.H.I.P. 和 树莓派) 的 GPIO(General Purpose Input Output ),去完成简单的工控功能(比如 LED 灯的显示)。 + +## …… + + +# Foundation
➟ iOS | macOS | watchOS | Linux + + +## Utility + +### <*handy features to standard library*>
*Flinesoft/HandySwift*
➟ iOS | macOS | Linux + +由于某些原因 Swift 标准库仍未收入且很好用的功能特性扩展。 + +### <*extensions*>
SwifterSwift/SwifterSwift + +一套超过 500 个本地库扩展的生产力工具库。 + +### **
JohnSundell/Sweep
➟ iOS | macOS | Linux + +比正则表达式简单很多的子字符串扫描和匹配。 + +### <*JSON parser*>
SwiftyJSON/SwiftyJSON + +GitHub 上最为开发者认可的 JSON 解析库。 + +### <*JSON parser & object mapping*>
tristanhimmelman/ObjectMapper + +简介:对象与JSON互转实用类库。 +推荐理由:面向对象模型,易于开发集成。有更完善的与 Alamofire 的集成方案。 + +### <*Binary Codable*>
jverkoey/BinaryCodable
➟ iOS | macOS | Linux + +Codable 风格实现 Binary 数据的 Decode/Encode。 + +### <*Codable extension*>
JohnSundell/Codextended
➟ macOS | Linux + +为自定义 Codable 而生的扩展 API。 + +### <*Date*>
malcommac/SwiftDate + +几乎涵盖了已知开源日期类库所有优秀特性 + +### <*file paths*>
kylef/PathKit + +极易用的文件路径操作类库 + +### <*pure swift PNG decoder and encoder* >
kelvin13/png
➟ macOS | Linux + +纯 Swift 代码解析 PNG 格式,返回图像原始像素数据和尺寸。 + +### <*chainable file-pathing*>
mxcl/Path.swift + +功能完整的文件系统针对目录级路径的 CRUD(增删改查)。 + +### <*logger*>
apple/swift-log
➟ macOS | Linux + +这个 Apple 官方也出,与民争利了。 + +### <*Regular Expression*>
Flight-School/RegularExpressionDecoder
➟ iOS | macOS + +针对结构化数据的正则表达式解析库。 + +### <*converts between AttributedStrings and HTML*>
IdeasOnCanvas/Ashton
➟ iOS | macOS + +MindNode 团队开发使用的 NSAttributedStrings 和 HTML 高性能互转类库。 + +## Security + +### <*cryptographic algorithms*>
krzyzanowskim/CryptoSwift + +Crypto 算法及相关功能类库集合 + +## Database & Client + +### <*SQLite*>
stephencelis/SQLite.swift + +简单、轻量,使用上最 SQL 的 SQLite 封装库。 + +## Networking Framework + +### <*event-driven network framework*>
apple/swift-nio + +事件驱动网络应用框架。 + +### <*HTTP/2 support for SwiftNIO*>
apple/swift-nio-http2 + +苹果发布 SwiftNIO 针对 HTTP/2 的开源支持库。 + +### <*SwiftNIO-based server-side*>
amzn/smoke-framework + +事件驱动网络应用框架。 + +## GitHub + +### <*GitHub client API*>
nerdishbynature/octokit.swift + +同时支持 GitHub 和 GitHub 企业版 Swift API 客户端类库。 + +## Cognitive Computing + +### <*tensorflow apis*>
tensorflow/swift-apis
➟ macOS + +### <*IBM Watson*>
watson-developer-cloud/swift-sdk
➟ iOS | Linux + +让开发者在自己的应用内快速应用 IBM Watson Cognitive Computing 服务。 + +## <*JavasScript engine*>
googleprojectzero/fuzzilli
➟ macOS | Linux + +Javascript 解释器引擎,技术融合的一大进步。 + +## …… + + +# IBM Watson Services
(AI) + + +# Database Server
(cross platform) + + +## ➟ Shell
 <*Realm Platform>*
realm/realm-object-server + +Realm 平台目标实现可交互的移动数据库 + +## …… + + +# iCloud & Remote
(iCloud, On-drive, Dropbox, Webdav, ftp/ftps, Samba...) + + +# TensorFlow
(pre-trained model) + + +## <*TensorFlow to CoreML Converter*>
tf-coreml/tf-coreml
➟ Python + + +# Caffe
(Neural networks model) + diff --git a/2019/OpenSourceforSwift-ApplicationArchitecture.md b/2019/OpenSourceforSwift-ApplicationArchitecture.md new file mode 100644 index 00000000..c19e3d6c --- /dev/null +++ b/2019/OpenSourceforSwift-ApplicationArchitecture.md @@ -0,0 +1,19 @@ +# Swift 开源项目精选 - 应用架构角度 + +基于[Swift 开源项目精选导图](OpenSourceforSwift-Classification.md),以应用架构角度出发继续甄选并“精分”。筛选、介定方法更偏重于构建应用时,项目在分类中起到的作用权重,可持续性权重,并部分算上开发者影响力。尝试持续地完善一份不那么杂乱无章(也许还比较好用)的 Swift 开源子集。内容将依然以导图和 myMindNode 形式呈现(持续更新中……) + +![](OpenSourceforSwift-ApplicationArchitecture.png?raw=true) + +[myMindNode浏览及导图原文档下载……](https://my.mindnode.com/epd4C5grMxtWnojnVGXy9LCay1n8zosXRpzawppy) + + +## 附:MindNode 格式导图导出的文本内容 +* [浏览 Markdown 版本](OpenSourceforSwift-ApplicationArchitecture-MindNode.md) +* [浏览 PDF 版本](OpenSourceforSwift-ApplicationArchitecture.pdf) + +--- + +整理过程中八卦过的两位传奇人物: +> 1. GitHub 上曾经最具影响力的 iOS 独立博主及开发者 Mattt 就曾于 2015年加入苹果后,几乎消声匿迹(无论在其个人网站、博客、 GitHub 社区还是 Twitter 都少有活动,原因又鲜为人知)。很多不太了解开发者多诧异他怎么了?大部分人都是在 Mattt 本人在 Twitter 上于2018年3月再次发声后,才知道他过去三年原来一直为苹果工作(做为一位资深技术作者为 The Swift Programming Language,Swift Package Manager 和 swift.org 等写开发文档)。并且,回归社区后的活跃度显示爆发式增加,并开辟了一个新的领域( Swift 基础教育系列课程项目 Flight School)。当然,奠定其“江湖”地位的几款知名开源项目的后续,也基本不用担心未来发展。 +2. 此外,Swift “教父” Chris Lattner 于 2016 年下半年后在开源社区贡献大幅度减少,自从 2017年初闪电离职苹果公司,短暂加入特斯拉担任自动驾驶(Tesla Autopilot)项目软件副总裁,由于工作性质变更,Swift 及 开源社区贡献更加稀少。可喜的是不到六个月后即又离职特斯拉,并迅速加入了谷歌大脑(Google Brain)项目组,负责推动 TensorFlow 平台开发者体验及接入Swift 语言基础构架工作等工作后,逐渐恢复了开源社区活跃度及贡献。目前看来,他不会轻易地撒手不管 Swift 语言的发展、建设。这一点对于热衷于 iOS 开发和开源项目的同学们都是很大的鼓舞。 +坦率地讲,以上内容只是在整理过程中,闲着无聊顺便“八卦”解闷,也可以认为纯粹凑字数。😂 diff --git a/2019/OpenSourceforSwift-ApplicationArchitecture.pdf b/2019/OpenSourceforSwift-ApplicationArchitecture.pdf new file mode 100644 index 00000000..1cd85a73 Binary files /dev/null and b/2019/OpenSourceforSwift-ApplicationArchitecture.pdf differ diff --git a/2019/OpenSourceforSwift-ApplicationArchitecture.png b/2019/OpenSourceforSwift-ApplicationArchitecture.png new file mode 100644 index 00000000..b258064b Binary files /dev/null and b/2019/OpenSourceforSwift-ApplicationArchitecture.png differ diff --git a/2019/OpenSourceforSwift-Classification-MindNode.md b/2019/OpenSourceforSwift-Classification-MindNode.md new file mode 100644 index 00000000..d0c8e06a --- /dev/null +++ b/2019/OpenSourceforSwift-Classification-MindNode.md @@ -0,0 +1,1580 @@ +# Swift 开源项目精选 
➟ GitHub + + +# Open Sources for Swift + + +## App Frameworks + +### Foundation + +- Codable + + - ***SwiftyJSON/SwiftyJSON*** + + GitHub 上最为开发者认可的 JSON 解析库。 + + - saoudrizwan/DynamicJSON + + 采用 Swift 4.2 新特性 (@dynamicMemberLookup) 实现轻便访问 JSON 数据。 + + - ***tristanhimmelman/ObjectMapper*** + + 简介:对象与JSON互转实用类库。 + 推荐理由:面向对象模型,易于开发集成。有更完善的与 Alamofire 的集成方案。 + + - *tristanhimmelman/AlamofireObjectMapper* + + Alamofire 网络请求 JSON 数据返回采用 ObjectMapper 自动转换、映射至对象。 + + - *alibaba/HandyJSON* + + 出自阿里开发团队轻便的 JSON 对象序列化和反序列化工具库。 + + - *marmelroy/PhoneNumberKit* + + 解析、格式化及验证国际电话号码工具库(相当于 Google 的 libphonenumber 库的 Swift 版本)。 + + - jverkoey/BinaryCodable + + Codable 风格实现 Binary 数据的 Decode/Encode。 + + - JohnSundell/Codextended + + 为自定义 Codable 而生的扩展 API。 + +- *date & time* + + - ***malcommac/SwiftDate*** + + 几乎涵盖了已知开源日期类库所有优秀特性 + + - *dreymonde/Time* + + 使用简洁、类型保护的时间计算库。 + + - *naoty/Timepiece* + + 日期加减运算、初始设置、变更以及格式解析。 + + - *akosma/SwiftMoment* + + Swift 版 Moment.js + +- *cache* + + - *hyperoslo/Cache* + + 多类型数据混合缓存库。 + + - *nmdias/DefaultsKit* + + 简单、有效的默认值管理库。 + + - *radex/SwiftyUserDefaults* + + 轻量级数据存储类 NSUserDefaults 扩展类,它使类型数据访问和存储更为便捷、直观。 + + - *GitHawkApp/FlatCache* + + Khanlou 的扁平式缓存思路实现,并应用于 GitHawk 应用。 + +- *FDD: MontanaFlossCo/Flint* + + 为高效使用 iOS 常用特性而生的工具框架库。 + +- *data flow: ReSwift/ReSwift* + + 该框架主要针对单页面应用状态及单向数据流管理。 + +- *promises* + + - ***mxcl/PromiseKit*** + + Promise 的 Swift 实现类库,简化异步编程代码实现。
RxSwift vs PromiseKit [https://blog.dianqk.org/2016/08/22/rxswift-vs-promisekit/](https://blog.dianqk.org/2016/08/22/rxswift-vs-promisekit/) + + - *Thomvis*/BrightFutures + + 漫长或复杂计算由独立线程异步来完成。 + +- *task* + + - *jianstm/Schedule* + + “一个轻量级的定时任务框架,它可以让你用一种难以置信的友好语法执行定时任务”。 + +- *functional programming* + + - *ankurp/Dollar* + + Swift 版 Lo-Dash (或 underscore )函数式工具库 + + - *typelift/Swiftz* + + 一套函数式编程库。 + + - *Flight-School/RegularExpressionDecoder* + + 针对结构化数据的正则表达式解析库。 + +- *reactive programming* + + - ***ReactiveX/RxSwift*** + + 简单、高效,活泼的函数反应式编程框架。 + 何为反应式编程?面向数据流和变化传播(时间和事件非代码顺序)的编程范式。 + + - *ReactiveCocoa/ReactiveCocoa* + + Cocoa 风格 Swift 函数反应式编程 API + +- JavasScript engine + + - googleprojectzero/fuzzilli + + Javascript 解释器引擎,技术融合的一大进步。 + +- *extensions & syntactic sugar* + + - *SwifterSwift/SwifterSwift* + + 一套超过 500 个本地库扩展的生产力工具库。 + + - *hyperoslo/Sugar* + + Cocoa 实现语法糖 + + - *duemunk/Async* + + 简洁的后台执行代码封装库。 + + - *dennisweissmann/DeviceKit* + + 相对 UIDevice 更易用、功能也更丰富的 DeviceKit 工具库。 + + - *nvzqz/RandomKit* + + 超乎你想象的,针对基础类型及对象的随机数据生成扩展库。 + + - *yannickl/DynamicColor* + + 得到不同深浅、饱和度、灰度、色相,以及反转后的新颜色。 + + - *Flinesoft/HandySwift* + + 由于某些原因 Swift 标准库仍未收入且很好用的功能特性扩展。 + + - *JohnSundell/Sweep* + + 比正则表达式简单很多的子字符串扫描和匹配。 + +- *HTML* + + - *parser: honghaoz/Ji* + + Swift 版 HTML/XML 解析器 + + - *transformation: pointfreeco/swift-html* + + 类型保护、可扩展、可转换的 HTML 文档的 Swift DSL 支持工具库。 + + - *IdeasOnCanvas/Ashton* + + MindNode 团队开发使用的 NSAttributedStrings 和 HTML 高性能互转类库。 + +- *Excel* + + - *MaxDesiatov/CoreXLSX* + + 简单易用解析 Excel (XLSX)格式文件库。XMLCoder 和 ZIPFoundation 基础库分别做为 ZIP 和 XML 格式解压解析支持。 + +### UIKit + +- View Layout + + - ***SnapKit/SnapKit*** + + 自动布局 DSL 框架库。 + http://snapkit.io/docs/ + + - *roberthein/TinyConstraints* + + 自动布局微约束、易理解、高可读语法糖。 + + - + + - *robb/Cartography* + + 基于代码级的自动布局封装框架。 + + - *mamaral/Neon* + + 功能强大的 UI 布局神器。 + + - *mirego/PinLayout* + + 纯代码 UI 布局库。支持 iOS/macOS/tvOS + + - *airbnb/AloeStackView* + + 一款功能及使用实例完善成熟(在 Airbnb 广泛使用)的视图及布局基础类(可以与自动布局协同工作)。 + + - *SwiftKickMobile/SwiftAutoLayout* + + 简单快速地代码式自动布局约束类库。 + + - *airbnb/MagazineLayout* + + 出自 Airbnb 栅格级 CollectionView 布局库。 + +- UITabBar + + - *Ramotion/animated-tab-bar* + + 灵动的动画标签栏类库,storyboard中使用。 + +- UISegmentedControl + + - *Yalantis/Segmentio* + + 功能完善的带动画的可定制分段式控制组件。 + +- UIPageControl + + - *xmartlabs/XLPagerTabStrip* + + Android 上最常用的 PagerTabStrip 在 iOS 中的实现。 + + - *antoniocasero/Panels* + + 这款可以说是相当出色的滑动呼出面板框架了。 + + - hubrioAU/XRouter + + 一款使用简单,结构清晰同时支持 URL 的应用路由库。 + +- UILabel + + - *optonaut/ActiveLabel.swift* + + 扩展实现 UILabel 触控事件针对 “#, @, 链接” 响应。 + +- UITableView/UICollectionView + + - *SwipeCellKit/SwipeCellKit* + + UITableViewCell 内各种滑动变化及动画效果。 + + - ***Ramotion/folding-cell*** + + 自然流畅、清新的单元格可折叠视图及演示库。 + + - *Instagram/IGListKit* + + 一款数据驱动,以便快速、灵活构建列表的 UICollectionView 框架。 + + - *Yalantis/Koloda* + + 基于卡片的 Tinder-style 动画效果示例 + [https://yalantis.com/blog/how-we-built-tinder-like-koloda-in-swift/](https://yalantis.com/blog/how-we-built-tinder-like-koloda-in-swift/) + + - *Ramotion/expanding-collection* + + 也许是展开、查看列表项最自然天成的 Peek/Pop 用法及动画效果 + + - *SoySauceLab/CollectionKit* + + 构建可重用的数据驱动的集合组件框架(内置丰富的布局和动效)。 + + - *KelvinJin/AnimatedCollectionViewLayout* + + 低耦合实现在 CollectionView 内增加漂亮地转场过渡效果。 + + - *ishkawa/DataSourceKit* + + 标识和结构很清楚的样子。 + + - *Ramotion/cardslider* + + 一款流畅、爽心悦目的卡片式滑动切换内容展示组件。 + + - *yahoojapan/UICollectionViewSplitLayout* + + 使集合视图内项目显示及布局管理更灵活、合理。 + + - ra1028/Carbon + + 在 UITableView 和 UICollectionView 中构建基于组件声明式界面库。提供 API 文档及丰富示例。 + +- UIRefreshControl + + - *Juanpe/SkeletonView* + + 等待加载信息前,预先优雅的显示内容框架。 + + - *gontovnik/DGElasticPullToRefresh* + + 皮筋式弹性下拉即刷新组件及演 + +- UIPickerView/UIImageView + + - *hyperoslo/ImagePicker* + + - *mikaoj/BSImagePicker* + + - *zhangao0086/DKImagePickerController* + +- UIDatePicker + + - *Mozharovsky/CVCalendar* + + 日历组件及示例。该项目开发者充分使用了面向对象设计思想,让开发者可以更容易扩展及定制功能。同时,该开发者还提供了详细的组件使用方法(Storyboard和代码方式指南)。 + + - *patchthecode/JTAppleCalendar* + + 功能强大、高可定制日历组件。 + +- Alerts + + - *vikmeup/SCLAlertView-Swift* + + - *Orderella/PopupDialog* + + - *xmartlabs/XLActionController* + + - *sberrevoets/SDCAlertView* + + - *GitHawkApp/Squawk* + + 适用于全面屏设备的 iOS 交互式高可定制底部警示弹出框。 + + - slackhq/PanModal + + 这款可定制性底部上滑式模态窗口组件开发和用户体验都不错啊。 + +- Popovers + + - *corin8823/Popover* + + - *andreamazz/AMPopTip* + + - *teodorpatras/EasyTipView* + + - *contextual: alexaubry/BulletinBoard* + + - *antoniocasero/Arrows* + + 很贴心、舒服的滑动窗口操作指示箭头小组件。 + +- UINavigationController + + - *andreamazz/AMScrollingNavbar* + + 可滚动的(显示或隐藏 UINavigationBar + + - *Ramotion/navigation-toolbar* + + 专业水准导航工具栏。 + +- UIGesture + + - *eBay/HeadGazeLib* + + 通过头部移动和凝视控制用户界面。 + +- UIImpactFeedbackGenerator + + - *iSapozhnik/Haptico* + + 让 iOS 的触觉反馈(haptic feedback)硬件特性更容易接口调用(接口产生低、中、高档触觉反馈)。 + +- *Panels* + + - *louisdh/panelkit* + + - *SCENEE/FloatingPanel* + + 几乎无可挑剔的浮动面板用户界面组件。 + + - *IvanVorobei/SPStorkController* + + 精细化效仿官方音乐,播客,邮件等应用弹出模态窗口效果控制库。 + + - IdeasOnCanvas/Aiolos + + MindNode  iOS 项目中使用的浮动面板。 + +- *Notification View* + + - Daltron/NotificationBanner + + - SwiftKickMobile/SwiftMessages + + 高可定制信息弹窗组件 + +- *transition* + + - ***HeroTransitions/Hero*** + + 类似于 Keynote 的 Magic Move 的 transition 库。极为易用、支持自动布局。 + + - *Touchwonders/Transition* + + - *SebastianBoldt/Jelly* + + - *PiXeL16/RevealingSplashView* + + - *naru-jpn/View2ViewTransition* + + - *Ramotion/preview-transition* + + - *marmelroy/Interpolate* + + - *zhxnlai/ZLSwipeableViewSwift* + + - *onurersel/anim* + + 这款动画库让整个屏幕都动起来了。 + + - *AlexandrGraschenkov/LiquidTransition* + + 对这款动画转场库中酷酷的碎图转场效果示例比较感兴趣。 + + - Cuberto/liquid-swipe + + 液滑动画效果升级版。 + +- *form* + + - ***xmartlabs/Eureka*** + + “由XMARTLABS精心编写,是XLForm的Swift版本。”
[https://github.com/xmartlabs/Eureka/blob/master/Documentation/README_CN.md](https://github.com/xmartlabs/Eureka/blob/master/Documentation/README_CN.md) + + - ***raulriera/TextFieldEffects*** + + 定制的不同风格 UITextFields 输入框。 + + - *Skyscanner/SkyFloatingLabelTextField* + + - *entotsu/TKSubmitTransition* + + - *SwiftValidatorCommunity/SwiftValidator* + + - *cgoldsby/LoginCritter* + + - Cuberto/rubber-range-picker + + 很带人情味的数字区间选择。 + +- *graph* + + - ***danielgindi/Charts*** + + Android 图表开源库 MPAndroidChart 的 Swift 版。相当于在 Apple 的跨平台版本。 + + - *philackm/ScrollableGraphView* + + - *i-schuetz/SwiftCharts* + + - *mac-gallagher/MultiProgressView* + + 多区间进程条展示效果组件及示例。 + +- *menu* + + - *jonkykong/SideMenu* + + - *dekatotoro/SlideMenuControllerSwift* + + - *WenchaoD/FSPagerView* + + - *Ramotion/circle-menu* + + - *yoavlt/LiquidFloatingActionButton* + + - *Yalantis/GuillotineMenu* + + - TwoLivesLeft/Menu + + 著名 iPad 编程应用 Codea(Lua 语言) 开源传统菜单如何存在于小屏幕设计思路及解决方案。 + +- *keyboard* + + - *freshOS/KeyboardLayoutGuide* + + 自由灵活的调用键盘输入。 + +- *extensions: haoking/SwiftyUI* + + 轻量、高性能的 UI 渲染及扩展类库。 + +- square/Blueprint + + Square 公司开源的自用声明式 UI 开发框架库。 + +- onmyway133/RoughSwift + + 编程方式创建手绘和漫画风格画面。酷炫! + +### SwiftNIO + +- apple/swift-nio + + 事件驱动网络应用框架。 + +- apple/swift-nio-http2 + + 苹果发布 SwiftNIO 针对 HTTP/2 的开源支持库。 + +- ***vapor/vapor*** + + 最活跃的 Web 服务器框架。 + 推荐理由:纯 Swift 开发,引导开发者采用简洁、干净的 Swift 语法。 + 主要缺点:牺牲部分性能换取未使用 C 语言基础库为代价 + + Vapor, Perfect, Kitura 比较:[https://www.jianshu.com/p/a9ca47e844d7](https://www.jianshu.com/p/a9ca47e844d7) + +- *PerfectlySoft/Perfect* + + 功能更强大,性能更好的 Web 服务器框架。有完整的中文开发文档支持。 + +- *IBM-Swift/Kitura* + + 与 IBM Bluemix 最佳云集成,功能强大的 Web 服务器框架。CGI 支持。 + +- *httpswift/swifter* + +- *swiftengine/SwiftEngine* + + 基于 SwiftNIO 的 HTTP 服务器项目。特性都很亮眼,风险是项目可持续性。 + +### WatchKit + +- ezefranca/WatchNote + +- ezefranca/WatchShaker + +### AppKit + +- *videos*→ *GIF: sindresorhus/gifski-app* + +- *clipboard: Clipy/Clipy* + +- *overtake / TelegramSwift* + +### … + +## App Services + +### Core Image + +- *OCR: garnele007/SwiftOCR* + +- *QR & Barcode* + + - *appcoda/QRCodeReader* + + - *EyreFree/EFQRCode* + + - *MxABC/swiftScan* + + - *hyperoslo/BarcodeScanner* + +- *muukii/Pixel* + + 一款(迭代开发中)基于 CoreImage 开源图片编辑器。 + +- koooootake/Portrait-without-Depth-ios + + 实现单摄人像模式。 + +### *Core Data* + +- ***realm: realm/realm-cocoa*** + + 可以匹敌甚至替代 Core Data 和 SQLite 的移动数据库。 + +- *SQLite: groue/GRDB.swift* + +- ***SQLite: stephencelis/SQLite.swift*** + + 简单、轻量,使用上最 SQL 的 SQLite 封装库。 + +- *GraphGL: apollographql/apollo-ios* + +- *OR-Mapping: vapor/fluent* + +- *plivesey/RocketData* + +### FileProvider + +- *nvzqz/FileKit* + + 简单、接口友好的文件管理类库。 + +- *kylef/PathKit* + + 极易用的文件路径操作类库 + +- *JohnSundell/Files* + +- *njdehoog/Witness* + + macOS 文件系统更新事件监视封装库。 + +- mxcl/Path.swift + + 功能完整的文件系统针对目录级路径的 CRUD(增删改查)。 + +### NotificationCenter + +### Core Location + +- *malcommac/SwiftLocation* + +- *GEOSwift/GEOSwift* + +- *SvenTiigi/STLocationRequest* + +### Messages + +- *MessageKit/MessageKit* + +- *eBay/NMessenger* + +### UIMessage + +- *badoo/Chatto* + +- *aslanyanhaik/Quick-Chat* + +- *nathantannar4/InputBarAccessoryView* + + 一款简单、易用的高可定制全功能输入输入组件。 + +### CloudKit + +- ***amosavian/FileProvider*** + + 提供了一套完整、实用,接口统一的本地及远程文件管理封装器实现 Local, iCloud and Remote (WebDAV/FTP/Dropbox/OneDrive)。 + +- *evermeer/EVCloudKitDao* + +- *CoreData: nofelmahmood/Seam* + +- ***Realm: caiyue1993/IceCream*** + + 用 CloudKit 同步 Realm 数据库工具库。 + +- *insidegui/CloudKitCodable* + +- *leancloud/leancloud-sdk* + + “LeanCloud 提供移动服务端整体解决方案,为移动应用开发者提供稳定可依赖的后端云服务,包括存储、账号管理、社交分享、推送等以及相关的技术支持和服务。” + +### SiriKit + +- *insidegui/Sharecuts* + +### HomeKit + +- *Bouke/HAP* + +### Core ML + +- *watson-developer-cloud/swift-sdk* + + 让开发者快速应用 Watson Cognitive Computing 服务在自己的应用内 + +- *watson-developer-cloud/visual-recognition-coreml* + + 来自 IBM Watson 的视觉识别及机器学习示例。 使用 Watson Swift SDK 管理和执行定制的训练模型。 + +- *hollance/Inception-CoreML* + + Inception-v3 运行在 CoreML 框架内 + +- *hollance/CoreMLHelpers* + + 一些输入/输出类型转换和扩展,以便于更容易地去使用 CoreML 。 + +- *Swift-AI/Swift-AI* + +- *xmartlabs/Bender* + +- *fossasia/susi_iOS* + +- *KevinCoble/AIToolbox* + +- *sobri909/LocoKit* + +- *likedan/Awesome-CoreML-Models* + +- *alexsosn/iOS_ML* + +- *tensorflow/swift* + +- *tensorflow/swift-tutorials* + +- *lovoo/NSFWDetector* + + 用 CoreML 扫描、过滤不雅图片。 + +- tensorflow/swift-apis + + 应用于 Swift 的 TensorFlow 深度学习库。 + +### Social + +- *facebook/facebook-sdk-swift* + +- *twitter/twitter-kit-ios* + +- *twitter: mattdonnelly/Swifter* + +- *weibo: sinaweibosdk/weibo_ios_sdk* + +- *instagram: Imputes/Instagram* + +- *https://developer.github.com/v4/* + +- *github: nerdishbynature/octokit.swift* + + 同时支持 GitHub 和 GitHub 企业版 Swift API 客户端类库。 + +- *zhihu: NicholasTD07/SwiftDailyAPI* + +- *telegram: overtake/TelegramSwift* + +- *Weixin: Xinguang/WechatKit* + +### Accounts + +### *Permissions* + +- *ennioma/arek* + +- *IvanVorobei/RequestPermission* + +### *version reminder* + +- *ArtSabintsev/Siren* + +### WebKit + +- *LinusU/Marionette* + + 通过一套更高级的 API 控制 WKWebView。对标 Google Chrome 的 Puppeteer 库。 + +### *editor* + +- *tophat/RichTextView* + + 兼具主流格式解析(LaTeX, HTML, Markdown)及简单视频嵌入(YouTube/Vimeo)功能富文本浏览视图。 + +- *text: tnantoka/edhita* + +- *ePub: FolioReader/FolioReaderKit* + + ePub 阅读器及解析框架类库。这个很震撼,开发者还同步提供 Android 版。 + +- *markdown: iwasrobbed/Down* + + 集成调用 cmark 的高性能 Markdown 渲染实现库及演示。支持多种输出式(Web View, HTML, XML, LaTeX 等)也许是性能外加可用性最高的一个版本了。 + +- *markdown: keitaoouchi/MarkdownView* + + Markdown 文档预览视图组件。 + +- *spreadsheet: kishikawakatsumi/SpreadsheetView* + +- GeekTree0101/VEditorKit + + 功能强大、完成度非常高的 iOS 编辑器组件。 + +- moliveira/MarkdownKit + + 一款简单地可定制化 Markdown 解析预览类库。 + +### … + +## Web + +### App Store Connect API + +- AvdLee/appstoreconnect-swift-sdk + + “借助 App Store Connect API 实现工作流程自动化”,这个库是对整套工作流程 Swift 版的易用化封装。 + + REST API:https://[developer.apple.com/documentation/appstoreconnectapi](http://developer.apple.com/documentation/appstoreconnectapi) + + + APP STORE CONNECT 使用入门(官方中、英、日文版)https://help.apple.com/app-store-connect/ + +### Web Services + +- awslabs/aws-mobile-appsync-sdk-ios + + 来自 Amazon Web Services 实验室的 AWS AppSync iOS SDK。 + +- swift-aws/aws-sdk-swift + + 支持 macOS 和 Ubuntu 的 AWS SDK。 + +## Developer Tools + +### Package Manager + +- apple/swift-package-manager + + 苹果官方 Swift 包管理 + +- *orta/Komondor* + + 在 Swift 项目中支持 Git hooks。 + 配置实例:[https://github.com/orta/Komondor/blob/master/Documentation/with_swiftpm.md](https://github.com/orta/Komondor/blob/master/Documentation/with_swiftpm.md) + +- mxcl/swift-sh + + 最简单、实用的依赖库导入脚本。这太方便了 + +- JamitLabs/Accio + + 结合 SwiftPM,为 Carthage 锦上添花的包管理命令行工具。 + +### XcodeKit + +- *quicktype/quicktype-xcode* + +### XCTest + +- *apple/swift-corelibs-xctest* + +- *Quick/Quick & Quick/Nimble* + + 单元测试框架库 + +- *networking test: venmo/DVR* + +- *morizotter/TouchVisualizer* + +- *pointfreeco/swift-snapshot-testing* + + 通过快照记录方式进行自动化测试。非常直观方便的一种方式。 + +### Code Diagnostics + +- ***realm/SwiftLint*** + + Realm 采用 Swift 编写的基于 GitHub's Swift Style Guide 规则的检查及转换工具。除了命令行运行方式,也提供集成 Xcode 的方法。对于新团队,这样的工具可以自动约束大家遵循编程规范。 + +- *agent-no/swift* + +- *tuist/tuist* + + 通过命令行工具提取 Xcode 项目配置及包依赖关系,实现友好、直观、自掌握的项目配置及管理,避免不必要的初始化及编译错误。 + +- *inamiy/SwiftRewriter* + + 基于 SwiftSyntax 针对代码进行自动格式化(其中包括基于代码规范进行简单的代码优化)。 + +### Playground Support + +- *ole/whats-new-in-swift-4* + +### *dependency manager* + +- ***Carthage/Carthage*** + + 简单,去中心化库依赖管理 + +### *code generator* + +- *Ahmed-Ali/JSONExport* + +- *SwiftGen/SwiftGen* + +- *mac-cain13/R.swift* + + 常用资源(images,fonts, ,colors 等)通过更易用的强类型方式输入并自动转换。 + +### *code cleaning* + +- *onevcat/FengNiao* + +### *debug* + +- *SwiftyBeaver/SwiftyBeaver* + +- *remirobert/Dotzu* + +- *onevcat/Rainbow* + +- apple/swift-log + + 这个 Apple 官方也出,与民争利了。 + +- *DaveWoodCom/XCGLogger* + +- *kasketis/netfox* + +- *netguru/ResponseDetective* + +- *wojteklu/Watchdog* + +- *agens-no/swiff* + + 分分钟获得程序运行时代码片段运动时长命令行工具。 + +- *marcosgriselli/Sizes* + + 根据不同 iPhone/iPad 设备及尺寸规格、横竖屏、字体预览界面显示效果。 + +- *wigl/iSimulator* + + 便捷、实用、高效管理和控制模拟器中运行过的应用。 + +- *lyft/set-simulator-location* + + 命令行下设置模拟器地理位置。 + +- *johnno1962/InjectionIII* + + 在 Xcode 开发调试应用过程中使用注入(即通过不重新编译及重启应用干预应用运行状态,以提高调试效率)。 + +- yagiz/Bagel + + iOS 网络通讯本地调试神器(用 Bounjour 协议,不需要繁琐的连接证书之类的)。 + +- isavynskyi/LayoutInspector + + 3D 视角 iOS 应用布局视图检查器。 + +### design & prototype + +- ***IBAnimatable/IBAnimatable*** + + IBAnimatable 是一个帮助我们在 Interface Builder 和 Swift Playground 里面设计 UI, 交互, 导航模式, 换场和动画的开源库。
[https://github.com/IBAnimatable/IBAnimatable/blob/master/Documentation/README.zh.md](https://github.com/IBAnimatable/IBAnimatable/blob/master/Documentation/README.zh.md) + +### modularization + +基于组件 MessageKit 及实时通讯云 Firestore 的即时通讯实现(功能参考 Facebook Messenger)。 + +- mxcl/Cake + + 基于组件 MessageKit 及实时通讯云 Firestore 的即时通讯实现(功能参考 Facebook Messenger)。 + +### *References* + +- The Swift Programming Language in Chinese + + https://www.cnswift.org + +- vsouza/awesome-ios + +- dkhamsing/open-source-ios-apps + +- matteocrippa/awesome-swift + +- ipader/SwiftGuide in Chinese + +- BohdanOrlov/iOS-Developer-Roadmap + +- pointfreeco/episode-code-samples + + 这种专注于学习 Swift 编程的视频聊天系列有点酷。 + +### apple/swift-metrics + +苹果开源并逐步固定 Metrics API,以方便用户对应用的运行及资源状态进行有效跟踪。 + +### google/science-journal-ios + +Google 科学日志 iOS 版应用开源。 + +### rockbruno/SwiftInfo + +命令行工具跟踪检查 iOS 应用版本代码级变化。 + +### … + +## *application* + +### *website* + +- kickstarter/ios-oss + +- wordpress-mobile/WordPress-iOS + +- wireapp/wire-ios + +- rg3/youtube-dl + +- aslanyanhaik/youtube-iOS + +- fancymax/12306ForMac + +- pointfreeco/pointfreeco + +- artsy/eidolon + +- yewei02538/TodayNews + +### *window* + +- *dgurkaynak/Penc* + + 果然是窗口管理神器,历害了。 + +- ianyh/Amethyst + + 自动排列及快捷操作切换、管理窗口。 + +### *player* + +- ***lhc70000/iina*** + + 一款开源且基于 mpv 播放库的视频播放器项目。 + +- *josejuanqm/VersaPlayer* + + 同时支持 iOS,macOS,tvOS 的开源视频播放器。 + +### *editor* + +- tnantoka/edhita + +- ***coteditor/CotEditor*** + + 轻量,但功能一点也不轻量的 App Store 上架的开源文本编辑器(几乎支持所有主流格式语法高亮显示,且可以扩展及自定义) + +### *tool* + +- *JakeLin/SwiftLanguageWeather* + +- ***insidegui/WWDC*** + + WWDC 现场、视频及相关资源汇集应用(非官方) + +- *lexrus/VPNOn* + +- *mortenjust/androidtool-mac* + +- *voisine/breadwallet-ios* + +### *browser* + +- ***mozilla-mobile/firefox-io*** + + 来自 Mozilla 开发团队大型纯 Swift 项目(AppStore上架 Firefox浏览器)。 + +### *ss* + +- *shadowsocks/ShadowsocksX-NG* + +- *haxpor/Potatso* + +### *DB client* + +- *PostgresApp/PostgresApp* + +### *social* + +- *hilen/TSWeChat* + +- *GitHub: GitHawkApp/GitHawk* + + 号称 GitHub 最佳客户端应用。 + +- *GitHub: khoren93/SwiftHub* + + 一款功能在线的 GitHub 客户端(程序框架采用 RxSwift + MVVM)。 + +### *game* + +- *fullstackio/FlappySwift* + +### *security* + +- *password: mssun/passforios* + + 功能完善,非常实用的密码管理工具。 + +### *desktop* + +- *mczachurski/wallpapper* + + 通过控制台命令为 macOS Mojave 生成动态墙纸工具。 + +- *ApolloZhu/Dynamic-Dark-Mode* + + 自动深色模式 + +### *bitcoin* + +- *breadwallet/breadwallet-ios* + + 开源(上架)版比特币钱包(iOS 版)。 + +## System + +### Accelerate + +- *mattt/Surge* + + 基于苹果 Accelerate 高性能计算框架封装库。 + +### Dispatch + +- *Zewo/Venice* + + 让 Swift 3 提前支持协程。 + +### CFNetwork + +- ***Alamofire/Alamofire*** + + 著名的 AFNetworking 络基础库 Swift 语言版。 + +- *ashleymills/Reachability.swift* + + 检测网络连通性实用工具库。 + +- *rwbutler/Connectivity* + + 基于 Reachability 的封装类库,检查 当前 Wi-Fi 互联网连接性及即时状态。 + +- ***Moya/Moya*** + + 为你提供一套干净的网络抽象层,以以区隔底层网络库。 + +- *socket* + + - *SwiftSocket/SwiftSocket* + + 使 TCP socket 协议通讯容易(轻量级库)。 + + - *IBM-Swift/BlueSocket* + + 较完整支持了 socket 各种协议和类型标准(中量级库),且该库具有良好的跨平台支持特性。 + +- *websocket* + + - *socketio/socket.io-client-swift* + + WebSockect 客户端类库。开放的通讯协议,有利于构建强大地跨平台应用。 + + - *daltoniam/Starscream* + + WebSocket 标准(RFC 6455)客户端库 Swift 实现。 + +- *image fetch* + + - Haneke/HanekeSwift + + 轻量带缓存高性能图片加载组件。 + + - kean/Nuke + + 完整、强大、实用的图片管理类库。 + + - ***onevcat/Kingfisher*** + + 轻量级下载、缓存网络图像视图库。 + + - Alamofire/AlamofireImage + + 基于 Alamofire 的网络图片组件库。 + + - twitter/ios-twitter-image-pipeline + + 它是一套高性能图片加载缓存框架。 + +### Core Bluetooth + +- *rhummelmose/BluetoothKit* + +- *Polidea/RxBluetoothKit* + + 基于 RxSwift 框架的蓝牙库。 + +### LocalAuthentication + +- *rushisangani/BiometricAuthentication* + + 针对 Face ID 和 Touch ID 更简洁地封装使用。 + +### Security + +- *crypto* + + - ***krzyzanowskim/CryptoSwift*** + + Crypto 算法及相关功能类库集合 + + - *RNCryptor/RNCryptor* + + 提供跨语言解决方案的数据 AES 加密封装。 + +- *keychain* + + - *square/Valet* + + 在钥匙串中安全、方便的去存储你的数据。 + + - *kishikawakatsumi/KeychainAccess* + + 钥匙串存储管理封装 + + - *matthewpalmer/Locksmith* + + 功能强大、面向协议便于扩展的 Keychain 类库。 + + - *evgenyneu/keychain-swift* + + 功能相对单一的在钥匙串存储数据。 + +- *blockchain* + + - *shu223/BlockchainSwift* + + 学习区块链编程示例。 + + - *BANKEX/web3swift* + + 用 Swift 实现的以太坊平台 web3.js API 功能类库。 + + - *consenlabs/token-core-ios* + + 区块链私钥管理类库。 + +### *cross platform* + +- *Linux/ARM* + + - *uraimo/SwiftyGPIO* + + 通过 Swift 语言去控制基于 Linux/ARM 主板(比如:C.H.I.P. 和 树莓派) 的 GPIO(General Purpose Input Output ),去完成简单的工控功能(比如 LED 灯的显示)。 + + - *uraimo/buildSwiftOnARM* + + 持续提供使 Swift 运行于 ARM 上的编译版本(已经更新到 Swift 4.1.3 ),它几乎支持所有的(运行于 Ubuntu 16.04 和 Raspbain)树莓派版本。 + +- *Swift* → *Kotlin* + + - *angelolloqui/SwiftKotlin* + +- *UI* + + - *airbnb/Lona* + + - *hyperoslo/Spots* + +### *LSP Implementation* + +- *apple/sourcekit-lsp* + +### … + +## Graphics and Games + +### Core Animation + +- *framework* + + - *timdonnelly/Advance* + + 一款高阶仿真动画框架库。 + + - *material-motion/material-motion-swift* + + 基于 Core Animation 的响应式动画编程框架库。 + + - *MengTo/Spring* + + 精简版动画库(并附动画功能展示和调试功能)。 + + - *shoheiyokoyama/Gemini* + + 动画式滚动组件中集合度很高的一个可定制库。 + +- *loading* + + - ***ninjaprox/NVActivityIndicatorView*** + + 酷炫的装载动画库及演示。满足你对装载动画的个性化需求。 + + - *icanzilb/SwiftSpinner* + + 这个图文结合进程条功能完整,整体效果还很酷。 + + - *farshadjahanmanesh/loady* + + 常用可定制载入进程按钮动画。 + +- *screen* + + - *willowtreeapps/spruce-ios* + + 更易用的多视图协同编排动画库。 + + - *marcosgriselli/ViewAnimator* + + 简单的代码实现复杂 UI 布局及动画切换。 + +- *text: lexrus/LTMorphingLabel* + + 特赞的文字飘入飘出效果。 + +- vector animations: airbnb/lottie-ios + + Airbnb 矢量级动画渲染库全面迁移至 Swift 版本。其势不可挡。 + +- sagaya/Wobbly + + 对界面组件元素实现各种摇晃抖闪的动画效果。 + +### Core Graphics + +- Image Processing: gavinbunney/Toucan + + 小而美的图片变换及处理类。 + +- *color: jathu/UIImageColors* + + 图片色系决定界面背景色及字体显示颜色。获取主色、次色、背景色、详细色 + +### Image I/O + +- *GIF: kaishin/gifu* + + 高性能 GIF 显示类库 + +- *GIF: kirualex/SwiftyGif* + + 高性能 Gif 播放引擎 + +- *SVG: mchoe/SwiftSVG* + + 支持多种接口绘制 SVG 类库。 + +- *APNG: onevcat/APNGKit* + + 解析和显示 APNG 的框架 + +- *wangjwchn/AImage* + + GIF/APNG 播放引擎。 + +- kelvin13/png + + 纯 Swift 代码解析 PNG 格式,返回图像原始像素数据和尺寸。 + +- *malcommac/ImageSizeFetcher* + + 通过 URL 获取图像类型或尺寸。 + +- kaishin/ImageScout + + 最小网络代价获得图片大小及类型。 + +### ARKit + +- *ProjectDent/ARKit-CoreLocation* + + AR 与 GPS 精确数据的结合,开始一次导航之旅。其中包括了 ARKit + CoreLocation 框架库 ARCL,它是非常重要的实验性项目,未来开发前景可期。 + +- *NovaTecConsulting/FaceRecognition-in-ARKit* + + 人脸识别在 AR 中的应用演示案例。 + +- *Boris-Em/ARCharts* + + 直观、实用的 AR 版 3D 图表组件也来了。 + +- simformsolutions/ARKit2.0-Prototype + + AR 2.0 实现效果原型演示 + +- olucurious/Awesome-ARKit + + AR 开源项目汇总列表。 + +- *maxxfrazer/ARKit-SCNPath* + + 方便地绘制一条 AR 场景导航路径。 + +### PDFKit + +- *nRewik/SimplePDF* + + 轻松程序建立简单格式 PDF 。 + +- *Alua-Kinzhebayeva/iOS-PDF-Reader* + + 简单易用的轻量级 PDF 阅读器组件。 + +- *sgr-ksmt/PDFGenerator* + + 创建简单的 PDF 文档。 + +### GLKit + +- *BradLarson/GPUImage2* + + 基于 GPU 图像和视频处理框架库。 + +- *vector graphics: exyte/Macaw* + + 强大又易用的 SVG 矢量图工具库。 + +### Metal + +- *BradLarson/GPUImage3* + + 采用 Metal 代替上一版 OpenGL 重新设计,实现 GPU 对图像和视频的加速处理。 + +- *kawoou/FlexibleImage* + + 简单编辑静态图片,产生适宜的效果叠加播放。 + +- *alexiscn/MetalFilters* + + 基于 Metal 框架实现的 Instagram 风格图片滤镜库。 + +- endavid/VidEngine + + 用 Metal (GPU) 技术封装实现的 3D渲染引擎。 + +### SpriteKit + +- *bubble picker: efremidze/Magnetic* + + 可定制地类似 Apple Music 磁力吸引式泡泡选择器组件。 + +- *refresh control* + + - *dasdom/BreakOutToRefresh* + + 下拉加载刷新时,嵌入了用 SpriteKit 框架写的有趣的小游戏播放页。 + + - *Onix-Systems/RainyRefreshControl* + + 下雨要撑伞动效下拉刷新组件。 + +- *loading: BalestraPatrick/ParticlesLoadingView* + + 通过 SpriteKit 内置工具粒子动画实现酷炫的可定制装载动画。 + +- *game: songkuixi/TouchBreakout* + + 用 Touch Bar 在 Mac 上玩打砖块游戏。 + +### SceneKit + +- folio-sec/Slideshow + + 采用 SceneKit 写的 3D 动态图片墙。酷!不过系统资源消耗也很历害。 + +### … + +## Media + +### AVFoundation + +- *AlexLittlejohn/ALCameraViewController* + + 摄像头视图控制器,图片选择及简单编辑。 + +- *imaginary-cloud/CameraManager* + + 简单、易用的相机管理封装类库。 + +- *live: shogo4405/HaishinKit.swift* + + 同时支持 iOS, macOS, tvOS 的摄像头和麦克风流(RTMP, HLS)管理库。 + +- *recognition: dokun1/Lumina* + + 易于集成 CoreML 模型,以及图像识别,二维码检测及相关特性摄像库。 + +- *radio: analogcode/Swift-Radio-Pro* + + 集成 LastFM 的专业电台应用。 + +### PhotoKit + +- *MailOnline/ImageViewer* + + 用心之作图片全屏预览组件及类库(效果类似 Twitter 相应组件)。 + +- *suzuki-0000/SKPhotoBrowser* + + 中规中矩、实用的图片浏览类库。 + +- *ytakzk/Fusuma* + + Instagram 风格图片浏览及拍照。 + +### Core Audio + +- *AudioKit/AudioKit* + + 音频合成、加工及分析平台框架库 + +- *fulldecent/FDWaveformView* + + 播放并显示音频波形组件。 + +### Media Player + +- *lhc70000/iina* + + 一款开源且基于 mpv 播放库的全功能视频播放器项目。 + +- *mobileplayer/mobileplayer-ios* + + 貌似很不错的高度可定制播放器项目。 + +- *piemonte/Player* + + 本地视频及流媒体播放器。 + +- *audio: adamcichy/SwiftySound* + + 极简播放声音文件方式。 + +### ScreenSaver + +- *JohnCoates/Aerial* + + 在 macOS 中仿新版的 Apple TV 的 Aerial 屏保。 + +### … + +## Syntax + +### apple/swift-syntax + +Swift 语法库开源,极大方便了开发者研究、解析、转换、自动生成 Swift 代码。 + +### *NSHipster/SwiftSyntaxHighlighter* + +采用 SwiftSyntax 库产品 Swift 代码 HTML 格式高亮库 + +### *highlighter: JohnSundel/Splash* + +将 Swift 程序代码转换至 HTML(或 PNG),并高亮显示其语法。 + +### ***raywenderlich/swift-algorithm-club*** + +Swift 算法俱乐部,最全、最活跃,最具学习价值的算法库。 + +### *elizabethsiegle/30-seconds-of-swift-code* + +精选的 30 秒或更短时间即能理解的实用 Swift 代码片段。(高效学习 swift 语言语法利器。思路来源于 知名 JavaScript 项目 [https://github.com/30-seconds/30-seconds-of-code](https://github.com/30-seconds/30-seconds-of-code) ) + +### MobileTipsters/Swift-Daily-Tips + +Swift 语法和编程技巧每日提示 + diff --git a/2019/OpenSourceforSwift-Classification.md b/2019/OpenSourceforSwift-Classification.md new file mode 100644 index 00000000..21a76d7c --- /dev/null +++ b/2019/OpenSourceforSwift-Classification.md @@ -0,0 +1,16 @@ +# Swift 开源项目精选导图 + +这份文档主要基于微博 [@SwiftLanguage](https://weibo.com/swiftlanguage) 跟踪过活跃于 Swift 语言领域的那些 GitHub 开源项目,顺便也是对于过去几年关注的内容进行一次系统化梳理。尝试整理出一份相对结构化且精练的 Swift 开源项目参考知识库,它将主要以思维导图形式呈现。 + +导图分类规则尽可能遵循[苹果开发者文档](https://developer.apple.com/documentation/)(对应关系仅做参考),试图与官方类库分类尽量有一个对照关系(其初衷是引导开发者不要为了使用开源而忽视官方类库本身已经具备的功能特性);筛选规则主要参考过去四年多来微博分享,综合了库的实用性、稳定性、star/fork,以及活跃度等因素,筛选出其中一个子集,整理后的开源项目数量目前为 400 多个项目。导图将以一整张大图及 myMindNode 浏览两种方式访问。另外,站在开发者应用开发视角,额外筛检了一份更精简且分类明细的 [Swift 开源项目精选 - 应用架构角度](OpenSourceforSwift-ApplicationArchitecture.md)。 + +订阅后显示部分目前实为持续更新的 myMindNode 链接及明细内容浏览方式(叶子节点针对每一个收录开源项目的中文简介)。此外,附上项目中部分 [Swift 知名开发者介绍](SwiftDevelopers.md) 和 [Swift 开源项目团队介绍](SwiftDevelopmentTeam.md),以便于进一步了解其中部分优秀项目开发者背景。另外,考虑到开源项目的发展及持续更新。本文档并非最终稿,它将与微博 [@SwiftLanguage](https://weibo.com/swiftlanguage) 同步更新(周为单位)。对于那些不再活跃或中止的项目也会尽力删减。对于 Swift 新手欢迎关注文档 [Swift 开发指引](http://swiftguide.cn) 以及 [Swift 语言指南](https://github.com/ipader/SwiftGuide/blob/master/README20181213.md) (13.9k+ stars),其中有项目介绍、入门文章等与 Swift 开发相关的信息。 + +![](OpenSourceforSwift-Classification.png?raw=true) +[myMindNode浏览及导图原文档下载……](https://my.mindnode.com/s4jn5DKQV7qwpCdnyd12sDXcnTYJmFzPNghYx91s) + +## 附:MindNode 格式导图导出的文本内容 +* [浏览 Markdown 版本](OpenSourceforSwift-Classification-MindNode.md) +* [浏览 PDF 版本](OpenSourceforSwift-Classification.pdf) + +注:开源项目范围广泛,能力所及,其中主观性强烈,甚至不少错误之处,望包涵、指正。 diff --git a/2019/OpenSourceforSwift-Classification.pdf b/2019/OpenSourceforSwift-Classification.pdf new file mode 100644 index 00000000..904a8517 Binary files /dev/null and b/2019/OpenSourceforSwift-Classification.pdf differ diff --git a/2019/OpenSourceforSwift-Classification.png b/2019/OpenSourceforSwift-Classification.png new file mode 100644 index 00000000..ec980d4d Binary files /dev/null and b/2019/OpenSourceforSwift-Classification.png differ diff --git a/2019/RecentlyIncludedSwiftProjects.md b/2019/RecentlyIncludedSwiftProjects.md new file mode 100644 index 00000000..232dda32 --- /dev/null +++ b/2019/RecentlyIncludedSwiftProjects.md @@ -0,0 +1,76 @@ +# Recently Included Swift Projects + +![](RecentlyIncludedSwiftProjects.png) + +## *Shared & Featured* + +- <*AWS SDK*>
swift-aws/aws-sdk-swift
➟ macOS | Linux + + 支持 macOS 和 Ubuntu 的 AWS SDK。 + +- <*3D Picture Gallery Slideshow*>
folio-sec/Slideshow
➟ macOS + + 采用 SceneKit 写的 3D 动态图片墙。酷!不过系统资源消耗也很历害。 + +- <*Metrics API*>
apple/swift-metrics
➟ iOS | macOS | Linux + + 苹果开源并逐步固定 Metrics API,以方便用户对应用的运行及资源状态进行有效跟踪。 + +- <*converts between AttributedStrings and HTML*>
IdeasOnCanvas/Ashton
➟ iOS | macOS + + MindNode 团队开发使用的 NSAttributedStrings 和 HTML 高性能互转类库。 + +- <*handy features to standard library*>
*Flinesoft/HandySwift*
➟ iOS | macOS | Linux + + 由于某些原因 Swift 标准库仍未收入且很好用的功能特性扩展。 + +- <*Codable extension*>
JohnSundell/Codextended
➟ macOS | Linux + + 为自定义 Codable 而生的扩展 API。 + +- <*dependency manager*>
JamitLabs/Accio
➟ macOS + + 结合 SwiftPM,为 Carthage 锦上添花的包管理命令行工具。 + +- **
JohnSundell/Sweep
➟ iOS | macOS | Linux + + 比正则表达式简单很多的子字符串扫描和匹配。 + +- <*Declarative UI construction*>
square/Blueprint
➟ iOS + + Square 公司开源的自用声明式 UI 开发框架库。 + +- <*loading*>
farshadjahanmanesh/loady
➟ iOS + + 常用可定制载入进程按钮动画。 + +- <*science-journal*>
google/science-journal-ios
➟ iOS + + Google 科学日志 iOS 版应用开源。 + +- <*CLI tool*>
rockbruno/SwiftInfo
➟ macOS + + 命令行工具跟踪检查 iOS 应用版本代码级变化。 + +- <*hand-drawn, comic shape*>
onmyway133/RoughSwift
➟ iOS + + 编程方式创建手绘和漫画风格画面。酷炫! + +## *Shared Only* + +- <*animated switch*>
d-dotsenko/DDAnimatedSwitch
➟ iOS + + 把开关动画定制到可乐。 + +- <*execute Swift into markdown*>
objcio/markdown-playgrounds
➟ macOS + + 在 Markdown 中执行 Swift Playgrounds 代码。这是想让 Markdown 编辑器无敌的节奏吗? + +- <*native source editor*>
twostraws/Sourceful
➟ iOS | macOS + + 有了这个支持,是时候写一款 iOS/macOS 通用的源代码编辑器了。 + +- *
pigigaldi/Pock*
➟ macOS + + 将 macOS Dock 放入 Touch Bar。总得来讲是 Touch Bar 的有益补充,设计思路及程序结构也恰到好处。 + diff --git a/2019/RecentlyIncludedSwiftProjects.png b/2019/RecentlyIncludedSwiftProjects.png new file mode 100644 index 00000000..28bab5b6 Binary files /dev/null and b/2019/RecentlyIncludedSwiftProjects.png differ diff --git a/2019/SwiftDevelopers.md b/2019/SwiftDevelopers.md new file mode 100644 index 00000000..fe5f0854 --- /dev/null +++ b/2019/SwiftDevelopers.md @@ -0,0 +1,382 @@ +# Swift 知名开发者介绍 +![](SwiftDevelopers.png?raw=true) +## 目录 +* [全身心拥抱开源的开发者 Mattt Thompson](#mattt-thompson) +* [富有创意的开发者 Morten Just](#morten-just) +* [挑战自我、精益求精的开发者 Daniel Dahan](#daniel-dahan) +* [深耕于 Swift 的开发者 Simon Gladman](#simon-gladman) +* [最接近 Swift 的 Instagram 开发者 Jesse Squires](#jesse-squires) +* [设计先行、持续改进的开发者 Jake Lin](#jake-lin) +* [小即是美的开发者 Lex Tang](#lex-tang) +* [最专注于 UI/UX 领域的开发者 Meng To](#meng-to) +* [最热衷于开源社团的开发者 Kyle Fuller](#kyle-fuller) +* [神话级 Cocoa 框架的开发者 Justin Spahr-Summers](#justin-spahr-summers) +* [最懂 RAC 的开发者 Josh Abernathy](#josh-abernathy) +* [随时产品化思考的开发者 Daniel Cohen Gindi](#daniel-cohen-gindi) +* [最热衷于 OOD 演练的开发者 Oktawian Chojnacki](#oktawian-chojnacki) +* [最文青范的开发者 Wei Wang](#wei-wang) +* [好接地气的开发者 Roy Marmelstein](#roy-marmelstein) +* [敏锐又与时俱进的开发者 Robb Böhnke](#robb-böhnke) +* [设计精致、细节讲究的开发者 Reda Lemeden](#reda-lemeden) +* [战斗力爆棚且又低调的开发者 nixzhu](#nixzhu) +* [冲劲十足、乐在其中的开发者 Kevin](#kevin) +* [着眼于简单、高效的开发者 Damien](#damien) +* [最专注于测试框架的开发者 Brian Gesiak](#brian-gesiak) +* [充满故事的开发者 Ash Furrow](#ash-furrow) +* [最懂软件包管理和分发的开发者 Max Howell](#max-howell) +* [富有学习激情、极为活跃的开发者 Natasha Murashev](#natasha-murashev) +* [玩乐于工作、兴趣之中的开发者 Sam Soffes](#sam-soffes) +* [充满激情创造伟大软件的开发者 Matt Diephouse](#matt-diephouse) +* [全职的开源代码工作者 Sindre Sorhus](#sindre-sorhus) + +## Mattt Thompson +![](https://avatars1.githubusercontent.com/u/7659?v=3&s=220) + +简介:全身心拥抱开源的高产开发者 ([专访](https://blog.heroku.com/archives/2013/11/12/Mattt-Thompson)) + +代表作品: +* 创办了 [NSHipster.com](http://nshipster.com/) +* 著名的网络基础库 [AFNetworking](https://github.com/AFNetworking/AFNetworking) 和 Swift 版 [Alamofire](https://github.com/Alamofire/Alamofire) +* 基于苹果 Accelerate 高性能计算框架封装库 [Surge](https://github.com/mattt/Surge) +* 定制操作符实现直观、简洁的数学表达式 ∛27÷3+∑[3,1,2] 类库 [Euler](https://github.com/mattt/Euler) + +社交:[Github](https://github.com/mattt) | [Twitter](https://twitter.com/mattt) + +## Morten Just +![](https://avatars2.githubusercontent.com/u/1548468?v=3&s=230) + +简介:富有创意的开发者 [CV](http://www.linkedin.com/in/mortenjust) + +代表作品: +* 一键截屏、录屏的 Mac 客户端工具 [androidtool](https://github.com/mortenjust/androidtool-mac) +* 只支持 1000 常用单词的文本编辑器 [cleartext](https://github.com/mortenjust/cleartext-mac)(灵感来源《Complicated Stuff in Simple Words》) +* 视频拖拽到应用窗口后自动转换为 GIF 动画工具 [droptogif](https://github.com/mortenjust/droptogif)(转换动画很赞) + +社交:[Github](https://github.com/mortenjust) | [Twitter](https://twitter.com/mortenjust) | [Medium](https://medium.com/@mortenjust) + +## Daniel Dahan +![](https://avatars3.githubusercontent.com/u/9982123?v=3&s=230) + +个人简介:不断挑战自我、精益求精的开发者。[CV](https://ca.linkedin.com/in/daniel-dahan-7a227460) + +代表作品: +* 基于 Material Design 动画和图像框架库 [Material](https://github.com/CosmicMind/Material) +* 设计新颖、使用简单基于 Core Data 的数据驱动框架库 [Graph](https://github.com/CosmicMind/Graph) +* 算法和概率模型工具集 [Algorithm](https://github.com/CosmicMind/Algorithm) + +社交:[Github](https://github.com/danieldahan) | [Twitter](https://twitter.com/Cosmicmindio) + +## Simon Gladman +![](https://avatars2.githubusercontent.com/u/6221298?v=3&s=230) + +简介:深耕于 Swift 的开发者 [CV](https://uk.linkedin.com/in/simon-gladman-420a001) + +代表作品: + +* [Core Image for Swift 📚](https://itunes.apple.com/us/book/core-image-for-swift/id1073029980) +* [Plum-O-Meter](https://github.com/FlexMonkey/Plum-O-Meter):3D Touch 来称重 +* [Blurable](https://github.com/FlexMonkey/Blurable):通过协议扩展高斯模糊任意 UIView +* [Filterpedia](https://github.com/FlexMonkey/Filterpedia):Core Image 下强大的图片滤镜类库演示应用 + +社交:[Github](https://github.com/FlexMonkey) | [Twitter](https://twitter.com/flexmonkey) + +## Jesse Squires +![](https://avatars2.githubusercontent.com/u/2301114?v=3&s=230) + +简介:最接近 Swift 的 Instagram 开发者,Instagram 主要开发者之一 [CV](https://www.linkedin.com/in/jessesquires) + +代表作品: + +* 让你快速获取 Swift 官方动态的 [Swift Weekly Brief](http://swiftweekly.github.io/) +* 著名的消息 UI 框架库 [JSQMessagesViewController](https://github.com/jessesquires/JSQMessagesViewController) 及其 Swift 版 [MessageKit](https://github.com/MessageKit/MessageKit) + +社交:[Github](https://github.com/jessesquires) | [Twitter](https://twitter.com/jesse_squires) | [cocoapods](https://cocoapods.org/owners/1808) | [Website](http://www.jessesquires.com/) + +## Jake Lin +![](https://avatars1.githubusercontent.com/u/573856?v=3&s=230) + +简介:设计先行、持续改进的开发者 [CV](https://www.linkedin.com/in/jakelin) + +代表作品: + +* 清新淡雅持续改进天气预报项目 [SwiftWeather](https://github.com/JakeLin/SwiftWeather) +* 基于 Xcode 插件技术快速原型开发工具 [IBAnimatable](https://github.com/JakeLin/IBAnimatable) + +社交:[Github](http://github.com/JakeLin) | [dribbble](http://dribbble.com/Jake_Lin) | [Twitter](https://twitter.com/Jake_Lin) | [Weibo](http://weibo.com/yongjianlin) + +## Lex Tang +![](https://avatars1.githubusercontent.com/u/219689?v=3&s=230) + +简介:小即是美的开发者 [CV](https://cn.linkedin.com/in/lexrus) + +代表作品: +* 文字飘入飘出动画效果库 [LTMorphingLabel](https://github.com/lexrus/LTMorphingLabel) +* 驻在通知中心内的 VPN 开关应用 [VPNOn](https://github.com/lexrus/VPNOn) + +社交:[Github](https://github.com/lexrus) | [dribbble](https://dribbble.com/lexrus) | [Twitter](https://twitter.com/lexrus) | [Weibo](http://weibo.com/lexrus) + +## Meng To +![](https://avatars2.githubusercontent.com/u/1065452?v=3&s=230) + +简介:最专注于 UI/UX 领域的开发者 [CV](https://www.linkedin.com/in/mengto) | [专访](http://www.jianshu.com/p/2fd2721530d0) + +代表作品 +* 提供动画调试功能的强大动画的 API 库 [Spring](https://github.com/MengTo/Spring) +* [dribbble 作品集](https://dribbble.com/mengto) + +社交:[Github](https://github.com/MengTo) | [dribbble](https://dribbble.com/mengto) | [Twitter](https://twitter.com/mengto) | [Website](https://designcode.io/) + +## Kyle Fuller +![](https://avatars0.githubusercontent.com/u/44164?v=3&s=230) + +简介:最热衷于开源社团的开发者 [CV](https://www.linkedin.com/in/fullerkyle) + +代表作品: +* 参与开发 [CocoaPods](https://github.com/CocoaPods/CocoaPods), [AFNetworking](https://github.com/AFNetworking/AFNetworking), [Alamofire](https://github.com/Alamofire/Alamofire) 等优秀项目 +* 类似 rvm, nvm 的Swift 版本管理器 [swiftenv](https://github.com/kylef/swiftenv) +* 使用简单、功能强大的模板语言库 [Stencil](https://github.com/kylef/Stencil) +* 使用简单、功能完善的 CoreData 查询类库 [QueryKit](https://github.com/QueryKit/QueryKit) +* 小而美的路径管理类 [PathKit](https://github.com/kylef/PathKit) +* 简单、高效、低耦专业 Web 服务器及示例 [Curassow](https://github.com/kylef/Curassow) + +社交:[Github](https://github.com/kylef) | [Twitter](https://twitter.com/kylefuller) | [Website](https://fuller.li/) + +## Justin Spahr-Summers +![](https://avatars3.githubusercontent.com/u/432536?v=3&s=230) + +简介:神话级 Cocoa 框架的开发者 [CV](http://stackoverflow.com/cv/jspahrsummers) + +代表作品: + +* 简单、去中心化全新 Cocoa 依赖管理库 [Carthage](https://github.com/Carthage/Carthage) +* Cocoa 的函数响应式编程框架 [ReactiveCocoa](https://github.com/ReactiveCocoa/ReactiveCocoa) +* Cocoa 和 Cocoa Touch 模型对象层框架库 [Mantle](https://github.com/Mantle/Mantle) +* 起草了 Github 版 Swift 编程规范 [swift-style-guide](https://github.com/github/swift-style-guide) + +社交:[Github](https://github.com/jspahrsummers) | [Twitter](https://twitter.com/jspahrsummers) | [Website](http://jspahrsummers.com/) + +## Josh Abernathy +![](https://avatars0.githubusercontent.com/u/13760?v=3&s=230) + +简介:最懂 RAC 的开发者 [CV](https://www.linkedin.com/in/josh-abernathy-b1308a10) + +代表作品: +* 与 [Justin Spahr-Summers](https://github.com/jspahrsummers) 合作开发 [GitHub for Mac](https://desktop.github.com/) 并开源了 [ReactiveCocoa](https://github.com/ReactiveCocoa/ReactiveCocoa) 框架 +* 灵感来源于 [React](http://facebook.github.io/react/) 的 UI 框架库 [Few.swift](https://github.com/joshaber/Few.swift) 及其布局组件 [SwiftBox](https://github.com/joshaber/SwiftBox) +* 参与开发 Github 项目 [atom](https://github.com/atom/atom) + +社交:[Github](https://github.com/joshaber) | [Twitter](http://twitter.com/joshaber) | [Blog](https://joshaber.github.io/) + +## Daniel Cohen Gindi +![](https://avatars2.githubusercontent.com/u/366926?v=3&s=230) + +简介:随时产品化思考的开发者 [CV](https://il.linkedin.com/in/danielgindi) + +代表作品: +* Android 图表开源库 [MPAndroidChart](https://github.com/PhilJay/MPAndroidChart) 的Swift 版 [Charts](https://github.com/danielgindi/Charts) +* [MPAndroidChart](https://github.com/PhilJay/MPAndroidChart) 的主要开发、维护者之一 + +社交:[Github](https://github.com/danielgindi) | [Twitter](https://twitter.com/dcgindi) + +## Oktawian Chojnacki +![](https://avatars3.githubusercontent.com/u/3382607?v=3&s=230) + +简介:最热衷于 OOD 演练的开发者 [CV](https://www.linkedin.com/in/oktawianchojnacki) + +代表作品: +* 基于 Bob 大叔 OOD 经典(S.O.L.I.D.) Swift 实现示例 [OOD-Principles-In-Swift](https://github.com/ochococo/OOD-Principles-In-Swift) +* 如何使用常用设计模式及示例 [Design-Patterns-In-Swift](https://github.com/ochococo/Design-Patterns-In-Swift) + +社交:[Github](https://github.com/ochococo) | [Twitter](https://twitter.com/nsmeme) + +## Wei Wang +![](https://avatars2.githubusercontent.com/u/1019875?v=3&s=230) + +简介:最文青范的开发者 [CV](https://www.linkedin.com/in/onevcat) + +代表作品: + +* 高性能 APNG 显示框架 [APNGKit](https://github.com/onevcat/apngkit) +* 轻量级下载、缓存网络图像库 [Kingfisher](https://github.com/onevcat/Kingfisher) +* 快捷程序注释 Xcode 插件 [VVDocumenter-Xcode](https://github.com/onevcat/VVDocumenter-Xcode) +* 控制台七彩字串输出库 [Rainbow](https://github.com/onevcat/Rainbow) +* 组织了翻译了 objc.io 中文站 [objc中国](objccn.io) +* [Swifter - 100 个 Swift 必备 tips](http://swifter.tips/) 📚 + +社交:[Github](https://github.com/onevcat) | [Twitter](https://twitter.com/onevcat) | [stackoverflow](http://stackoverflow.com/users/1468886/onevcat) | [Weibo](http://weibo.com/onevcat) | [Website](http://onev.cat/) + +## Roy Marmelstein +![](https://avatars2.githubusercontent.com/u/889949?v=3&s=230) + +简介:好(hào)接地气的开发者 [CV](http://fr.linkedin.com/pub/roy-marmelstein/27/365/2ba/) + +代表作品: + +* 手势驱动交互式转场动画框架库 [Interpolate](https://github.com/marmelroy/Interpolate) +* 提供向后兼容的 Peek/Pop 预览框架库 [PeekPop](https://github.com/marmelroy/PeekPop) +* 一套较为完整的 i18n 基础库 [Localize-Swift](https://github.com/marmelroy/Localize-Swift), [PhoneNumberKit](https://github.com/marmelroy/PhoneNumberKit), [Zip](https://github.com/marmelroy/Zip), [Format](https://github.com/marmelroy/Format) +* iOS 下 Finder 风格文件浏览器 [FileBrowser](https://github.com/marmelroy/FileBrowser) +* Apple TV 风格按钮 [TVButton](https://github.com/marmelroy/TVButton) + +社交:[Github](https://github.com/marmelroy) | [Twitter](http://twitter.com/marmelroy) | [Medium](https://medium.com/swift-and-ios-writing) |[Website](http://marmelroy.github.io/) + +## Robb Böhnke +![](https://avatars2.githubusercontent.com/u/212465?v=3&s=230) + +简介:敏锐又与时俱进的开发者 [CV](http://robb.is/who-exactly/) + +代表作品: +* 最早发布了 Swift 版声明式自动布局项目([Cartography](https://github.com/robb/Cartography)) +* 参与开发了 [Carthage](https://github.com/Carthage/Carthage), [Mantle](https://github.com/Mantle/Mantle) 等 +* 最早发布了 Swift 版 Hamburger 按钮转场动画开发教程([How to build a nice Hamburger Button transition in Swift](http://robb.is/working-on/a-hamburger-button-transition/))及示例项目([hamburger-button](https://github.com/robb/hamburger-button)) +* 开发了上架应用 [SoundCloud](http://itunes.apple.com/en/app/soundcloud/id336353151), [Artsy](http://robb.is/working-on/artsy-iphone-app/) 等 +* [函数响应式编程(FRP)主要参与者及推动者之一](https://realm.io/news/frp-ios-guide/#who-can-teach-me-more-about-frp) + +社交:[Github](https://github.com/robb) | [Twitter](https://twitter.com/dlx) | [dribbble](https://dribbble.com/robb) | [Website](http://robb.is) + +## Reda Lemeden +![](https://avatars1.githubusercontent.com/u/519433?v=3&s=230) + +简介:设计精致、细节讲究的开发者 [CV](https://redalemeden.com/) + +代表作品: + +* 最小网络代价获得图片大小及类型类库 [ImageScout](https://github.com/kaishin/ImageScout) +* 高性能 GIF 显示类库 [gifu](https://github.com/kaishin/gifu) +* 运行于 OS X 基于 cmark 轻量级 Markdown 预览库 [Markoff](https://github.com/thoughtbot/Markoff) +* 精致的网络测速上架应用 [Speedster](https://speedsterapp.com/) + +社交:[Github](https://github.com/kaishin) | [Twitter](https://twitter.com/kaishin) | [dribbble](https://dribbble.com/kaishin) | [Blog](https://unredacted.redalemeden.com/) + +## nixzhu +![](https://avatars1.githubusercontent.com/u/435208?v=3&s=230) + +简介:战斗力爆棚且又低调的开发者 + +代表作品: + +* “打造由天才开发给天才们使用的社交软件” [Yep](https://github.com/CatchChat/Yep) +* 强大的中文社交网络(WeChat, QQ, Alipay or Weibo)分享组件库 [MonkeyKing](https://github.com/nixzhu/MonkeyKing) +* iOS 扩展与主应用的实时通信库 [MMWormhole](https://github.com/mutualmobile/MMWormhole) 的纯 Swift 版本 [Wormhole](https://github.com/nixzhu/Wormhole) +* 更容易地请求本地设备权限库 [Proposer](https://github.com/nixzhu/Proposer) +* JSON 自动生成 Swift 模型类工具 [Coolie](https://github.com/nixzhu/Coolie) +* [一些 iOS / Web 开发相关的翻译或原创博客文章](https://github.com/nixzhu/dev-blog) + +社交:[Github](https://github.com/nixzhu) | [Twitter](https://twitter.com/nixzhu) | [Weibo](http://weibo.com/nixzhu) + +## Kevin +![](https://avatars3.githubusercontent.com/u/1156192?v=3&s=230) + +简介:冲劲十足、乐在其中的开发者 [专访](http://www.infoq.com/cn/news/2015/10/kevinzhow-interview) + +代表作品: + +* 简单、漂亮带动画效果的图表库 [PNChart](https://github.com/kevinzhow/PNChart)(OC 版)及其 Swift 版 [PNChart-Swift](https://github.com/kevinzhow/PNChart-Swift) +* “开发给天才们使用的社交软件” [Yep](https://github.com/CatchChat/Yep) +* 切身经验讲述如何(只有真心喜欢)完成一款优秀的产品 [《Producter》📚](http://producter.io/) +* 渐变文字输入演示 [RealtimeGradientText](https://github.com/kevinzhow/RealtimeGradientText) +* [给女朋友的 iOS 开发教程](http://weibo.com/p/1001603895923729155287) + +社交:[Github](https://github.com/kevinzhow) | [Twitter](https://twitter.com/kevinzhow) | [Weibo](http://weibo.com/kevinzhow) | [Blog](http://blog.zhowkev.in/) + +## Damien +![](https://avatars3.githubusercontent.com/u/2891970?v=3&s=230) + +简介:着眼于简单、高效的开发者 + +代表作品: +* 使用简单、功能完善的 iOS 设备及资源权限请求库 [Permission](https://github.com/delba/Permission) +* 极为小巧、易用的 OAuth 授权类库 [SwiftyOAuth](https://github.com/delba/SwiftyOAuth) +* 让手势识别如虎添翼库 [Tactile](https://github.com/delba/Tactile) +* 使用简单、性能高效的 JSON 解析类库 [JASON](https://github.com/delba/JASON) +* 可定制输出格式、主题风格日志库 [Log](https://github.com/delba/Log) + +社交:[Github](https://github.com/delba) | [Twitter](https://twitter.com/_delba) + +## Brian Gesiak +![](https://avatars3.githubusercontent.com/u/552921?v=3&s=230) + +简介:最专注于测试框架的开发者 [CV](https://www.linkedin.com/in/bgesiak) + +* 苹果开源组核心库 XCTest 单元测试框架 [swift-corelibs-xctest](https://github.com/apple/swift-corelibs-xctest) +* 行为驱动的测试框架 [Quick](https://github.com/Quick/Quick) +* 比 XCTAssertEqual 更方便易用的匹配框架 [Nimble](https://github.com/Quick/Nimble) +* 参与 [swift](https://github.com/apple/swift) 编译器的开发 +* 行为驱动开发库 [Kiwi](https://github.com/kiwi-bdd/Kiwi) 核心开发者之一 + +社交:[Github](http://github.com/modocache) | [Twitter](https://twitter.com/modocache) | [Website](http://modocache.io/) + +## Ash Furrow +![](https://avatars3.githubusercontent.com/u/498212?v=3&s=230) + +简介:充满故事的开发者 [CV](https://www.linkedin.com/in/ashfurrow) + +代表作品: +* 设计极为出众的网络抽象层类库 [Moya](https://github.com/Moya/Moya) +* Artsy 的艺术品拍卖亭开源应用 [eidolon](https://github.com/artsy/eidolon) +* 出版了[《Your First Swift App》](https://leanpub.com/yourfirstswiftapp/), [《Functional Reactive Programming on iOS》](https://leanpub.com/iosfrp)...等四本书 +* 带感的心路历程 [5 Years of iOS](https://ashfurrow.com/blog/5-years-of-ios/) + +社交:[Github](https://github.com/ashfurrow) | [Twitter](https://twitter.com/ashfurrow) | [Website](https://ashfurrow.com/) + +## Max Howell +![](https://avatars3.githubusercontent.com/u/58962?v=3&s=230) + +简介:最懂软件包管理和分发的开发者 + +代表作品: +* OS X 不可或缺的套件管理器 [Homebrew](https://github.com/Homebrew) +* [Swift Package Manager](https://github.com/apple/swift-package-manager) +* 支持 iOS 和 OS X 平台的 Promise 框架库 [PromiseKit](https://github.com/mxcl/PromiseKit) + +社交:[Github](https://github.com/mxcl) | [Twitter](https://twitter.com/mxcl) | [facebook](https://www.facebook.com/maxhowell) + +## Natasha Murashev +![](https://avatars1.githubusercontent.com/u/1157147?v=3&s=230) + +简介:富有学习激情、极为活跃的开发者 + +代表作品: +* Swift 最佳实践学习网站 [natashatherobot.com](http://natashatherobot.com) +* Swift 开发者大会 try! Swift 组织者 [纽约](http://www.tryswiftnyc.com/),[东京](http://www.tryswiftconf.com/en) +* [Swift Newsletter](http://swiftnews.curated.co/) + +社交:[Github](https://github.com/NatashaTheRobot) | [Twitter](https://twitter.com/NatashaTheRobot) | [Website](http://natashatherobot.com) + +## Sam Soffes +![](https://avatars1.githubusercontent.com/u/52870?v=3&s=200) + +简介:玩乐于工作、兴趣之中的开发者 [CV](https://www.linkedin.com/in/soffes) + +代表作品: +* 简单、实用的限制执行次数类库 [RateLimit](https://github.com/soffes/RateLimit) +* iOS/OS X 平台统一开发类库 [X](https://github.com/soffes/X) +* 倒计时屏保 [Countdown](https://github.com/soffes/Countdown) 和精确显示年龄屏保 [Motivation](https://github.com/soffes/Motivation) +* 开发过的应用详见 [soff.es](https://soff.es) +* 在 spec.fm 上,与人合作主持一档有关于设计和开发的广播 [Immutable](http://spec.fm/podcasts/immutable) + +社交:[Github](https://github.com/soffes) | [Twitter](https://twitter.com/soffes) | [dribbble](https://dribbble.com/soffes/) | [Website](https://soff.es) + +## Matt Diephouse +![](https://avatars0.githubusercontent.com/u/1302?s=200&v=4) + +简介:充满激情创造伟大软件的开发者 [CV](https://www.linkedin.com/in/mattdiephouse/) + +代表作品: +* 基于投影数据库的持久化类库 [PersistDB](https://github.com/PersistX/PersistDB) +* 针对(成功/失败)类型建模类库 [Result](https://github.com/antitypical/Result) +* Carthage, ReactiveSwift 等著名开源项目积极维护者 + +社交:[Github](https://github.com/mdiep) | [Twitter](https://twitter.com/mdiep) | [Website](http://matt.diephouse.com) + +## Sindre Sorhus +![](https://avatars2.githubusercontent.com/u/170270?s=200&v=4) + +简介:全职的开源代码工作者 + +代表作品: +* 功能足够的,视频转高质量 GIF 开源应用 [gifski-app](https://github.com/sindresorhus/gifski-app) +* 实验性:[touch-bar-simulator](https://github.com/sindresorhus/touch-bar-simulator), [DockProgress](https://github.com/sindresorhus/DockProgress), [LaunchAtLogin](https://github.com/sindresorhus/LaunchAtLogin), [dark-mode](https://github.com/sindresorhus/dark-mode) +* 其它:[awesome](https://github.com/sindresorhus/awesome) + [awesome-nodejs](https://github.com/sindresorhus/awesome-nodejs) = 100k+ stars, [query-string](https://github.com/sindresorhus/query-string), [refined-github](https://github.com/sindresorhus/refined-github) + +社交:[Github](https://github.com/sindresorhus) | [Twitter](https://twitter.com/sindresorhus) | [Website](https://sindresorhus.com/) diff --git a/2019/SwiftDevelopers.png b/2019/SwiftDevelopers.png new file mode 100644 index 00000000..0d282c42 Binary files /dev/null and b/2019/SwiftDevelopers.png differ diff --git a/2019/SwiftDevelopmentTeam.md b/2019/SwiftDevelopmentTeam.md new file mode 100644 index 00000000..773028dd --- /dev/null +++ b/2019/SwiftDevelopmentTeam.md @@ -0,0 +1,192 @@ +# Swift 开源项目团队介绍 +![](SwiftDevelopmentTeam.png?raw=true) +## 目录 +* Swift 开源项目团队 + * [专注于服务端 Kitura 及相关技术的项目团队 IBM-Swift](#IBM-Swift) + * [最流行的管依赖管理项目团队 Carthage](#Carthage) + * [使用最广泛活跃的 Cocoa 风格反应式编程项目团队 ReactiveCocoa](#ReactiveCocoa) + * [专注于 Swift 高性能服务端框架项目 Perfect 项目团队 PerfectlySoft](#perfectlysoft) + * [开发已超过 500 个本地库扩展的生产力工具库项目团队 SwifterSwift](#SwifterSwift) + * [最流行的 Swift 网络库开发团队 Alamofire](#Alamofire) + * [最专注的 GitHub 第三方应用开发团队 GitHawkApp](#GitHawkApp) + * [最专业的音乐开发框架项目团队 AudioKit](#AudioKit) + * [专注于纯 Swift 语言 Web 服务器开发团队 vapor](#vapor) + * [专注于应用数据流及状态管理项目团队 ReSwift](#ReSwift) + * [专注于网络抽象层框架开发团队 Moya](#Moya) + * [交互设计及移动开发梦之队 Ramotion](#ramotion) + * [专注于移动开发服务、乐活开源界的团队 Yalantis](#yalantis) + * [把想法变成业务的全能团队 Hyper](#hyper) + * [提供专业移动设计和开发之余有开源建树的团队 SwiftKickMobile](SwiftKickMobile) + * [专注于探索函数化编程的视频系列团队 pointfreeco](#pointfreeco) +* 已涉足 Swift 开源项目的团队和组织 + * [apple](#apple) + * [使用最广泛活跃的反应式编程项目团队 ReactiveX](#ReactiveX) + * [开源机器学习框架开发项目团队 TensorFlow](#TensorFlow) + * [多年致力于开源技术及方案的推动和组织者 FOSSASIA](#FOSSASIA) + * [amazon](#amazon) + * [facebook](#facebook) + * [twitter](#twitter) + * [Instagram](#Instagram) + * [realm](#realm) + * [alibaba](#alibaba) + * [airbnb](#airbnb) + * [eBay](#eBay) + * [mozilla mobile](#mozilla-mobile) + * [wordpress mobile ](#wordpress-mobile) + * [socketio](#socketio) + * [materialmotion](#materialmotion) + * [kickstarter](#kickstarter) + * [Thoughtbot](#thoughtbot) + * [xmartlabs](xmartlabs) + * [Big Nerd Ranch](#big-nerd-ranch) + * [知名开发培训博客 raywenderlich](#raywenderlich) + * [知名开发技术博客 NSHipster](#NSHipster) + +------------ +整理中…… + +## Carthage +![](https://avatars2.githubusercontent.com/u/9146792?s=200&v=4) + +简介:最流行的管依赖管理项目团队 + +代表作品: +* 简单,去中心化库 Cocoa 依赖管理框架 [Carthage](https://github.com/Carthage/Carthage) ➟ [入门指南](https://www.raywenderlich.com/416-carthage-tutorial-getting-started) + +社交:[Github](https://github.com/Carthage) | Twitter + +## ReactiveX + +![](https://avatars3.githubusercontent.com/u/6407041?s=200&v=4) + +简介:使用最广泛活跃的反应式编程项目团队 + +代表作品: +* 简单、高效,最活泼的 Swift 函数反应式编程框架 [ReSwift](https://github.com/ReactiveX/RxSwift) +* Java 反应式编程扩展库 [RxJava](https://github.com/ReactiveX/RxJava) ➟ [入门指南](https://github.com/ReactiveX/RxJava/wiki/Getting-Started) +* JavaScript 反应式编程扩展库 [RxJS](https://github.com/ReactiveX/rxjs) ➟ [开始吧](https://rxjs-dev.firebaseapp.com) + +社交:[GitHub](https://github.com/ReactiveX) | [Twitter](https://twitter.com/ReactiveX) | [Website](http://reactivex.io) + +## ReactiveCocoa +![](https://avatars0.githubusercontent.com/u/3422977?s=200&v=4) + +简介:使用最广泛活跃的 Cocoa 风格反应式编程项目团队 + +代表作品: +* 函数反应式编程库 [ReactiveSwift](https://github.com/ReactiveCocoa/ReactiveSwift) ➟ [入门指南](http://reactivecocoa.io/reactiveswift/docs/latest/) +* Cocoa 风格函数反应式编程库 [ReactiveCocoa](https://github.com/ReactiveCocoa/ReactiveCocoa)(基于 ReactiveSwift)➟ [入门指南](https://www.raywenderlich.com/2493-reactivecocoa-tutorial-the-definitive-introduction-part-1-2) + +[GitHub](https://github.com/ReactiveCocoa) | [Twitter](https://twitter.com/reactivecocoa) | [Website](http://reactivecocoa.io) + +## PerfectlySoft +![](https://avatars0.githubusercontent.com/u/14945043?s=200&v=4) + +简介:专注于 Swift 高性能服务端框架项目 Perfect 项目团队 PerfectlySoft + +代表作品: +* 功能更强大,性能更好的 Web 服务器框架 [Perfect](https://github.com/PerfectlySoft/Perfect) ➟ [入门指南](https://www.perfect.org/docs/gettingStarted.html) + +社交:[GitHub](https://github.com/PerfectlySoft) | [Twitter](https://twitter.com/perfectlysoft) | [Website](http://perfect.org/) + +## FOSSASIA +![](https://avatars3.githubusercontent.com/u/6295529?s=200&v=4) + +简介:多年致力于开源技术及方案的推动和组织者 + +代表项目: + +* 开放活动和峰会组织服务端 [open-event-server](https://github.com/fossasia/open-event-server) +* 开放活动和峰会 [iOS](https://github.com/fossasia/open-event-ios) 和 [Android]() 客户端 +* 开放活动和峰会组织方 [iOS](https://github.com/fossasia/open-event-orga-iOS) 和 [Android](https://github.com/fossasia/open-event-orga-app) 客户端 +* AI 个人助理服务端 [susi_server](https://github.com/fossasia/susi_server) +* AI 对话式个人助理 [iOS](https://github.com/fossasia/susi_android) 和 [andriod](https://github.com/fossasia/susi_android) 客户端 +* 开源技术峰会 [OpenTechSummit](https://events.fossasia.org) + + +社交:[GitHub](https://github.com/fossasia) | [Twitter](https://twitter.com/fossasia) | [Website](https://fossasia.org/) + +## Ramotion +![](https://avatars0.githubusercontent.com/u/6028820?v=3&s=200) + +简介:交互设计及移动开发梦之队 + +代表作品: +* 为 [App Annie](http://ramotion.com/work/appannie) 提供移动应用设计和开发; +* 展开、查看列表项最浑然天成的 Peek/Pop 用法及演示 [expanding-collection](https://github.com/Ramotion/expanding-collection) +* 灵动的动画标签栏组件 [animated-tab-bar](https://github.com/Ramotion/animated-tab-bar) +* 自然流畅、清新的单元格折叠组件及演示 [folding-cell](https://github.com/Ramotion/folding-cell) +* Switch 组件开/关切换时,平滑过渡到父视图的变换效果组件及演示 [paper-switch](https://github.com/Ramotion/paper-switch) +* 圆形缩放菜单组件及演示 [circle-menu](https://github.com/Ramotion/circle-menu) +* 自然且毫无违合感快捷输入并选择组件及演示 [reel-search](https://github.com/Ramotion/reel-search) + +社交:[Github](https://github.com/Ramotion) | [Twitter](https://twitter.com/ramotion) | [dribbble](https://dribbble.com/ramotion) | [Website](http://ramotion.com/) | [facebook](https://www.facebook.com/ramotion) + +## Yalantis +![](https://avatars0.githubusercontent.com/u/752338?v=3&s=200) + +简介:专注于移动开发服务、乐活开源界的团队 + +代表作品: +* 基于卡片的 Tinder-Like 动画效果组件及示例 [Koloda](https://github.com/Yalantis/Koloda) +* 瞬间崩塌为小方块动画效果演示 [StarWars.iOS](https://github.com/Yalantis/StarWars.iOS) +* 极具创意及突破精神的菜单组件及示例 [GuillotineMenu](https://github.com/Yalantis/GuillotineMenu), [Side-Menu](https://github.com/Yalantis/Side-Menu.iOS), [Persei](https://github.com/Yalantis/Persei) +* 不同布局(平铺和列表)间平滑切换组件及示例 [DisplaySwitcher](https://github.com/Yalantis/DisplaySwitcher) +* 刷新动画可定制的下拉数据请求更新组件 [PullToRefresh](https://github.com/Yalantis/PullToRefresh) + + +社交:[Github](https://github.com/Yalantis) | [Twitter](https://twitter.com/yalantis) | [dribbble](https://dribbble.com/yalantis) | [Website](https://yalantis.com/) | [facebook](https://www.facebook.com/Yalantis) + +## Hyper +![](https://avatars2.githubusercontent.com/u/1340892?v=3&s=200) + +简介:把想法变成业务的全能团队 + +代表作品: +* 使用简单、功能实用的消息及应用通知组件 [Whisper](https://github.com/hyperoslo/Whisper) +* 方便你制作定制的动画式教程 [Presentation](https://github.com/hyperoslo/Presentation) +* 将 view models 存储于云端的 view controller 框架库 [Spots](https://github.com/hyperoslo/Spots) +* 多类型数据混合缓存库 [Cache](https://github.com/hyperoslo/Cache) +* 常规功能集于一身的定义、使用颜色库 [Hue](https://github.com/hyperoslo/Hue) +* Promise 基础的网络请求库 [Malibu](https://github.com/hyperoslo/Malibu) +* 使用极为简单图片选取库 [ImagePicker](https://github.com/hyperoslo/ImagePicker) + +社交:[Github](https://github.com/hyperoslo) | [Twitter](https://twitter.com/hyperoslo) | [dribbble](http://dribbble.com/hyperoslo) | [Website](http://www.hyper.no/) | [facebook](https://www.facebook.com/hyper.oslo) + +## PerfectlySoft +![](https://avatars2.githubusercontent.com/u/14945043?v=3&s=200) + +简介:致力于打开全栈通道的中间件团队 [访谈](http://www.businessinsider.com/apple-swift-perfectlysoft-perfect-server-side2016-5) + +代表作品: +* 专业应用服务器及服务端框架库 [Perfect](https://github.com/PerfectlySoft/Perfect) + +社交:[Github](https://github.com/PerfectlySoft) | [Twitter](https://twitter.com/perfectlysoft) | [Website](http://perfect.org/) | [facebook](https://www.facebook.com/Perfectly-Soft-Inc-1050875001629981) + +## Thoughtbot +![](https://avatars1.githubusercontent.com/u/6183?v=3&s=200) + +简介:练就软件技术精英的全栈团队 + +代表作品: +* 函数式 JSON 解析库 [Argo](http://github.com/thoughtbot/argo) +* 基于 cmark 轻量级 Markdown 预览 [Markoff](https://github.com/thoughtbot/Markoff) +* 前端组件 [Bourbon](http://bourbon.io/), [neat](http://neat.bourbon.io/), [bitters](http://bitters.bourbon.io/) +* 采用 shell 脚本让你的 Macbook 成为一台开发用机 [Laptop](http://github.com/thoughtbot/laptop) +* 服务于 ActiveRecord 文件的附件管理库 [Paperclip](http://github.com/thoughtbot/paperclip) +* 除了提供优质软件开发、咨询服务外,独立产品有 [Hound](https://houndci.com/), [formkeep](https://formkeep.com/), [Kromatic](http://kromatic.thoughtbot.com/), [sassquatch](http://sassquatch.thoughtbot.com/); + +社交:[Github](https://github.com/thoughtbot) | [Twitter](https://twitter.com/thoughtbot) | [dribbble](https://dribbble.com/thoughtbot) | [Website](https://thoughtbot.com/) | [Blog](http://robots.thoughtbot.com/) + +## Big Nerd Ranch +![](https://avatars2.githubusercontent.com/u/230455?v=3&s=200) + +简介:致力于授业解惑的开发团队 + +代表作品: +* 面向协议的可重用 JSON 解析库 [Freddy](https://github.com/bignerdranch/Freddy); +* 小巧实用的 Core Data 存储栈框架库 [CoreDataStack](https://github.com/bignerdranch/CoreDataStack) +* 出版了 [Swift Programming](https://www.bignerdranch.com/we-write/swift-programming/), [iOS Programming](https://www.bignerdranch.com/we-write/ios-programming/), [Objective-C Programming](https://www.bignerdranch.com/we-write/objective-c-programming/), [Android Programming](https://www.bignerdranch.com/we-write/android-programming/) 等; +* [提供专业的沉浸式培训服务](https://www.bignerdranch.com/we-teach/)。 + +社交:[Github](http://www.github.com/bignerdranch) | [Twitter](http://twitter.com/bignerdranch) | [dribbble](https://dribbble.com/bignerdranch) | [Website](https://www.bignerdranch.com) | [facebook](http://www.facebook.com/bignerdranch) diff --git a/2019/SwiftDevelopmentTeam.png b/2019/SwiftDevelopmentTeam.png new file mode 100644 index 00000000..ee5fb26e Binary files /dev/null and b/2019/SwiftDevelopmentTeam.png differ diff --git a/2019/recentlyarchive/RecentlyIncludedSwiftProjects-0201.md b/2019/recentlyarchive/RecentlyIncludedSwiftProjects-0201.md new file mode 100644 index 00000000..e37354e6 --- /dev/null +++ b/2019/recentlyarchive/RecentlyIncludedSwiftProjects-0201.md @@ -0,0 +1,184 @@ +# Recently Included Swift Projects + +![](RecentlyIncludedSwiftProjects.png) + +## *Shared & Featured* + +- <*Tool to debug layouts*>
isavynskyi/LayoutInspector
➟ iOS + + 3D 视角 iOS 应用布局视图检查器。 + +- <*A simple routing library*>
hubrioAU/XRouter
➟ iOS + + 一款使用简单,结构清晰同时支持 URL 的应用路由库。 + +- <*Editor Kit*>
GeekTree0101/VEditorKit
➟ iOS + + 功能强大、完成度非常高的 iOS 编辑器组件。 + +- <*cross-platform and chainable file-pathing*>
mxcl/Path.swift
➟ iOS | macOS | watchOS | Linux + + 功能完整的文件系统针对目录级路径的 CRUD(增删改查)。 + +- <*customizable Markdown Parser*>
moliveira/MarkdownKit
➟ iOS | macOS + + 一款简单地可定制化 Markdown 解析预览类库。 + +- <*network debugging tool*>
yagiz/Bagel
➟ iOS | macOS + + iOS 网络通讯本地调试神器(用 Bounjour 协议,不需要繁琐的连接证书之类的)。 + +- <*third-party dependencies*>
mxcl/swift-sh
➟ macOS | Linux + + 最简单、实用的依赖库导入脚本。这太方便了 + +- <*floating panel*>
IdeasOnCanvas/Aiolos
➟ iOS + + MindNode  iOS 项目中使用的浮动面板。 + +- <*liquid swipe animation* >
Cuberto/liquid-swipe
➟ iOS + + 液滑动画效果升级版。 + +- <*pure swift PNG decoder and encoder* >
kelvin13/png
➟ macOS | Linux + + 纯 Swift 代码解析 PNG 格式,返回图像原始像素数据和尺寸。 + +- <*Mac style Menu*>
TwoLivesLeft/Menu
➟ iOS + + 著名 iPad 编程应用 Codea(Lua 语言) 开源传统菜单如何存在于小屏幕设计思路及解决方案。 + +- <*@dynamicMemberLookup feature*>
saoudrizwan/DynamicJSON
➟ iOS | macOS | watchOS + + 采用 Swift 4.2 新特性 (@dynamicMemberLookup) 实现轻便访问 JSON 数据。 + +- <*iOS SDK for AWS AppSync*>
awslabs/aws-mobile-appsync-sdk-ios
➟ iOS + + 来自 Amazon Web Services 实验室的 AWS AppSync iOS SDK。 + +- <*HTTP/2 support for SwiftNIO*>
apple/swift-nio-http2
➟ iOS | macOS | watchOS | Linux + + 苹果发布 SwiftNIO 针对 HTTP/2 的开源支持库。 + +- <*Instagram filters implemented in Metal*>
alexiscn/MetalFilters
➟ iOS + + 基于 Metal 框架实现的 Instagram 风格图片滤镜库。 + +- <*wrapper for Apple’s Reachability*>
rwbutler/Connectivity
➟ iOS + + 基于 Reachability 的封装类库,检查 当前 Wi-Fi 互联网连接性及即时状态。 + +- <*UIKit extensions*>
haoking/SwiftyUI
➟ iOS + + 轻量、高性能的 UI 渲染及扩展类库。 + +- <*AR paths*>
maxxfrazer/ARKit-SCNPath
➟ iOS + + 方便地绘制一条 AR 场景导航路径。 + +- <*grids and lists layout*>
airbnb/MagazineLayout
➟ iOS + + 出自 Airbnb 栅格级 CollectionView 布局库。 + +- <*code formatter*>
inamiy/SwiftRewriter
➟ CLI environment + + 基于 SwiftSyntax 针对代码进行自动格式化(其中包括基于代码规范进行简单的代码优化)。 + +- <*WKWebView*>
LinusU/Marionette
➟ iOS | macOS + + 通过一套更高级的 API 控制 WKWebView。对标 Google Chrome 的 Puppeteer 库。 + +- <*utilities*>
hollance/CoreMLHelpers
➟ iOS + + 一些输入/输出类型转换和扩展,以便于更容易地去使用 CoreML 。 + +- <*Swift on ARM devices*>
uraimo/buildSwiftOnARM
➟ Shell + + 持续提供使 Swift 运行于 ARM 上的编译版本(已经更新到 Swift 4.1.3 ),它几乎支持所有的(运行于 Ubuntu 16.04 和 Raspbain)树莓派版本。 + +## *Shared Only* + +- **
tailec/ios-architecture
➟ iOS + + iOS 程序开发框架项目实践。 + +- <*DSL for UIKit*>
mecid/UIKitSwiftDSL
➟ iOS + + Swift DSL for UIKit + +- <*Automated mutation testing*>
SeanROlszewski/muter
➟ iOS | macOS | watchOS | Linux + + 变异测试(mutation testing)库的探索与实践。 + +- <*modal/alert*>
loryhuz/CleanyModal
➟ iOS + + 一套清洁带交互的模式/弹窗组件。 + +- <*Messenger*>
instamobile/messenger-iOS-chat-swift-firestore
➟ iOS + + 基于组件 MessageKit 及实时通讯云 Firestore 的即时通讯实现(功能参考 Facebook Messenger)。 + +- **
gabrieloc/roundrect
➟ iOS + + 代码方式渲染 UIButton 显示风格及样式。 + +- **
x0054/MKS
➟ macOS + + 机械键盘按键声效模拟器,MBP 使用时很舒爽的感觉。机械键盘控们可以试试。 + +- **
grzeszczak/ReMVVM
➟ iOS + + ReMVVM is an application architecture concept, marriage of Unidirectional Data Flow (Redux) with MVVM. + +- *
rsrbk/LayoutLoopHunter*
➟ iOS + + 追踪潜在的自动布局反馈循环引起的 OOM(Out of Memory)应用崩溃。 + +- <*iOS Project Template*>
pgorzelany/iOS-project-template
➟ iOS + + 快速少弯路的 iOS 项目开发最佳实践模板。 + +- <*dependency injection framework*>
uber/needle
➟ iOS | macOS | watchOS + + Uber 开源的类似 Dagger(Java)的依赖注入框架。 + +- <*child view controller framework*>
zenangst/Family
➟ iOS | macOS + + 子视图控制器框架。使你的应用代码更加模块化,灵活性和可测试性,并且在构建复杂布局时也不失其可维护性。 + +- <*3D geometry*>
nicklockwood/Euclid
➟ iOS | macOS | watchOS | Linux + + 创建和操控 3D 几何图形类库。 + +- <*localization*>
igorkulman/iOSLocalizationEditor
➟ iOS + + 一款生产力编辑器,通过简单直观、统一的界面编辑 Localizable.strings 文件。 + +- <*API document in Markdown*>
eneko/SourceDocs
➟ CLI environment + + 命令行工具产生 Markdown 格式源码 API 文档。 + +- <*GitHub client*>
khoren93/SwiftHub
➟ iOS + + 一款功能在线的 GitHub 客户端(程序框架采用 RxSwift + MVVM)。 + +- <*Playground generator*>
JohnSundell/Shapeshift
➟ CLI environment + + 一款 Playground 效率工具。快速地转换当前目录及子目录内所有 Swift 文件到(兼容 iPad 运行的) Playground 项目。 + +- <*UI styles using Swifty Method Chain*>
shindyu/ApplyStyleKit
➟ iOS + + 常用 UI 组件样式的链式操作(实现逻辑简单、轻量)。 + +- <*write Shortcuts in Playground*>
a2/shortcuts-swift
➟ iOS + + 用 Swift 在 Playgrounds 中写捷径。 + +- <*feature switch*>
rwbutler/FeatureFlags
➟ iOS + + 特性切换配置(本地或远程)框架库(测试方案支持 A/B 及 MVT)。 + +- <*collection scrolling*>
Cuberto/smooth-scroll
➟ iOS + + 顺滑滚动过程中标题和内容卡式切换。 + diff --git a/2019/recentlyarchive/RecentlyIncludedSwiftProjects-0201.png b/2019/recentlyarchive/RecentlyIncludedSwiftProjects-0201.png new file mode 100644 index 00000000..1c17ee6e Binary files /dev/null and b/2019/recentlyarchive/RecentlyIncludedSwiftProjects-0201.png differ diff --git a/2019/recentlyarchive/RecentlyIncludedSwiftProjects-0201.zip b/2019/recentlyarchive/RecentlyIncludedSwiftProjects-0201.zip new file mode 100644 index 00000000..ab7cec87 Binary files /dev/null and b/2019/recentlyarchive/RecentlyIncludedSwiftProjects-0201.zip differ diff --git a/2019/recentlyarchive/RecentlyIncludedSwiftProjects-0325.md b/2019/recentlyarchive/RecentlyIncludedSwiftProjects-0325.md new file mode 100644 index 00000000..05cac1a5 --- /dev/null +++ b/2019/recentlyarchive/RecentlyIncludedSwiftProjects-0325.md @@ -0,0 +1,124 @@ +# Recently Included Swift Projects + +![](RecentlyIncludedSwiftProjects.png) + +## *Shared & Featured* + +- <*openCV portrait mode*>
koooootake/Portrait-without-Depth-ios
➟ iOS + + 实现单摄人像模式。 + +- <*JavasScript engine*>
googleprojectzero/fuzzilli
➟ macOS | Linux + + Javascript 解释器引擎,技术融合的一大进步。 + +- <*randomness*>
pointfreeco/swift-gen
➟ iOS | macOS | Linux + + 基于强大的 Swift 随机数 API,包装易于扩展可定制的多类型随机数生成器。 + +- <*vector animations*>
airbnb/lottie-ios
➟ iOS | macOS + + Airbnb 矢量级动画渲染库全面迁移至 Swift 版本。其势不可挡。 + +- <*logger*>
apple/swift-log
➟ macOS | Linux + + 这个 Apple 官方也出,与民争利了。 + +- <*modal*>
slackhq/PanModal
➟ iOS + + 这款可定制性底部上滑式模态窗口组件开发和用户体验都不错啊。 + +- <*modularization*>
mxcl/Cake
➟ macOS + + 基于组件 MessageKit 及实时通讯云 Firestore 的即时通讯实现(功能参考 Facebook Messenger)。 + +- <*animations*>
sagaya/Wobbly
➟ iOS + + 对界面组件元素实现各种摇晃抖闪的动画效果。 + +- <*window manager*>
ianyh/Amethyst
➟ macOS + + 自动排列及快捷操作切换、管理窗口。 + +- *<3D graphics>*
endavid/VidEngine
➟ iOS + + 用 Metal (GPU) 技术封装实现的 3D渲染引擎。 + +- *
Cuberto/rubber-range-picker*
➟ iOS + + 很带人情味的数字区间选择。 + +- <*progress view*>
mac-gallagher/MultiProgressView
➟ iOS + + 多区间进程条展示效果组件及示例。 + +- <*component-based UI*>
ra1028/Carbon
➟ iOS + + 在 UITableView 和 UICollectionView 中构建基于组件声明式界面库。提供 API 文档及丰富示例。 + +- <*Binary Codable*>
jverkoey/BinaryCodable
➟ iOS | macOS | Linux + + Codable 风格实现 Binary 数据的 Decode/Encode。 + +- <*Regular Expression*>
Flight-School/RegularExpressionDecoder
➟ iOS | macOS + + 针对结构化数据的正则表达式解析库。 + +- <*tensorflow apis*>
tensorflow/swift-apis
➟ macOS + + 应用于 Swift 的 TensorFlow 深度学习库。 + +## *Shared Only* + +- <*2d vector*>
2d-inc/Flare-Swift
➟ macOS + + Flare 创建的 2D 矢量动画 Swift 播放环境。 + +- <*Watch Face*>
kuglee/TermiWatch
➟ watchOS + + Terminal 都能上 Apple Watch 了,想像力无处不在。 + +- **
zagahr/Conferences.digital
➟ macOS + + 该应用模型可以方便你在 Mac 上观看开发论坛高清视频。 + +- **
AndrewBennet/ReadingList
➟ iOS + + 阅读进程列表组件。 + +- <*Swift Algorithms*>
thexande/SwiftAlgorithms
➟ iOS + + 把 raywenderlich/swift-algorithm-club Markdown 资源应用化了,查阅实在太便利了。 + +- <*crop image and transformation*>
*d-dotsenko/DDPerspectiveTransform*
➟ iOS + + 交互式截图并转换。 + +- <*bottom controller*>
IvanVorobei/SPLarkController
➟ iOS + + 效果不错的适用于应用设置模态控制器。 + +- <*dependency manager*>
mxcl/AppUpdater
➟ CLI environment + + GitHub 开源应用自动更新器(macOS)。 + +- <*tab bar*>
Cuberto/bubble-icon-tabbar
➟ iOS + + Tab 图标展开式显示栏。 + +- <*development tool*>
peripheryapp/periphery
➟ macOS + + 排查消除项目内非使用过的代码碎片 + +- <*javascript*>
pomber/git-history
➟ Browser + + 直观动态地展示 GitHub 文件历史。创意和效果一级棒,服! + +- <*Segment Slide*>
Jiar/SegementSlide
➟ iOS + + 功能完整的滑滚及切换组件。 + +- <*notification*>
jogendra/BedgeNotificHub
➟ iOS + + 快速加上通知徽章及数字提醒到 UIView,支持丰富的徽章小动效。 + diff --git a/2019/recentlyarchive/RecentlyIncludedSwiftProjects-0325.png b/2019/recentlyarchive/RecentlyIncludedSwiftProjects-0325.png new file mode 100644 index 00000000..2b3bd243 Binary files /dev/null and b/2019/recentlyarchive/RecentlyIncludedSwiftProjects-0325.png differ diff --git a/2019/recentlyarchive/RecentlyIncludedSwiftProjects-0325.zip b/2019/recentlyarchive/RecentlyIncludedSwiftProjects-0325.zip new file mode 100644 index 00000000..fbecea0d Binary files /dev/null and b/2019/recentlyarchive/RecentlyIncludedSwiftProjects-0325.zip differ diff --git a/2021/MarkdownProgramminginSwift.png b/2021/MarkdownProgramminginSwift.png new file mode 100644 index 00000000..c12dec18 Binary files /dev/null and b/2021/MarkdownProgramminginSwift.png differ diff --git a/Apple Watch/README.md b/Apple Watch/README.md index 69fd86c6..4c5e9b07 100644 --- a/Apple Watch/README.md +++ b/Apple Watch/README.md @@ -16,8 +16,8 @@ ### 1. 文档 * [WatchKit Programming Guide](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/WatchKitProgrammingGuide/index.html)([中译在线版](http://www.cocoachina.com/ios/20141217/10660.html) By [@CocoaChina](http://weibo.com/cocoachina)) - 译文 | 译者 | 原文 ------------- | ------------- | ------------- +译文 | 译者 | 原文 +--- | --- | --- [概览 - 开始为 Apple Watch 进行开发](http://www.cocoachina.com/ios/20141121/10282.html)|[@星夜暮晨](http://weibo.com/moonisky)|[Overview - Developing for Apple Watch](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/WatchKitProgrammingGuide/index.html#//apple_ref/doc/uid/TP40014969-CH8-SW1) [概览 - 配置 Xcode 项目](http://www.cocoachina.com/ios/20141121/10284.html)|-|[Overview - Configuring Your Xcode Project](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/WatchKitProgrammingGuide/ConfiguringYourXcodeProject.html#//apple_ref/doc/uid/TP40014969-CH2-SW1) [概览 - Watch 应用的体系结构](http://www.cocoachina.com/ios/20141121/10286.html)|-|[Overview - Watch App Architecture](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/WatchKitProgrammingGuide/DesigningaWatchKitApp.html#//apple_ref/doc/uid/TP40014969-CH3-SW1) @@ -37,8 +37,8 @@ * [中译PDF版](http://vdisk.weibo.com/s/yWUvUXSZiJFiv) By [@微博UDC-M](http://weibo.com/uiteam) * [中译在线版](http://www.cocoachina.com/design/20141125/10314.html) By [@CocoaChina](http://weibo.com/cocoachina) - 译文 | 译者 | 原文 ------------- | ------------- | ------------- +译文 | 译者 | 原文 +--- | --- | --- [UI 设计基础 - 为 Apple Watch 而设计](http://www.cocoachina.com/design/20141119/10256.html)|[@CocoaChina](http://weibo.com/cocoachina)|[UI Design Basics - Designing for Apple Watch](https://developer.apple.com/library/prerelease/ios/documentation/UserExperience/Conceptual/WatchHumanInterfaceGuidelines/index.html#//apple_ref/doc/uid/TP40014992-CH3-SW1) [UI 设计基础 - App 剖析](http://www.cocoachina.com/design/20141119/10257.html)|-|[UI Design Basics - App Anatomy](https://developer.apple.com/library/prerelease/ios/documentation/UserExperience/Conceptual/WatchHumanInterfaceGuidelines/WatchOSAppAnatomy.html#//apple_ref/doc/uid/TP40014992-CH4-SW1) [UI 设计基础 - Glances](http://www.cocoachina.com/design/20141119/10258.html)|-|[UI Design Basics - Glances](https://developer.apple.com/library/prerelease/ios/documentation/UserExperience/Conceptual/WatchHumanInterfaceGuidelines/Glances.html#//apple_ref/doc/uid/TP40014992-CH21-SW1) @@ -53,8 +53,8 @@ * 中译在线版 By [@优秀网页设计](http://weibo.com/uidesign) - 译文 | 译者 | 原文 ------------- | ------------- | ------------- +译文 | 译者 | 原文 +--- | --- | --- [UI 设计基础 - Part 1](http://www.uisdc.com/apple-watch-ui-guideline-1), [Part 2](http://www.uisdc.com/apple-watch-ui-guideline-2)|[@陈子木](http://weibo.com/chenzimu7)|[UI Design Basics](https://developer.apple.com/library/prerelease/ios/documentation/UserExperience/Conceptual/WatchHumanInterfaceGuidelines/index.html) [UI 元素设计](http://www.uisdc.com/apple-watch-ui-elements)|[@阿布](http://weibo.com/325808000)|[UI Elements](https://developer.apple.com/library/prerelease/ios/documentation/UserExperience/Conceptual/WatchHumanInterfaceGuidelines/Labels.html#//apple_ref/doc/uid/TP40014992-CH31-SW1) [图标与图片设计](http://www.uisdc.com/apple-watch-icon-and-image)|[@阿布](http://weibo.com/325808000)|[Icon and Image Design](https://developer.apple.com/library/prerelease/ios/documentation/UserExperience/Conceptual/WatchHumanInterfaceGuidelines/IconandImageSizes.html#//apple_ref/doc/uid/TP40014992-CH16-SW1) diff --git a/Featured-Articles.md b/Featured-Articles.md index 0b102134..c323c031 100755 --- a/Featured-Articles.md +++ b/Featured-Articles.md @@ -1,10 +1,15 @@ ## Swift 文章精选 ->站在个人的角度,并基于《[Swift 语言指南](https://github.com/ipader/SwiftGuide)》,针对收录过的文章做了一个甄别、筛选。目的是摒弃杂音,更利于提高学习效率。 +基于《[Swift 语言指南](https://github.com/ipader/SwiftGuide)》收录过的文章,做了一个甄别和筛选。目的是摒弃杂音,更利于提高学习效率。 -[@SwiftLanguage](http://weibo.com/swiftlanguage) 更新至 2016-1-20,最近新收录 [RxSwift 函数响应式编程](https://realm.io/cn/news/slug-max-alexander-functional-reactive-rxswift/),[短文:自定义 UITextView 关键字高亮与点击检测](https://github.com/nixzhu/dev-blog/blob/master/2016-01-14-mention-in-textview.md),[iOS证书申请、开发、打包、排查等系列教学](http://superdanny.link/2015/09/24/iOS-about-certification-guide/), [Top 100 Best Blogs for iOS Developers to Learn and Gain Insights](http://www.softwarehow.com/best-blogs-for-ios-developers/),[Typed, yet Flexible Table View Controller](http://holko.pl/2016/01/05/typed-table-view-controller/),[内存恶鬼 drawRect](http://bihongbo.com/2016/01/03/memoryGhostdrawRect/),[如何正确地写好一个界面](http://oncenote.com/2015/12/08/How-to-build-UI/),[如何使用 iOS 9 应用瘦身功能](http://swift.gg/2016/01/07/app-thinning-appcoda/),[iOS 9 人机界面指南](http://isux.tencent.com/?s=iOS+9人机界面指南) 等 9 份,合计已收录 155 份。 +> [@SwiftLanguage](http://weibo.com/swiftlanguage) 更新至 2016-5-17,最近新收录 9 份(详见《[Issue - 53](weekly/Issue-53.md)》),合计已收录 247 份。 ### 教程和指南 -* [斯坦福大学公开课:iOS 8 开发](http://open.163.com/special/opencourse/ios8.html):中文字幕版已经更新至第 6 集。网易公开课与时俱进程度简直是教育界的表率,强烈推荐。来源:[@网易公开课](http://weibo.com/163open),字幕来源:[Stanford 公开课,Developing iOS 8 Apps with Swift 字幕翻译](https://github.com/x140yu/Developing_iOS_8_Apps_With_Swift) +* [Swift 入门指引](http://dev.swiftguide.cn/archive/getting-started-in-swift_v1.0.html):以官方文档为基础结合已有中译版,整了一份简版 Swift 入门指引。作者:[@SwiftLanugage](http://weibo.com/swiftlanguage) +* 斯坦福大学公开课 + * [iOS 8 开发](http://open.163.com/special/opencourse/ios8.html):中文字幕版已经更新至第 6 集。网易公开课与时俱进程度简直是教育界的表率,强烈推荐。来源:[@网易公开课](http://weibo.com/163open),字幕来源:[Stanford 公开课,Developing iOS 8 Apps with Swift 字幕翻译](https://github.com/x140yu/Developing_iOS_8_Apps_With_Swift) + * [iOS 9 开发](https://github.com/X140Yu/Developing-iOS-9-Apps-with-Swift) +* Swift Style Guide:[RayWenderlich 版](https://github.com/raywenderlich/swift-style-guide)([中文版](http://letsswift.com/2014/07/swift-style-guide/)),[GitHub 版](https://github.com/github/swift-style-guide)([中文版](https://github.com/Artwalk/swift-style-guide/blob/master/README_CN.md)) +* [iOS Core Animation: Advanced Techniques 中文译本](https://zsisme.gitbooks.io/ios-/content/) By [钟声](https://github.com/ZsIsMe)。原文:[Core Animation Advanced Techniques](http://www.amazon.com/iOS-Core-Animation-Advanced-Techniques-ebook/dp/B00EHJCORC/ref=sr_1_1?ie=UTF8&qid=1423192842&sr=8-1&keywords=Core+Animation+Advanced+Techniques),译者:[FeiXu](https://github.com/AttackOnDobby), [even](https://github.com/evenluo/) * [包管理器](https://github.com/nixzhu/dev-blog/blob/master/2015-12-04-swift-package-manager.md):“简言之:一个包即一个有着语义版本 tag 的 git 仓库,其中包含 Swift 源代码,以及一个放在根目录的 Package.swift 清单文件”。译者:[@nixzhu](http://weibo.com/nixzhu) * [iOS证书申请、开发、打包、排查等系列教学](http://superdanny.link/2015/09/24/iOS-about-certification-guide/):“本文是基于先人经验进行的总结整理。整理这篇文章的目的是为了让开发者能够更好更快的掌握iOS开发的整个打包流程,同时也方便本人以后查阅,减少不必要的时间。让整个开发流程简单易懂”。作者:[@Danny_吕昌辉](http://weibo.com/lovejameslvforever) * [Writing High-Performance Swift Code (Apple)](https://github.com/apple/swift/blob/master/docs/OptimizationTips.rst) @@ -13,12 +18,17 @@ * [UIStackView](http://www.cnblogs.com/tieria/p/4572882.html):“iOS9 新增的 UIStackView 官方文档翻译”。译者:[@潇湘TT](http://weibo.com/tieria0512) * [Alamofire - 1. 基础教程](http://www.jianshu.com/p/f1208b5e42d9),[2. 进阶教程](http://www.jianshu.com/p/30599f64a09c):该系列教程通过示例项目分步骤详细介绍了 Alamofire 网络库的使用技巧。Alamofire 是 Mattt Thompson 为其著名的 AFNetworking 采用 Swift 重写的网络库。来源:Ray Wenderlich,作者:Essan Parto,译者:[@星夜暮晨](http://weibo.com/u/3227937731) * [RxSwift 函数响应式编程](https://realm.io/cn/news/slug-max-alexander-functional-reactive-rxswift/):“异步操作的代码为什么会成为程序员的梦魇呢?函数响应式编程旨在简化异步操作,让您像操作变量一样来操作闭包。RxSwift 是一个全新的第三方库,让事件驱动应用更容易进行管理,让您不再为此而烦恼。By [RealmChina](http://weibo.com/realmchina)”。来源:Realm +* [Swift 的响应式编程革命](http://mp.weixin.qq.com/s?__biz=MzA3ODg4MDk0Ng==&mid=2651112245&idx=1&sn=6536b90c09651380ec2009eb46ed9281#rd)(来源:[@移动开发前线](http://weibo.com/u/5861126740)) + + 本文以 RxSwift 为例介绍响应式编程:“Rx 的面具下没有魔法,RxSwift 所用到的都是一些既有的东西,它只是建立概念,用聪明的方法将这些东西粘在一起,来创建一个强大的异步计算的抽象概念。” * [如何使用 iOS 9 应用瘦身功能](http://swift.gg/2016/01/07/app-thinning-appcoda/):实用性很强的文章。用户体验从应用下载开始,此文由此细节展开。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide) * [watchOS 2教程(一):开始吧](http://www.jianshu.com/p/b485c8b77f86)、[watchOS 2 教程(二):列表](http://www.jianshu.com/p/ccebc8a8f46d)。译者:[Swift_波](http://www.jianshu.com/users/d9259bf41bc7/latest_articles),译文来源:Ray Wenderlich [watchOS 2 Tutorial Part 1: Getting Started](http://www.raywenderlich.com/117196/watchos-2-tutorial-part-1-getting-started),[watchOS 2 Tutorial Part 2: Tables](http://www.raywenderlich.com/117249/watchos-2-tutorial-part-2-tables) * [3D Touch介绍:电子秤App与快捷操作](http://swift.gg/2015/11/19/3d-touch-tutorial/):“随着 iPhone6s 与 6s plus 的到来,苹果给我们展现了一种全新的交互方式:重按手势。...”。P.S. 搭配之前的《[3D Touch之我见](http://swift.gg/2015/10/23/3d-touch-impressions-and-thoughts/)》疗效更佳。译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide) * [Swift 中枚举高级用法及实践](http://swift.gg/2015/11/20/advanced-practical-enum-examples/):“本文是一篇详细且具有实战意义的教程,涵盖几乎所有枚举(Enum)知识点,为你解答Swift中枚举的应用场合以及使用方法”。译者:[@请叫我_小锅_ @PPPPPPMST](http://weibo.com/u/2085734687) * [Swift Documentation](http://nshipster.com/swift-documentation/):“对于开发者来讲,良好的代码结构及组织是其引以为豪的事。干净、一致的代码习惯,对于编译器并无所谓,但程序字里行间可以代表个人符号、或与同伴的差异”。两位博主的倾情合作,有了这篇美文。来源:NSHipster * [Swift 的响应式编程](https://github.com/bboyfeiyu/iOS-tech-frontier/blob/master/issue-3/Swift%E7%9A%84%E5%93%8D%E5%BA%94%E5%BC%8F%E7%BC%96%E7%A8%8B.md):文章通过在使用 MVC 以及 MVVM 中发现代码繁杂的弊病,引出响应式编程解决方案,并通过解读 [ReactiveCocoa](https://github.com/ReactiveCocoa/ReactiveCocoa),让读者进一步理解响应式编程所带来的好处。原文:[Reactive Swift](https://medium.com/swift-programming/reactive-swift-3b6050375534),译文来源:[@开发技术前线](http://weibo.com/u/5589212242),译者:[@MrSimp1e](http://weibo.com/mrsimp1e) +* [iOS 架构模式 - 简述 MVC, MVP, MVVM 和 VIPER](https://blog.coding.net/blog/ios-architecture-patterns):归纳简洁、清晰又完整,集图文和 Swift 示例代码结合的框架介绍。非常值得阅读的好译文。译文来源:[@Coding](http://weibo.com/clouddevelopment),译者:王哼哼 +* [构建 Swift 框架所面临的挑战](https://realm.io/cn/news/marius-rackwitz-challenges-building-swift-framework/):“在 Realm 在构建 Swift 动态框架的过程中,仍然存在着不少的挑战。在这个 MBLTDev 2015 的演讲中,Marius 总结了团队的相关经验,指出需要避免的陷阱,并且给予相应的提示,以便帮助您找到在快速发展的 Swift 生态系统中进行开发的舒适点。”。来源:Realm * [如何用 Swift 语言构建一个自定控件](http://beyondvincent.com/2014/08/28/2014-08-27-How-To-Make-a-Custom-Control-in-Swift/):本文通过讲解如何编写一款两端都可以滑动(以获取最大值及最小值)的 RangeSlider 自定义控件(功能相当于两个 UISlider),让初学者真正地理解其开发步骤和方法,体验其中乐趣。来源:Ray Wenderlich,译者:[@BeyondVincent](http://weibo.com/beyondvincent) * [为 iPhone 6 设计自适应布局](http://www.devtalking.com/articles/adaptive-layout-for-iphone6-1/)([一](http://www.devtalking.com/articles/adaptive-layout-for-iphone6-1/)、[二](http://www.devtalking.com/articles/adaptive-layout-for-iphone6-2/)) :"当你们学习完这篇文章后,你们应该会比较自如的使用 storyboard、constraints、size classes 这三个 Apple 在 Xcode 里提供的工具,去探索和构建巧妙的自适应布局"。原文:[ADAPTIVE LAYOUTS FOR iPHONE 6](http://mathewsanders.com/designing-adaptive-layouts-for-iphone-6-plus/),译者:[@DevTalking](http://weibo.com/jacefu) * [WKWeb​View](http://nshipster.cn/wkwebkit/):“WKWebView 是现代 WebKit API 在 iOS 8 和 OS X Yosemite 应用中的核心部分。它代替了 UIKit 中的 UIWebView 和 AppKit 中的 WebView,提供了统一的跨双平台 API”。来源:[@NSHipster](http://weibo.com/nshipster),作者:Mattt Thompson,译者:[@刘镇夫](http://weibo.com/croath) @@ -30,8 +40,10 @@ * [多范式编程语言-以 Swift 为例](http://www.infoq.com/cn/articles/multi-paradigm-programming-language-swift):Swift 基本语法的分类总结。浅显易懂,非常适合初学者阅读参考。作者:[郭麟](http://www.infoq.com/cn/author/%E9%83%AD%E9%BA%9F) * [如何在 Swift 中创建 Action 扩展](http://www.devtalking.com/articles/how-to-create-action-extension/):通过一个简单的 Action 扩展教你如何将 Safari 中拷贝的文本读入 Note 应用中。开发步骤很清晰,并提供完整示例项目代码 https://github.com/jorjuela33/NoteApp。虽然它"只是一个简单的Aciton扩展的例子,但我们可以由此延伸出更多有用、有创意的功能"。 译者:[@DevTalking](http://weibo.com/jacefu) * [在 iOS 8 中使用 Handoff](http://www.cocoachina.com/ios/20150115/10926.html):“本文通过一个包含不同功能的联系人示例工程详细讲述了如何进行 Handoff 开发,以及需要注意的地方。By @CocoaChina”。来源:[AppCoda](http://www.appcoda.com/handoff/) ,译者:[@_HuaQiao](http://weibo.com/u/2509273763) +* [Swift 通知推送新手指南](http://swift.gg/2016/03/15/push-notification-ios/):“推送通知已经成为绝大多数应用的标配功能,技术上并不复杂,实现起来却有不少坑。今天这篇长文手把手教你实现通知推送,AppCoda 出品,强烈推荐”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@bestswifter](http://weibo.com/bestswifter) * [Design-Patterns-In-Swift](https://github.com/ochococo/Design-Patterns-In-Swift):列举了常用设计模式,并结合 Swift 程序实现进行讲解。除了回顾设计模式外,它更易于理解 Swift 语言特性,以及了解 Swift 与其它编程语言间的差异。 * [Strings in Swift](http://oleb.net/blog/2014/07/swift-strings/):深入了解使用 String 的更高级技巧(尤其在 Unicode 的使用上)。为了更直观理解示例代码运行状态,作者附上了与本文几乎完全一致的 Playground 项目下载。P.S. 如今 Playground 已经成为讲授 Swift 使用小技巧及语言特性必备。 +* [Swift 2.2 的新特性](http://swift.gg/2016/03/23/swift-22-new-features/):优化的不少细节提升了友好性。译者:[@walkingway](http://weibo.com/walkingway) * [Strings in Swift 2 译文](http://www.devtf.cn/?p=989):“Swift 提供高性能,兼容 Unicode 的 String 作为标准库的一部分,在 Swift 2.0,String 类型不再符合CollectionType协议,曾经String是字符的集合,类似于 Array。现在,String 提供了一个公开字符集视图的charactes属性...”。译文来源:[@开发技术前线](http://weibo.com/u/5589212242) * [从 SDK 详说 Swift 代码的改变](http://www.csdn.net/article/2015-08-17/2825473-swift-er-sdk):“Xcode 7中,几乎所有常见框架都指定了其API的nullability注解,包括其集合类型的元素,这使得Swift代码的样子发生了变化,而通过To Latest Swift Syntax会将实现从Swift 1.2到2.0的代码转换”。译文来源:[@CSDN移动](http://weibo.com/csdnmobile) * [Swift 的函数式 API](http://objccn.io/issue-16-4/):“一篇质量非常高的译文,用很简明的例子从基础开始阐述了 Swift 中函数式 API 的思想。这是一片 Swift 带来的新天地,真心推荐一看。By [@onevcat](http://weibo.com/onevcat) ”。译者:[@请叫我汪二](http://weibo.com/small1030light) @@ -39,11 +51,15 @@ * [理解 iOS 8 中的 Photo Editing Extension](http://www.cocoachina.com/ios/20150122/10978.html):“我们一起来看看怎样制作一个 Photo Editing Extension。由于我们的关注点在创建应用程序扩展而不是写一个完整的应用,我已经创建了一个你们可以下载并且一路跟着做的上手项目...”。来源:AppCoda,译者:[@X140Yu](http://weibo.com/272255634) * [Realm 数据库基础教程](http://www.cocoachina.com/ios/20150505/11756.html):“Realm 是一个跨平台的移动数据库引擎,于 2014 年 7 月发布,准确来说,它是专门为移动应用所设计的数据持久化解决方案之一。Realm 可以轻松地移植到您的项目当中,并且绝大部分常用的功能(比如说插入、查询等等)都可以用一行简单的代码轻松完成”。来源:[Ray Wenderlich](http://www.raywenderlich.com/81615/introduction-to-realm),译者:[@星夜暮晨](http://weibo.com/moonisky) * [使用 Realm 和 Swift 创建 ToDo 应用](http://swift.gg/2015/12/08/building-a-todo-app-using-realm-and-swift/):“最近,我无意中发现了 Realm,一个可以替代 SQLite 和 Core Data 的更好的解决方案”。译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),来源:[AppCoda](http://www.appcoda.com/realm-database-swift/),作者:Hossam Ghareeb +* [使用 SwiftyDB 来管理 SQLite 数据库](https://segmentfault.com/a/1190000004670954):“从开发者的角度来说,对一个 SQLite 中的数据进行插入、更新、检索本身就是一件容易的事...”。原文来源:[App Coda](http://www.appcoda.com/swiftydb/),译者:[@BigNerdCoding](http://weibo.com/1314ddml)。[SwiftGG 译文版本](http://swift.gg/2016/05/17/swiftydb/) * Swift编程风格指南-[Ray Wenderlich 版](http://letsswift.com/2014/07/swift-style-guide/),[GitHub 版](https://github.com/Artwalk/swift-style-guide/blob/master/README_CN.md):编程风格指南的目标是让 Swift 代码更简洁、可读性更强。 -* [iOS设计指南](http://www.ui.cn/project.php?id=32167):非官方文档,不过原文《[The iOS +* [Swift 编程思想,第一部分(补遗):牺牲小马](http://swift.gg/2016/03/21/thinking-in-swift-1-addendum/):“[Swift 编程思想系列文章](http://swift.gg/tags/Crunchy-Development/) 是 SwiftGG 最受欢迎的系列文章之一。作者写完整个系列之后又补充了一些内容,深入讨论强制解析(!)的正确用法。”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide)。P.S. 有人认为细节决定成败,也有人认为不要过分细节。无论哪一种,都不能丢失全局观(与文章无关)。 +* [我的 iOS 开发入门自学路径](http://www.jianshu.com/p/4be17ec40cfc):如此清晰、有效的学习路径,非常值得新手看齐、学习。By [@游薪渝](http://weibo.com/u/5639257977) +* [iOS 设计指南](http://www.ui.cn/project.php?id=32167):非官方文档,不过原文《[The iOS Design Guidelines](http://iosdesign.ivomynttinen.com/)》遵循并基于《iOS Human Interface Guidelines》进行解读介绍。非常值得收藏。原作者 Ivo Mynttinen,是一位来自德国的年轻 UI 设计师。其个人博客网站也值得同学们收录:[ivomynttinen.com](http://ivomynttinen.com)。译者:[@shengbanx](http://weibo.com/banxing1) * [Facebook React Native 中文教程](http://wiki.jikexueyuan.com/project/react-native/):“Facebook 在 [React.js Conf 2015 大会](http://conf.reactjs.com/)上推出了基于 JavaScript 的开源框架 [React Native](http://facebook.github.io/react-native/),本中文教程翻译自 [React Native 官方文档](http://facebook.github.io/react-native/docs/getting-started.html)”。译者:[@极客学院_jikexueyuan](http://weibo.com/jikexueyuan) -* [Google 地图 SDK 入门教程]():“在本文中我们将要学习的:①如何在地图上显示用户当前位置②如何定位自定义地址③如何绘制路径④如何在路径中添加中间点(路径点)等”。非常完整、实用的 Google 地图基础教程。完整示例:[google-maps-api-demo](https://github.com/appcoda/google-maps-api-demo),来源:[AppCoda](http://www.appcoda.com/google-maps-api-tutorial),译者:[@CocoaChina](http://weibo.com/cocoachina)和[百度智客联盟](http://maker.baidu.com/)共同翻译。 +* [React Native 的官方最佳实践翻译](http://f8-app.liaohuqiu.net/):应该是最好的 React Native 学习资料了. Facebook 2016 F8 App 的教程,从服务器端到 App,包括 Redux,Relay,GraphQL。教程涵盖:如何进行 app 技术选型,如何做跨平台设计,如何做 React Native 的测试。译者:[@廖祜秋liaohuqiu_秋百万](http://weibo.com/liaohuqiu?refer_flag=1005055013_&is_hot=1) +* [Google 地图 SDK 入门教程](http://t.cn/RATvsic):“在本文中我们将要学习的:①如何在地图上显示用户当前位置②如何定位自定义地址③如何绘制路径④如何在路径中添加中间点(路径点)等”。非常完整、实用的 Google 地图基础教程。完整示例:[google-maps-api-demo](https://github.com/appcoda/google-maps-api-demo),来源:[AppCoda](http://www.appcoda.com/google-maps-api-tutorial),译者:[@CocoaChina](http://weibo.com/cocoachina)和[百度智客联盟](http://maker.baidu.com/)共同翻译。 * 在 iOS 8 SDK 中使用 Touch ID API - [Part I](http://www.cocoachina.com/ios/20141114/10222.html), [Part II](http://www.cocoachina.com/ios/20141114/10223.html):译文详述了如何在一款笔记编辑应用程序中集成 iOS 8 SDK 中 Touch ID API。来源:[AppCoda](http://www.appcoda.com/touch-id-api-ios8/),译者:[@CocoaChina](http://weibo.com/cocoachina) 翻译组 * Auto Layout 使用心得([1. 初体验](http://lvwenhan.com/ios/430.html);[2. 实现三等分](http://lvwenhan.com/ios/431.html);[3. 自定义 cell 并使用 Auto Layout](http://lvwenhan.com/ios/441.html);4. [22 行代码实现拖动回弹](http://lvwenhan.com/ios/442.html);[5. 根据文字、图片自动计算 UITableViewCell 高度](http://lvwenhan.com/ios/449.html);[6. 制造炫酷的下拉刷新动画](http://lvwenhan.com/ios/450.html)):细致入微介绍自动布局及快速入门的中文教程。作者:[@吕文翰_JohnLui](http://weibo.com/balishengmuyuan)。 * 自己动手写一个 iOS 网络请求库:[1. NSURLSession 初探](http://lvwenhan.com/ios/454.html);[2. 封装接口](http://lvwenhan.com/ios/455.html);[3. 降低耦合](http://lvwenhan.com/ios/456.html)。项目地址:[johnlui/Pitaya](https://github.com/johnlui/Pitaya)。作者:[@吕文翰_JohnLui ](http://weibo.com/balishengmuyuan) @@ -52,11 +68,21 @@ Design Guidelines](http://iosdesign.ivomynttinen.com/)》遵循并基于《iOS H * Core Graphics 教程:1. [起步](https://github.com/bboyfeiyu/iOS-tech-frontier/blob/master/issue-5/Swift-Core-Graphics%E6%95%99%E7%A8%8B%E7%AC%AC%E4%B8%80%E9%83%A8%E5%88%86.md);2. [Gradients 与 Context](https://github.com/bboyfeiyu/iOS-tech-frontier/blob/master/issue-5/Swift-Core-Graphics%E6%95%99%E7%A8%8B%E7%AC%AC%E4%BA%8C%E9%83%A8%E5%88%86-Gradients%E4%B8%8EContext.md);3. [Patterns 和 Playgrounds](http://t.cn/R257CaO)。原文来源:[Ray Wenderlich](http://www.raywenderlich.com/90690/modern-core-graphics-with-swift-part-1),译文来源:[@开发技术前线](http://weibo.com/u/5589212242) * [iOS8 使用 iCloud](http://www.devtf.cn/?p=574):“对于开发者来说,如何用适当的方式来存储应用程序数据是一个比较重要的问题。 毫无疑问,任何应用都或多或少需要存储一些数据。对于一般的应用程序来说,被保存的数据各不相同,大部分时间都被存储在本地以便再次在相同的设备运行该应用程序。尽管这不是是唯一的选择”。原文来源:[AppCoda](http://www.appcoda.com/cloudkit-introduction-tutorial/),译者:[@HarriesChen](http://weibo.com/harrieschen) * [Grand Central Dispatch 基础教程:Part 1/2](http://www.jianshu.com/p/50c060bab0ff),[Part 2/2](http://www.jianshu.com/p/6185d3753dd8):“尽管 Grand Central Dispatch(以下简称为 GCD)已推出一段时间了,但并不是所有人都明白其原理;当然这是可以理解的,毕竟程序的并发机制很繁琐,而且基于 C 的 GCD 的 API 对于 Swift 的新世界并不是特别友好”。来源:[Ray Wenderlich](http://www.raywenderlich.com/79149/grand-central-dispatch-tutorial-swift-part-1),译者:[@Ethan_Joe](http://weibo.com/u/2898857711) +* [GCD 使用指南](http://swift.gg/2016/05/05/the-gcd-handbook/)(译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide)) + + 深入浅出 GCD,看完就能直接实践,GCD 没你想得那么难。 +* [用 HealthKit 来开发一个健身 App](http://swift.gg/2016/05/13/healthkit-introduction/)(译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide)) + + 学习做一款简单又不失人性化的健身应用。 * [Tesseract OCR(光学字符识别)教程](http://www.cocoachina.com/ios/20150708/12463.html):“你之前肯定已经见过,OCR技术被应用于在平板电脑上将扫描文件处理成手写字迹,还被应用于谷歌最近添加到他们的Translate app上的"Word Len"功能。现在你将学习在自己的iPhone app上使用OCR,非常酷,不是吗?”。原文:[Tesseract OCR Tutorial](http://www.raywenderlich.com/93276/implementing-tesseract-ocr-ios),作者:[Lyndsey Scott](http://www.raywenderlich.com/u/Lyndsey),译者:[@CocoaChina](http://weibo.com/cocoachina) 翻译组 [Mr_cyz](http://blog.csdn.net/u013604612) * [30 分钟开发一个简单的 watchOS 2 app](http://onevcat.com/2015/08/watchos2/):[OneV's Den](http://weibo.com/onevcat) 的新文章 WWDC15 Session 笔记。 * [SwiftEducation](https://github.com/SwiftEducation):“这是建立在 GitHub 上的一个 Swift 学习资料汇集,包括了有关幻灯和多个练手的应用程序源码。By @极客头条”。的确有不少基础实用的好[教程](https://github.com/SwiftEducation/presentations)。这对于基础学起的同学有福了。 * [iOS9-day-by-day](https://github.com/shinobicontrols/iOS9-day-by-day): 继 [iOS8-day-by-day](https://github.com/shinobicontrols/iOS8-day-by-day) 后, iOS9-day-by-day 也来了。如此专业的实战训练项目,不要错过。[中译版](http://www.jianshu.com/notebooks/1351342/latest) By [@nathan1](http://weibo.com/elepone) * [如何在 Swift 中使用字典树](http://swift.gg/2015/09/06/a-trie-in-swift/):“Swift 中有许多“不明觉厉”的数据结构,今天我们就来看其中最神秘的一个”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@小铁匠Linus](http://weibo.com/linusling) +* [Swift 运算符重载简介](http://swift.gg/2016/04/19/operator-overloading-swift/):运算符重载是一个非常强力的技能,用好了可以极大优化代码。不过运算符重载使用时也有很多注意事项,用不好会让代码更难维护。到底如何做运算符重载?来看看今天这篇 AppCoda 的教程吧。译者:[@SwiftGG翻译组](http://weibo.com/swiftguide?refer_flag=1005055013_&is_all=1) +* [【Swift 脑洞系列】轻松无痛实现异步操作串行](http://www.jianshu.com/p/168f92164f06):主要尝试使用 Swift 本身的函数式特性实现了串行执行多个异步操作,同时也探索了函数作为一等公民 这个 feature 和reduce 组合起来使用可以有多爽 ~~~。作者:[aaaron7](http://www.jianshu.com/users/9efd08855d3a/latest_articles) +* [闭包捕捉(closure capture)深入](http://shellhue.github.io/2016/04/22/closureCapture/):闭包捕捉不算是 Swift 坑中常客,但如果概念不清晰,使用闭包也难以挥洒自如,该文章详细介绍闭包相关知识。作者:[@黄泽宇ShellHue](http://weibo.com/u/5707174464?refer_flag=1005055013_&is_hot=1) +* 模式匹配系列文章:模式匹配的一个新系列,SwiftGG 会同步更新,这一次彻底掌握模式匹配!第一弹:[模式匹配第一弹: switch, enums & where 子句](http://swift.gg/2016/04/26/pattern-matching-1/);第二弹:[模式匹配第二弹:元组,range 和类型](http://swift.gg/2016/04/27/pattern-matching-2/);[模式匹配第三弹: 自定义的模式匹配和语法糖](http://swift.gg/2016/04/28/pattern-matching-3/)。译者:[@SwiftGG翻译组](http://weibo.com/swiftguide?refer_flag=1005055013_&is_all=1) * [QR Code 生成器应用](http://www.appcoda.com.tw/qr-code-generator-tutorial/):“从iOS 7开始,要读取QR码的话,开发者们可以使用AVFoundation框架。至于要产生QR码,开发者们只需要使用核心图片框架(更精确地说,是使用核心图像滤波器)即可”。来源:[AppCoda](http://www.appcoda.com/qr-code-generator-tutorial/) * [为 Apple TV 开发 tvOS 应用](http://swift.gg/2015/09/14/developing-tvos-apps-for-apple-tv-with-swift/):虽然该主题文章在天朝不太接地气。不过,把玩、学习用途还是杠杠的。来源:[Jameson Quave](http://jamesonquave.com/blog/developing-tvos-apps-for-apple-tv-with-swift/),译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[ray16897188](http://www.jianshu.com/users/97c49dfd1f9f/latest_articles) * [实现与智能机器人聊天的应用教程](http://www.jianshu.com/p/1f93e0fec8a5):比较接地气的初学者应用开发教程(共连载了四篇)。作者:[@TimeRanger](http://weibo.com/u/2363379653) @@ -69,9 +95,37 @@ Design Guidelines](http://iosdesign.ivomynttinen.com/)》遵循并基于《iOS H * [Build your cells in a way of LEGO](https://medium.com/@victor_wang/build-your-cells-in-a-way-of-lego-fbf6a1133bb1#.ymdvydfc8):“真响应式CollectionView的实现构思,用组合乐高的方式做布局,个人感觉更黑科技些,而且确实花了不少心血”。作者:[@ShengjiaWANG](http://weibo.com/u/1739447693) * [用 TVML 开发 tvOS 应用教程](http://www.devtalking.com/articles/develop-tvos-app-with-tvml/):“在这篇教程中,你们的目标是开发以个能播放 RWDevCon 讨论视频的 tvOS 应用...”。无论采用传统原生的 tvOS 定制应用还是 TVML 应用开发方式,在 tvOS 中都是苹果推荐的。译者:[@DevTalking](http://weibo.com/jacefu),来源:[Ray Wenderlich](http://www.raywenderlich.com/114886/beginning-tvos-development-with-tvml-tutorial) * [如何正确地写好一个界面](http://oncenote.com/2015/12/08/How-to-build-UI/):一篇很好的 UI 基础知识概述及教程。P.S. 微软在分层架构(解耦)不如苹果及 Java 阵营清晰明确,从分层解耦角度,对于 MVC 的正确理解,其实就是文中苹果官方给的MVC的设计模式图。作者:[@南峰子_老驴](http://weibo.com/touristdiary) +* [轮转式卡片效果 - 个性化UICollectionView Layout](http://www.jianshu.com/p/45f39b70263d):“这篇文是教怎么利用Collection view layout 做出自己喜欢的collection view ,翻译 [Ray Wenderlich](http://www.raywenderlich.com/107687/uicollectionview-custom-layout-tutorial-spinning-wheel) 的文,发现原文在anchor point计算那里有个小bug,所以就改了那里的计算”。译者:[@莫威權在B612等着那阵温柔的风](http://weibo.com/u/1061021332) +* [ReactiveCocoa 4 官方文档翻译](http://www.jianshu.com/p/fccba7be1ca1):“因为决定不再支持iOS7,全面使用Swift,RAC也要升级,就把RAC4的文档都读了一遍,翻译出来,希望能给后面要学习的人一些帮助。翻译的不是很好请见谅”。译者:[@没故事的卓同学](http://weibo.com/u/1926303682) +* [Swift 协议及应许之地](https://realm.io/cn/news/michele-titolo-swift-protocols-promised-land/):“对于诸如泛型以及第一成员协议之类的语言特性来说,Swift 的设计使得它们提升为了在应用开发过程中关键的架构组件。然而Swift 的类型系统将会禁止使用某些简单的模式。本次演讲将会重点讲述这些挑战,讨论其根本原因,并评估解决方法”。来源:[RealmChina](http://weibo.com/realmchina),作者:Michele Titolo +* [基于DLNA实现iOS,Android投屏](https://eliyar.biz/code/iOS/DLNA_with_iOS_Android/):专业、系统化的 DLNA 介绍及实现技术分享。作者:[@艾力亚尔](http://weibo.com/536445669) +* [新手指南:使用 Social Framework 以及 UIActivityViewController](http://swift.gg/2016/02/04/social-framework-introduction/):“Appcoda 的长文来啦!以啰嗦著称的 Appcoda 这次介绍的是如何实现“分享到社交网络”功能”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@wangjianfeng](http://weibo.com/walkingway) +* [如何使用 iOS9 中的 Core Spotlight 框架](https://segmentfault.com/a/1190000004502546):“Core Spotlight框架是被称为Search APIs这个大集合API中的的一部分。该框架为程序员提供了一个机会来增加他们应用程序可发现性、可见性以及访问的便捷性,并且作为新特性该框架无法在之前版本的iOS中使用的。..”。译者:[BigNerdCoding](http://weibo.com/1314ddml),原文:[How To Use Core Spotlight Framework in iOS 9](http://www.appcoda.com/core-spotlight-framework/) +* [一步步创建自己的 iOS 框架](http://gold.xitu.io/entry/56a5727d128fe10051612147):“如果你曾经试图去创建一个自己的iOS框架的话,你应该知道这件事并不是那些畏惧困难的人能够成功完成的,这篇文章将从开始到最终完成一步步的进行讲解,以便你掌握后可以更好的创建自己的框架”。建议交叉阅读 [@onevcat](http://weibo.com/onevcat) 的《[如何打造一个让人愉快的框架](https://github.com/atConf/atswift-2016-resources)》。原文:[Creating your first iOS Framework](https://robots.thoughtbot.com/creating-your-first-ios-framework) +* [一步步教你实现类似于格瓦拉启动页中的放大转场动画](http://www.jianshu.com/p/8c29fce5a994):“用过格瓦拉电影,或者其他app可能都知道,一种点击按钮用放大效果实现转场的动画现在很流行,效果大致如下...”。作者:[@HenryCheng](http://weibo.com/L0veway) +* [给 iOS 开发者的 Sketch 入门教程](http://ios.jobbole.com/83865/):“作为一名iOS开发者,我经历过几个没有设计师的项目,结果就是,痛苦的一逼。做这种类型的项目,设计是非常重要的,特别是迭代设计。但是怎样才能在没有设计师的前提下设计原型,那就必须用到Sketch这货”。译者:[@Andy矢倉](http://weibo.com/ganmaojijie),来源:[Ray Wenderlich](https://www.raywenderlich.com/117609/sketch-indie-developers) +* [中国首届 Swift 开发者大会-嘉宾现场演讲视频](http://www.imooc.com/learn/600):“众多资深的 iOS 研发攻城狮,与你分享 Swift 的最新动向。没有机会到场的朋友们,快来先睹为快吧!By [@慕课网](http://weibo.com/mukewang)” +* [iOS9-by-Tutorials-学习笔记九:3D Touch 入门教程](http://mengxiangyue.com/2016/02/23/iOS9-by-Tutorials-学习笔记九:3D-Touch/) By [@孟祥月_iOS](http://weibo.com/u/1750643861) +* [iOS-Note](https://github.com/seedante/iOS-Note):这里有 CoreData, Photos, 转场动画等实用、详细的笔记。作者:[@seedante](http://weibo.com/u/1815689155) +* 《Threading Programming Guide》笔记(作者:[@DevTalking](http://weibo.com/jacefu),来源:[@CSDN移动](http://weibo.com/csdnmobile)) + * [1. 初识线程](http://geek.csdn.net/news/detail/54092):“说到OS X和iOS中的线程技术,就不得不说GNU Mach。Apple操作系统中的线程技术是基于Mach线程技术实现的,所以本身就带有线程基本的特性,比如PEM。” + * [2. 线程配置与Run Loop](http://geek.csdn.net/news/detail/55617):“本文围绕着线程属性配置以及Run Loop Modes展开,作者@DevTalking 表示:如今关于iOS多线程的文章层出不穷,但若想更好的领会各个实践者的文章,应该先仔细读读官方的相关文档,打好基础,定会有更好的效果。” + * [3. Run Loop操作配置实践](http://geek.csdn.net/news/detail/56056):“在对线程技术实践以及Run Loop的相关知识点进行讲解后,作者付宇轩开启了如何具体创建、配置和操作Run Loop的深度实践分享”。 + * [4. iOS开发里的线程安全机制](http://geek.csdn.net/news/detail/56726):“主要分享了包括原子操作、锁机制、Conditions等的线程安全机制,以及设计时所需要注意的事项,比如避免滥用、防止死锁和活锁的发生、正确使用volatile关键字等。”。 +*《Concurrency Programming Guide》笔记(作者:[@DevTalking](http://weibo.com/jacefu),来源:[@CSDN移动](http://weibo.com/csdnmobile)) + * [1. iOS 开发中设计并发任务技术与注意事项](http://geek.csdn.net/news/detail/60236):“并发执行任务的解决方案从最初的在程序中创建多个线程来实现,却极大地降低了应用程序的性能...” + * [2. iOS 并发编程中 Operation 与 Dispatch Queues 实践](http://geek.csdn.net/news/detail/63001):“本文为读《Concurrency Programming Guide》笔记第二篇,在分享了OS X和iOS应用开发中实现任务异步执行的技术以及应注意的事项之后,作者对 Operation 对象的设置执行,以及 Dispatch Queues 的创建管理进行了实践总结。” + * [3:iOS 并发编程指南:Dispatch Queue 任务执行与 Dispatch Source](http://geek.csdn.net/news/detail/69122) * 视频教程 * [1. 基础篇-使用 Swift 开发 iOS8 应用实战](http://www.imooc.com/view/173),[2. 进阶篇-Swift Weather APP](http://www.imooc.com/view/149):实战学习是最有效的编程学习方法。该系列视频教程通过不同的案例,由浅入深地介绍 iOS 应用开发方法。来源:[@慕课网](http://weibo.com/mukewang),讲师:[@林永坚Jake](http://weibo.com/yongjianlin) * WWDC 视频:1. Swift 入门([A001.01](http://v.youku.com/v_show/id_XNzI1MTQ5NzYw.html), [A001.02](http://v.youku.com/v_show/id_XNzI1MTU2OTU2.html), [A001.03](http://v.youku.com/v_show/id_XNzI4MDE5ODYw.html), [A001.04](http://v.youku.com/v_show/id_XNzMxODgxNDM2.html));2. Swift 进阶([A002.01](http://v.youku.com/v_show/id_XNzM4NTAwNzk2.html), [A002.02](http://v.youku.com/v_show/id_XNzQ1NDQzNzYw.html), [A002.03](http://v.youku.com/v_show/id_XNzUyNzA2NDYw.html), [A002.04](http://v.youku.com/v_show/id_XNzU5MjA5Mzgw.html?f=22519841), [A002.05](http://v.youku.com/v_show/id_XNzU5MjE5MjI4.html?f=22519841));3. Swift 版本升级补录补丁([A001.Patch](http://v.youku.com/v_show/id_XNzg1MTM2NDEy.html?f=22361976),[A002.Patch](http://v.youku.com/v_show/id_XNzg1MTQ2MDY0.html?f=22519841))。翻译:[@赵哲A](http://weibo.com/zhaozhecleric) + * [SwiftCon 大会视频放出来了](http://t.cn/RqdeNW5)(来源:[@唐巧_boy](http://weibo.com/u/1708947107)) +* [面向协议的 MVVM 架构介绍](https://realm.io/cn/news/doios-natasha-murashev-protocol-oriented-mvvm/):在 Swift 中用值类型来代替引用类型,比以前在 Obj-C 中要容易许多,这可以让您的代码更简洁。然而当需要在多个类型当中共享代码时,许多人往往会回避使用值类型而转为使用继承实现。通过 Natasha 的介绍,您可以学习到如何使用协议来实现这个功能。作者:Natasha,来源:[@RealmChina](http://weibo.com/realmchina?refer_flag=1005055013_&is_hot=1) +* [Swift Runtime分析:还像OC Runtime一样吗?](http://mp.weixin.qq.com/s?__biz=MzA3ODg4MDk0Ng==&mid=403153173&idx=1&sn=c631f95b28a0eb4b842a9494e43a30e5#rd):Swift已经开源,目前最新版本为2.2。我们知道 Objective-C 是具有动态性的,能够通过 runtime API 调用和替换任意方法,那Swift也具有这些动态性吗?作者:[@尹峥伟](http://weibo.com/yzwaizxh?refer_flag=1001030102_&is_all=1) +* [Swift 2 throws 全解析](https://onevcat.com/2016/03/swift-throws/):Swift 2 throws 全解析 - 从原理到实践。By [onecat](https://onevcat.com/#blog) +* 使用React Native开发F8 App实战教程(一)](http://mp.weixin.qq.com/s?__biz=MzA3ODg4MDk0Ng==&mid=403628431&idx=1&sn=8384dc0956e12dbbbce3982bb2a85cee#rd):F8 开发者大会上,Facebook 宣布与微软和三星合作,为 React Native 在 Windows UWP 平台和 Tizen 系统提供支持,并且还放出了RN的新的系列教程,这是第一篇。作者:Facebook,译者:[@移动开发前线](http://weibo.com/bornmobile?refer_flag=1005055013_&is_all=1) +* [iOS并发(concurrency)概念浅析](http://shellhue.github.io/2016/03/29/concurrency/):解析并发涉及串行、并发、并行、同步、异步、多线程、GCD、NSOperation 和 NSOperationQueue 等诸多容易混淆的概念。By [@黄泽宇ShellHue](http://weibo.com/u/5707174464?refer_flag=1005055013_&is_hot=1) + ### 技巧和方案 * [盘点开发者最喜爱的 Swift 技巧](http://www.csdn.net/article/2014-12-25/2823312-favorite-swift-tips-and-tricks):文章首推新起之秀 natashatherobot.com 博主 Natasha Murashev 独门 Swift 秘籍,还有 objc.io 博主 Chris Eidhof 着力推荐的独具特色的 Swift 版 Quicksort,还有... 还是请同学们细细品读文章吧。原文:[Favorite Swift Tips & Tricks of 2014](http://realm.io/news/favorite-swift-tips-and-tricks-of-2014/),来源:Realm,译者:[@唐门教主](http://weibo.com/u/2019731997) @@ -86,6 +140,9 @@ Design Guidelines](http://iosdesign.ivomynttinen.com/)》遵循并基于《iOS H * [Swift扩展的三个微妙细节](https://github.com/bboyfeiyu/iOS-tech-frontier/blob/master/issue-4/Swift%E6%89%A9%E5%B1%95%E7%9A%84%E4%B8%89%E4%B8%AA%E5%BE%AE%E5%A6%99%E7%BB%86%E8%8A%82.md):有关于 extension 细节的较完整说明。推荐不甚了解的开发同学阅读,避免稀里糊涂地使用。译文来源:[@开发技术前线](http://weibo.com/u/5589212242),译者:samw00,原文:[3 Nuances of Swift Extensions](http://www.andrewcbancroft.com/2015/04/22/3-nuances-of-swift-extensions/) * [radex/DiffyTables](https://github.com/radex/DiffyTables):提供在 WatchKit 应用中有效使用表格的实例。完整实现思路作者已经撰写长文 [Practical and efficient WatchKit tables with view model diffing](http://radex.io/watch/diffing/)。充分理解该文章作者推荐阅读 [Reducing WatchKit Traffic With View Models](http://techblog.thescore.com/2015/05/20/reducing-watchkit-traffic-with-view-models/) * [使用 Quick 框架和 Nimble 来测试 ViewControler](http://www.devtf.cn/?p=739):“不错的文章,有翻译不到位的还请专业人士指出~ ”。来源:[@开发技术前线](http://weibo.com/u/5589212242),译者:[@MrSimp1e](http://weibo.com/mrsimp1e) +* [Artsy 的测试之旅](https://realm.io/cn/news/tryswift-ash-furrow-artsy-testing-tour/)(来源:[Realm](https://realm.io/cn/news/)) + + 认识、实践并掌握不同的测试方法,是学好编程的关键步骤,是软件开发成熟度的重要组成。“不同的测试技术在各种的情况下的优劣各有不同。Ash Furrow 讨论了 Artsy iOS 团队做出这种决策背后的动机,谈论了他们所遇见到的问题,以及他们是如何克服这些困难的。” * [UICollectionViews 的拖拽效果](http://nshint.io/blog/2015/07/16/uicollectionviews-now-have-easy-reordering/):“随着 iOS9 的发布,现在实现起来更加简单。By [@Meng_Hang_](http://weibo.com/u/5193870696)”。源代码:[nshintio/uicollectionview-reordering](https://github.com/nshintio/uicollectionview-reordering) * [如何用代码控制以不同屏幕方向打开新页面](http://lvwenhan.com/ios/458.html):“前两天遇到了一个 “使用指定的不同屏幕方向打开新页面” 的需求,需求很简单:APP 一直保持竖屏,要求新打开的页面能够指定为横屏或竖屏,并且不允许自动切换,新页面退出后要恢复竖屏”。作者:[吕文翰_JohnLui ](http://weibo.com/balishengmuyuan) * [关键帧动画实用教程](http://www.devtalking.com/articles/uiview-keyframe-animation/):“Keyframe 动画可以让我们有效的拆分由若干段动画连接而成的复杂动画,可以较为精准的定义每段动画的起始点及持续时间,并且在代码组织方面也非常清晰”。作者:[@DevTalking](http://weibo.com/jacefu) @@ -100,9 +157,41 @@ Design Guidelines](http://iosdesign.ivomynttinen.com/)》遵循并基于《iOS H * [Core Data 线程大揭秘](https://realm.io/cn/news/marcus-zarra-core-data-threading/):“到了今天,Core Data 中的线程实现机制已经与其最初版本大相径庭了。在 Core Data 的悠久历史中,多年来关于如何使用线程的话题已经有了数种不同的解释,那么我们到底应该怎么做呢?Marcus Zarra 为我们展示了实现线程的三种方法,旧有的、复杂的和最佳的”。作者:Marcus Zarra,来源:Realm * [短文:自定义 UITextView 关键字高亮与点击检测](https://github.com/nixzhu/dev-blog/blob/master/2016-01-14-mention-in-textview.md):“一种很简单的方法,妙手偶得,可比较容易地处理 Mention、Hashtag 等”。作者:[@ nixzhu](http://weibo.com/nixzhu) * [Typed, yet Flexible Table View Controller](http://holko.pl/2016/01/05/typed-table-view-controller/):分别采用二种常用实现方案,引出第三种基于协议和泛型的可配置 UITableViewController 最终定稿该类库(多类型可扩展单元格)无论学习性还是实用性,都堪称典范。作者:[Arkadiusz Holko](https://github.com/fastred) +* [用 Swift 中的单向数据流来替代臃肿的视图控制器](https://realm.io/cn/news/benji-encz-unidirectional-data-flow-swift/):作者即是 Swift-Flow(近期已与 ReduxKit 合并为 ReSwift)开发者。是一篇相对详细讲解 MVC 框架在应用设计中的片面性,从而引出 Redux 或 Swift-Flow 必要性的讲演稿译文。 +* [CoreData VS Realm](http://www.jianshu.com/p/e9532bd1bb65):不错(尤其性能比较章节)。作者:[@Yu_我就想叫一个简单的昵称](http://weibo.com/iyunsn) +* [Profiling your Swift compilation times](http://irace.me/swift-profiling):“如果你想减少你的 Swift 项目的「带薪编译」的时间,这篇文章值得一看。By [@图拉鼎](http://weibo.com/tualatrix)” +* [UIKit性能调优实战讲解](http://www.jianshu.com/p/619cf14640f3):作者同学从细节着手,让你了解个中利害。“结合Instrument分析影响性能的因素,提出UIKit优化方案并解释背后的原理。还附有一步步调优的Demo”。作者:[@Martin_wjl](http://weibo.com/u/5419850564) +* [使用 guard 的正确姿势](http://swift.gg/2016/02/14/swift-guard-radix/):“guard 是 Swift 2 中我最喜爱的特性之一。虽然完全不使用 guard 也没有什么影响,它只是给我们提供了更微妙的句法表达,但是如果能够正确使用 guard 语句,无疑是一件令人愉快的事”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@EclipsePrayer](http://weibo.com/EclipsePrayer) +* [如何处理 Swift 中的异步错误](http://swift.gg/2016/02/16/async-errors/):“为什么不能用 throw 处理异步错误?如何正确处理异步错误?什么是 Promise?看完你就全懂了,强烈推荐!”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:ray16897188 +* [在 Linux 中使用 Swift 进行 TCP Sockets 编程](http://swift.gg/2016/03/01/tcp-sockets-with-swift-on-linux/):“在 Linux 中使用 Swift 进行 TCP Sockets 编程 看名字就知道了,Socket 编程。C 语言的 Socket 编程应该是不少人的噩梦吧?现在你可以用现代化的 Swift 来编写了,借这个机会认真学一次 Socket”。 译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[shanks](http://codebuild.me) +* [iOS 下如何自动化打包 App](http://reviewcode.cn/article.html?reviewId=11):“这个话题之前已经在斗鱼直播上讲了一下。直播视频也在 CodeReview 的网站上,[链接](http://reviewcode.cn/video.html?videoId=2)。 Keynote 在 [GitHub](https://github.com/lzwjava/DouyuKeynote) 上。...”。来源:reviewcode.cn,作者:[@lzwjava](http://weibo.com/zhiweilee)。P.S. 另一个简单版本:《[iOS项目自动打包脚本](https://github.com/hades0918/ipapy)》 +* [Perfect 让 Swift 在服务器端跑起来](http://blog.csdn.net/u014388424/article/category/6092861):“你认识Swift或者是在客户端,因为它是苹果用来开发客户端的新一代语言。在Swift开源后苹果让它不仅在MacOS/iOS上跑,也运行到了Linux ...”。作者:[@kinfey](http://weibo.com/kinfey) +* [Swift 3.0 介绍](http://swift.gg/2016/02/25/introducing-swift-3-0/):“来自 iAchieved.it 的最新文章,介绍如何在 Linux 系统中安装 Swift 3。没错,你已经可以写 Swift 3 了”。译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@毫无存在感的Cee](http://weibo.com/acgcee) +* [在 Cocoa 中实现 ICU 文本变换](http://swift.gg/2016/02/23/cocoa-icu-text-transforms/):“ICU 全称 International Components for Unicode(Unicode 国际化组件,不是重症监护病房),它能干嘛?举个例子,你可以在 Swift 中用一行代码把“上海”转换成“shàng hǎi”。到底怎么做呢,来看看今天的文章吧!”。译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[aaaron7](http://www.jianshu.com/users/9efd08855d3a/latest_articles) +* [Swift GYB 简易教程](http://swift.gg/2016/03/04/a-short-swift-gyb-tutorial/):“GYB 是 Swift 内部使用的一个工具,可以通过模板来生成类似的代码。如果你的项目中有大量结构相似的代码,可以提取成模板,用 GYB 来统一维护。GYB 的用法非常简单,看完本文就可以去露一手了~”。译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:ahfepj +* [发现循环引用的方法](http://swift.gg/2016/03/09/a-trick-to-discover-retain-cycles/):“本文讲了一种简单有效的检测方法,目前的第三方检测工具也大多采用这种方法,强烈推荐”。译者:[@靛青K](http://weibo.com/DianQK) +* [初探 Swift Sequences 和 Generators](http://swift.gg/2016/03/10/experimenting-with-swift-2-sequencetype-generatortype/):“如果你还不了解序列和生成器,那一定要看下这篇文章...”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[CoderAFI](http://coderafi.github.io) +* [使用 Swift 的面向协议编程定义 Segue 标识](http://swift.gg/2016/02/01/protocol-oriented-segue-identifiers-swift/):“这次,我准备写的是:处理多个 segue 标识的优雅解决方案。你猜对了!就是使用协议...”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@请叫我_小锅_](http://weibo.com/swiftyper) +* [在iOS开发中如何优雅地进行图片缩放?](http://www.jianshu.com/p/af2d471f7b9c):图片缩放开发技巧及经验分享。作者:[@Martin_wjl](http://weibo.com/u/5419850564) +* [ENJOY 的 Apple Pay 应用内支付接入实践](http://geek.csdn.net/news/detail/60849):Apple Pay 集成解决方案及开发最佳实践。作者:[webfrogs](http://weibo.com/u/1713195262) +* [Hirundo:在 OS X 上轻松获取 Swift 邮件列表](http://swift.gg/2016/03/14/hirundo-mac-app-swift-mailing-lists/):“Swift 邮件列表由 Apple 官方维护,包括 Chris Lattner 在内的各位大牛都在这里和开发者交流讨论。本文作者开发了一个 Mac 客户端,如果你想了解最新进展并且不喜欢查看邮箱的话,这是个不错的选择。”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[CoderAFI](http://coderafi.github.io) +* [如何使用Instruments诊断App(Swift版):起步](http://www.cocoachina.com/ios/20150623/12237.html):这篇文章不错《Instruments Tutorial with Swift: Getting Started》作者很有心地给出了一个卡顿(主线程阻塞)的 Demo,还教了下如何用 Instruments 检测并修复,业界良心!作者:[James Frost](https://www.raywenderlich.com/u/frosty),译者:[Mr_cyz](http://blog.csdn.net/u013604612) +* [React-Native痛点解析之开发环境搭建及扩展](http://mp.weixin.qq.com/s?__biz=MzA3ODg4MDk0Ng==&mid=403225766&idx=1&sn=acd8e3ab7f234b97827c3e210c2d8673#rd):解析 RN 开发中的痛点。本文分享的是在环境搭建和扩展中会遇到的问题与解决方案。作者:携程高级研发经理魏晓军 +* [拥抱未来:更优雅的 Swift 写法](https://realm.io/cn/news/doios-daniel-steinberg-ready-for-the-future/):在这个 Daniel Steinberg 的演讲中,我们在 Obj-C 以及其他之前出现的语言的基础之上,学习如何才能够写出让别人乐意去阅读的代码。作者:Daniel Steinberg,来源:[@RealmChina](http://weibo.com/realmchina?refer_flag=1005055013_&is_hot=1) +* [iOS 原生库对 https 的处理](http://swiftcafe.io/2016/04/16/swift-https/?hmsr=toutiao.io&utm_medium=toutiao.io&utm_source=toutiao.io):https 作为一个相对安全的协议,正在被越来越多的站点和 app 所应用,这次咱们就实际的来看一下,如何使用 swift 在 iOS 环境下处理 https 请求。作者:[@SwiftCafe](http://weibo.com/u/5721760998?from=feed&loc=at&nick=SwiftCafe&is_hot=1) +[使用 Xcode 的 Target 区分开发和生产环境](http://swift.gg/2016/04/22/using-xcode-targets/):很实用的开发部署最佳实践。P.S. 当项目规模较大时,除了开发和生产环境,中间还要有 SIT(系统集成测试)和 UAT(用户验收测试)环境。译者:[@SwiftGG翻译组](http://weibo.com/swiftguide?refer_flag=1005055013_&is_all=1) +* [离屏渲染优化](http://mp.weixin.qq.com/s?__biz=MjM5NTIyNTUyMQ==&mid=2709544818&idx=1&sn=62d0d2e9a363d250beb2d6887dca54b3#rd):本文介绍了关于 iOS 中离屏渲染的相关知识,建议认真阅读以下。作者:[seedante](https://github.com/seedante) +* [文化碰撞:函数式、面向协议、面向对象编程的最佳实践 ](https://realm.io/cn/news/tryswift-daniel-steinberg-blending-cultures/):编写一个 Swift 应用不仅仅是将某个 Objective-C 应用翻译为 Swift,我们还需要采纳 Swift 语言的特点和思想。我们从一个翻译为 Swift 的标准 MVC 表视图应用开始,逐步让这个应用符合 Swift 的语言习惯。作者:[@dimsumthinking](https://twitter.com/dimsumthinking) +* [使用 Quick Look 框架对文件进行预览](https://segmentfault.com/a/1190000005010273):实用的 Quick Look Framework(iOS SDK)使用教程。译者:BigNerdCoding +* [Swift 算法实战之路(一)](http://www.jianshu.com/p/ee16bcf50a59)(作者:[@故胤道长](http://weibo.com/soapyigu)) + + 活学活用,编程小技。 +* [Swift 没有了 BlocksKit,我忍不住自己写了个 ClosuresKit](http://www.jianshu.com/p/c32a8f69c7ab)(作者:[@没故事的卓同学](http://weibo.com/u/1926303682)) ### 经验和评论 * [我在开发第一个 Swift 应用过程中学到的四件事](http://idlelife.org/archives/742):作者为了讲授 iOS 8 App Extensions 视频教程而实际使用 Swift 开发了一款应用的经验及体会。原文:[Four Things I Learned Making My First Swift App](http://www.raywenderlich.com/86278/four-things-learned-making-first-swift-app),来源:Ray Wenderlich,作者:Greg Heo(Ray 公司 Razeware 员工),译者:[@pockry](http://weibo.com/pockry) +* [国外iOS大牛的分享经验和对Swift的看法](http://mp.weixin.qq.com/s?__biz=MzA3ODg4MDk0Ng==&mid=402947148&idx=1&sn=cd80fce3738d9d4b0037f38070b89c0f#rd):“今年1月,我参加了由梁杰组织的Swift大会,这是国内首次由社区组织的移动技术大会,来自国内外的iOS开发大牛为大家奉献了精彩演讲。大会期间我采访了国外讲师Chris和Greg,他们分享了平时是如何工作,如何做分享,以及对Swift的看法。”。来源:[@移动开发前线](http://weibo.com/bornmobile) +* [别让双手闲下来,来做一些练手项目吧](http://swift.gg/2016/03/08/how-to-start-an-ios-app-portfolio/):很接地气的初级学习实践。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@saitjr](http://weibo.com/u/1918545437) * [如果你还在用子类(Subclassing),那就不对了](http://www.jianshu.com/p/80bd6633ec7c):“你可能对我的标题感到诧异。我并不是说子类没有价值,尤其在使用单一继承(single inheritance)的情况下,类和子类当然是强有力的工具。然而我想说的是,iOS日常开发的问题是对类和继承的过度使用...”。作者:[ray16897188](http://www.jianshu.com/users/97c49dfd1f9f/latest_articles) * [一次 Objective-C 到 Swift 的改写之旅](https://github.com/nixzhu/dev-blog/blob/master/2015-05-27-wormhole.md):“既然 Swift 是未来,自然要改写。而改写应当是一种再思考、再设计的过程”。作者:[@nixzhu](http://weibo.com/nixzhu) * [设计师+Xcode:突破产品开发的流程界线](http://www.beforweb.com/node/604):原文作者做为视觉设计师,讲述了采用 Interface Builder 和 Storyboard 与开发小组协同工作的故事。虽然只是一个4人小团队,但清晰的分工协作,使项目有序高效进展。Xcode也让视觉设计师及UX设计师有机会分担部分前端开发工作。原文: [Blurring the lines between design and code](http://ustwo.com/blog/the-billogram-story/),来源:[@BeForWeb](http://weibo.com/beforweb),译者: [@C7210](http://weibo.com/c7210) @@ -148,6 +237,24 @@ What’s New in Swift 2.0: A Brief Introduction](http://www.appcoda.com/swift-2- * [谈谈闭包——以 Swift 为例](http://www.infoq.com/cn/articles/talk-about-closure-taking-swift-as-example):“本文讨论闭包的相关概念,大部分代码使用Swift编写。Swift对闭包有着良好的支持。这是因为,Swift被设计成一门一定程度上支持函数式编程范式的编程语言。而函数式编程和闭包有着紧密的联系。本文着重讨论的也是函数式编程和闭包之间的关系”。作者:郭麟,来源:InfoQ * [设计的权重](http://www.beforweb.com/node/807):一篇重观点、轻结论,通过案例理性地针对设计权重分析、解读文章。“我们反反复复的设计着所谓的“体验”,将大量时间花费在稿子的某些细节当中以实现设计方案的“完美”,竭尽全力将各种设计产出物的表现力度一再提升 - 我们是在设计产品,还是在设计“设计”本身?”。译者:[@C7210](http://weibo.com/c7210) * [内存恶鬼 drawRect](http://bihongbo.com/2016/01/03/memoryGhostdrawRect/):“标题有点吓人,但是对于drawRect的评价倒是一点都不过分。在平日的开发中,随意覆盖drawRect方法,稍有不慎就会让你的程序内存暴增”。附:[续:答疑篇](http://bihongbo.com/2016/01/11/memoryGhostMore/)。作者:[@毕洪博](http://weibo.com/u/5578532822?is_hot=1) +* [当 Swift 中的泛型遇到协议](http://chengway.in/dang-swift-zhong-de-fan-xing-yu-dao-xie-yi/):好译文。译者同学有心地附上了另一篇参考译文《[协变与逆变](http://swift.gg/2015/12/24/friday-qa-2015-11-20-covariance-and-contravariance/)》对照着阅读。P.S. 扎实地基础才能写出好代码。译者:[@walkingway](http://weibo.com/walkingway) +* [Swift中的7个陷阱与如何避免它们](https://developer.ibm.com/swift/2016/01/27/seven-swift-snares-how-to-avoid-them/):好文。表述清晰、直接,这个要转起来。来源:IBM +* [为什么 Swift 中的 String API 如此难用?](http://swift.gg/2016/01/25/friday-qa-2015-11-06-why-is-swifts-string-api-so-hard/):String API 真的很失败吗?作者从字符串表示原理讲起,还原 Swift 的设计思想。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@永远十七岁的Cee妹](http://weibo.com/acgcee) +* [Swift 性能探索和优化分析](https://onevcat.com/2016/02/swift-performance/):“本文将分析一些使用 Swift 进行 iOS/OS X 开发时性能上的考量和做法,同时,笔者结合自己这一年多来使用 Swift 进行开发的经验,也给出了一些对应办法。”。作者:[@onevcat](http://weibo.com/onevcat) +* [如何利用 Github 进行代码审查](https://realm.io/cn/news/codereview-howto/):这个 GitHub 社区同学都值得看一看。P.S. 俺认为对于商业化用途的代码,未经严格代码审查的发布行为是不负责任的,因为它是项目进程(早期)不可缺少的一部分。来源:[Realm](https://realm.io/cn/news/codereview-howto/) +* 设计并非艺术([1. 本质区别](http://www.beforweb.com/node/821),[2. 视觉美学与自我角色](http://www.beforweb.com/node/822)) : “艺术是主观的,设计是客观的:因为艺术是一种自我表达方式,所以创作内容可以完全来自于艺术家本人。而设计是面向使用的,其内容源自于产品目标及其所服务的对象,这些来源都是外在的”。译者:[@C7210](http://weibo.com/c7210) +* [我的开源之旅](http://swift.gg/2016/02/24/the-opensource-experience/):“CocoaPods 的核心开发者 Olivier 讲述他的开源之旅。为什么大家喜欢开源?如何参与开源?参与开源有什么收获?来看看他的故事”。译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@请叫我_小锅_](http://weibo.com/swiftyper) +* [iOS 各种调试技巧豪华套餐](http://www.cnblogs.com/daiweilai/p/4421340.html) By [@David戴未来](http://weibo.com/daiweilai) +* [详解 Xcode 6 的视图调试](http://www.cocoachina.com/ios/20150423/11658.html):教程非常实用,值得学习。另外,教程选用的开源项目([jessesquires/JSQMessagesViewController](https://github.com/jessesquires/JSQMessagesViewController))也很经典。来源:Ray Wenderlich,译者:[@CocoaChina](http://weibo.com/cocoachina) 翻译组 +* [iOS 开发工具列表](http://www.cocoachina.com/ios/20140417/8187.html) By [@CocoaChina](http://weibo.com/cocoachina) +* [Free iOS 9.3 iPhone UI Kit for Illustrator and Sketch](http://mercury.io/blog/free-ios-9-3-iphone-ui-kit-for-illustrator-and-sketch):“来自Mercury.io的iOS 9 UIKit,提供Sketch与Ai两种格式。官网有言:“你已经在用Facebook和MengTo大人出品的UI模板套装了?为什么还要再下载一套?答案很简单:我们的更好。” 亲测,市面上最全最细的UIKit,确实蛮霸道的,拿去做交互稿也不坏。By [@C7210](http://weibo.com/c7210)” +* [iOS主流动画开源库深入分析(一):IBAnimatable](http://www.jianshu.com/p/5faf36e1f700):分三篇深入介绍三个流行的 swift 开源动画库。作者:[没故事的卓同学](http://www.jianshu.com/users/88a056103c02/latest_articles) +* [浅谈 iOS 中的视图优化](http://www.jianshu.com/p/5c968a240e27?utm_campaign=hugo&utm_medium=reader_share&utm_content=note&utm_source=weibo):让我们来思考几个问题,你开发过的产品,它还有可以优化的地方吗?能增加它的帧率吗?能减少多余的 CPU 计算吗?是不是存在多余的GPU渲染?业务这点工作量对于越来越强大的设备面前显得微不足道,但作为一个细心的开发者,我觉得很有必要来谈谈iOS中的视图优化。作者:[kuailejim](http://www.jianshu.com/users/40e4dced948f/latest_articles) +[探索 Swift 中的 MVC-N 模式](https://realm.io/cn/news/slug-marcus-zarra-exploring-mvcn-swift/):Marcus 将会为大家介绍一种设计模式,他曾经在那些需要从互联网进行大量频繁数据请求的 iOS 应用当中使用此设计模式。这个设计采用了著名的 MVC 模式,并且在此基础之上对其进行了扩展,从而允许使用异步网络调用并与用户界面控制器相互隔离。。作者:[@mzarra +](https://twitter.com/mzarra) +* [“错误”的使用 Swift 中的 Extension](http://swift.gg/2016/05/16/using-swift-extensions/)(译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide)) + + 这篇文章通过场景及解读教你如何用对 extension。 ### 网站和博客 * [raywenderlich.com](http://www.raywenderlich.com/):由 Ray Wenderlich 创建,专注于开发高质量编程指南(近期优质Swift文章及视频教程不断),著名的 iOS/OS X 博客及开发教程网站,非常适合新手学习。 @@ -157,8 +264,12 @@ What’s New in Swift 2.0: A Brief Introduction](http://www.appcoda.com/swift-2- * [iOS Dev Weekly](https://iosdevweekly.com/):收录一周以来 iOS 开发资讯链接,并于周五发布。由 [Dave Verwer](http://www.twitter.com/daveverwer) 创办,他是一位 iPhone 和 iPad 开发者以及培训师。 * [SwiftGG](http://swift.gg/):一个走心的 Swift 翻译组,由《The Swift Programming Language》中文版翻译团队原班人马组成, 翻译的文章来源于国外的优秀 Swift 网站和博客,且全部获得作者和网站授权。 * [iosdevtips.co](http://iosdevtips.co):iOS Development Tips +* [awesome-ios-cn](https://github.com/jobbole/awesome-ios-cn):内容包括:框架、组件、测试、Apple Store、SDK、XCode、网站、书籍等 +。维护者:[@唐尤华](http://weibo.com/tangyouhua?is_hot=1) * [Awesome-Swift-Education](https://github.com/hsavit1/Awesome-Swift-Education):整理地如此美妙的学习资源,实在让人太欢喜了。 * [matteocrippa/awesome-swift](https://github.com/matteocrippa/awesome-swift):这个版本的 Swift 资源集合内容丰富,分类也不错。作者:[Matteo Crippa](matteocrippa/awesome-swift) * [Swift Weekly Brief](http://www.jessesquires.com):“这个博客现在每周会将Swift开源中的重要讨论和提交整理成Open source Swift weekly brief,这对一线开发者尽早了解这门语言的动态情报很有帮助。By [@崔康总编](http://weibo.com/cuikang82) ”。来源:[Jesse Squires](http://www.jessesquires.com) +* [Medium - Swift Programming](https://medium.com/swift-programming):好多编程技巧和文章,更新及时效性还不错,值得常关注。来源:Medium * [Top 100 Best Blogs for iOS Developers to Learn and Gain Insights](http://www.softwarehow.com/best-blogs-for-ios-developers/):“iOS 开发者必看的 100 个全球最佳 iOS 博客 By [@CodingTogether](http://weibo.com/u/2510885182)”。 +* [分类、整理、归纳非常清晰的开源 iOS 应用集合](https://github.com/dkhamsing/open-source-ios-apps) |(作者:[dkhamsing](https://github.com/dkhamsing)) diff --git a/Featured.md b/Featured.md index fe2ea764..db411d56 100755 --- a/Featured.md +++ b/Featured.md @@ -1,32 +1,37 @@ ## Swift 开源项目精选 ->站在个人的角度,并基于《[Swift 语言指南](https://github.com/ipader/SwiftGuide)》,针对开源项目做了一个甄别、筛选。当然,由于个人能力及涉足范围所限,还远远不够,其中肯定有偏颇及不足,还望同学们多多见谅。更希望能得到你的帮助和补充,共同参与。 +基于《[Swift 语言指南](https://github.com/ipader/SwiftGuide)》开源项目收录,做了一个甄别和筛选,并辅以一句话介绍。还有开发者们自己维护的《[开发者、项目、最佳实践](https://github.com/ipader/SwiftGuide/wiki/%E5%BC%80%E5%8F%91%E8%80%85%E3%80%81%E9%A1%B9%E7%9B%AE%E3%80%81%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5)》和 《[开发者个人资料页](https://github.com/ipader/SwiftGuide/wiki/%E5%BC%80%E5%8F%91%E8%80%85%E4%B8%AA%E4%BA%BA%E8%B5%84%E6%96%99%E9%A1%B5)》。 -[@SwiftLanguage](http://weibo.com/swiftlanguage) 更新至 2016-1-20,最近新收录 [Scale](https://github.com/onmyway133/Scale), [CaesarParser](https://github.com/lancy/CaesarParser), [ConfigurableTableViewController](https://github.com/fastred/ConfigurableTableViewController), [MockFive](https://github.com/DeliciousRaspberryPi/MockFive), [Zip](https://github.com/marmelroy/Zip), [swiftydb](https://github.com/Oyvindkg/swiftydb), [SwiftyGPIO](https://github.com/uraimo/SwiftyGPIO), [Swindler](https://github.com/tmandry/Swindler), [Chameleon-Swift](https://github.com/unifiedh/Chameleon-Swift), [SwiftAndroid](https://github.com/SwiftAndroid/swift), [Periscope-VideoViewController](https://github.com/gontovnik/Periscope-VideoViewController), [IBAnimatable](https://github.com/JakeLin/IBAnimatable), [Refactorator](https://github.com/johnno1962/Refactorator), [LeanCloud SDK](https://leancloud.cn), [RxSwift](https://github.com/ReactiveX/RxSwift), [FolioReaderKit](https://github.com/FolioReader/FolioReaderKit) 等 16 个,合计已收录 290 个。详见本文档。 +> [@SwiftLanguage](http://weibo.com/swiftlanguage) 更新至 2016-5-17,最近新收录 28 个(详见《[Issue - 53](weekly/Issue-53.md)》),合计已收录 442 个。 ## 目录 -* [“轮子”](#wheel) - * [工具类](#tools) - * [存储类](#storage) - * [网络类](#network) - * [图片类](#pictures) - * [界面类](#interfaces) - * [框架类](#framework) -* [“车子”](#car) - * [示例项目](#demo) - * [完整应用](#projects) +* [工具](#tools) +* [存储](#storage) +* [网络](#network) +* [图片](#pictures) +* [框架](#framework) +* [界面](#interfaces) +* [示例](#demo) +* [应用](#projects) -### “轮子” -* 工具类 - - 项目 | 开发者 | 备注 ------------- | ------------- | ------------- -[SwiftyJSON](https://github.com/SwiftyJSON/SwiftyJSON)|[tangplin](https://github.com/tangplin), [lingoer](https://github.com/lingoer)|GitHub 上最为开发者认可的 JSON 解析库 -[Argo](https://github.com/thoughtbot/Argo)|[thoughtbot](https://github.com/thoughtbot)|函数式 JSON 解析库 + +### 工具 +> 备注栏 🔗 或 📝 链接详细介绍或最佳实践。其中 🔗 - 指外链接,📝 - 指 Wiki 可编辑 + +项目 | 开发者 | 备注 +--- | --- | --- +[SwiftyJSON](https://github.com/SwiftyJSON/SwiftyJSON)|[tangplin](https://github.com/tangplin), [lingoer](https://github.com/lingoer)|GitHub 上最为开发者认可的 JSON 解析库 [🔗](http://tangplin.github.io/swiftyjson/) +[JASON](https://github.com/delba/JASON)|[Damien](https://github.com/delba/)|高速 JSON 解析类库 +[Argo](https://github.com/thoughtbot/Argo)|[thoughtbot](https://github.com/thoughtbot)|函数式 JSON 解析库 [🔗](https://robots.thoughtbot.com/introducing-argo-10-more-power-more-fun) [JSONCodable](https://github.com/matthewcheok/JSONCodable)|[Matthew Cheok](https://github.com/matthewcheok)|基于 Swift 2 新特性的 JSON 解析库 [Decodable](https://github.com/Anviking/Decodable)|[Johannes Lund](https://github.com/Anviking)|Swift 2 版 JSON 解析(对象映射)库 [CaesarParser](https://github.com/lancy/CaesarParser)|[@晨钰Lancy](http://weibo.com/lancy1014)|这款 JSON 解析类库比较简洁、耐用 +[TidyJSON](https://github.com/benloong/TidyJSON)|[@benloong](https://github.com/benloong/)|简单易用Swift全平台JSON库 +[Freddy](https://github.com/bignerdranch/Freddy)|[Big Nerd Ranch](https://github.com/bignerdranch)|充分考虑 Swift 固有语法的 JSON 解析类 +[PMJSON](https://github.com/postmates/PMJSON)|[Postmates](https://github.com/postmates)|简单、实用、高效的 JSON 解析类库 +[TryParsec](https://github.com/inamiy/TryParsec)|[Yasuhiro Inami](https://github.com/inamiy)|支持 CSV, XML, JSON 以及简单算术表达式解析工具库 [Mirror](https://github.com/kostiakoval/Mirror)|[Kostiantyn Koval](https://github.com/kostiakoval)|通过反射实现镜像对象封装库 +[JSONExport](https://github.com/Ahmed-Ali/JSONExport)|[Ahmed-Ali](https://github.com/Ahmed-Ali)|将 JSON 迅速转换为 Model(Swift, Java, OC) [Dollar.swift](https://github.com/ankurp/Dollar.swift) |[Ankur Patel](https://github.com/ankurp)|Swift 版 Lo-Dash (或 underscore )函数式工具库 [protobuf-swift](https://github.com/alexeyxo/protobuf-swift)|[Alexey Khokhlov](https://github.com/alexeyxo)|Protocol Buffers 的 Swift 语言实现库 [SwiftMoment](https://github.com/akosma/SwiftMoment)|[Adrian Kosmaczewski](https://github.com/akosma)|Swift 版 [Moment.js](http://momentjs.com/) @@ -34,18 +39,20 @@ [OAuthSwift](https://github.com/dongri/OAuthSwift)|[Dongri Jin](https://github.com/dongri)|国外主流网站 OAuth 授权类库 [PathKit](https://github.com/kylef/PathKit)|[Kyle Fuller](http://kylefuller.co.uk)|小而美的路径管理类 [SwiftyBeaver](https://github.com/skreutzberger/SwiftyBeaver)|[Sebastian Kreutzberger](https://github.com/skreutzberger)|多彩的日志输出类,支持 Xcode 或 log 文件 -[XCGLogger](https://github.com/DaveWoodCom/XCGLogger)|[Dave Wood](https://github.com/tangplin)|功能完整的日志管理类库 +[XCGLogger](https://github.com/DaveWoodCom/XCGLogger)|[Dave Wood](https://github.com/DaveWoodCom)|功能完整的日志管理类库 [CleanroomLogger](https://github.com/emaloney/CleanroomLogger)|[emaloney](https://github.com/emaloney)|相当于 CocoaLumberjack 或 Log4j -[honghaoz/Loggerithm](https://github.com/honghaoz/Loggerithm)|[张宏昊](https://github.com/honghaoz)|靠谱的日志管理输出类库 +[Loggerithm](https://github.com/honghaoz/Loggerithm)|[张宏昊](https://github.com/honghaoz)|靠谱的日志管理输出类库 +[Log](https://github.com/delba/Log)|[Damien](https://github.com/delba)|可定制输出格式、主题风格 [Surge](https://github.com/mattt/Surge) |[Mattt Thompson ](https://github.com/mattt)|基于苹果 Accelerate 高性能计算框架封装库 [Watchdog](https://github.com/wojteklukaszuk/Watchdog)|[Wojtek Lukaszuk](https://github.com/wojteklukaszuk)|实时监视主线程运行或堵塞情况 [Async](https://github.com/duemunk/Async)|[Due Munk](http://developmunk.dk/)|简洁的后台执行代码封装库 +[Validated](https://github.com/Ben-G/Validated)|[Benjamin Encz](https://github.com/Ben-G)|通过值验证或限定,快速定义新类型的微类库 [Regex](https://github.com/sharplet/Regex)|[Adam Sharp](https://github.com/sharplet)|实用的正则表达式微框架类库 [Future](https://github.com/nghialv/Future)|[Le Van Nghia](https://github.com/nghialv)|基于微框架设计的异步执行及结果响应类 [Euler](https://github.com/mattt/Euler)|[Mattt Thompson ](https://github.com/mattt)|直观、简洁的数学表达式 ∛27÷3+∑[3,1,2] [Scale](https://github.com/onmyway133/Scale)|[Khoa Pham](https://github.com/onmyway133)|单位计算及换算类库 [SigmaSwiftStatistics](https://github.com/evgenyneu/SigmaSwiftStatistics)|[Evgenii Neumerzhitckii](https://github.com/evgenyneu)|统计类计算函数集类库。简单、实用 -[kylef/Spectre](https://github.com/kylef/Spectre)|[Kyle Fuller](https://github.com/kylef)|BDD 框架,写小清新代码 +[Spectre](https://github.com/kylef/Spectre)|[Kyle Fuller](https://github.com/kylef)|BDD 框架,写小清新代码 [LocationManager](https://github.com/varshylmobile/LocationManager)|[Jimmy Jose](https://github.com/varshylmobile)|地理位置管理封装库 [GEOSwift](https://github.com/andreacremaschi/GEOSwift)|[Andrea Cremaschi](https://github.com/andreacremaschi)|轻松地处理地理对象模型和相关地形操作 [Siren](https://github.com/ArtSabintsev/Siren)|[Ariel Sabintsev](https://github.com/ArtSabintsev)|当应用更新时,通知用户并提供App Store链接 @@ -65,7 +72,7 @@ [Timepiece](https://github.com/naoty/Timepiece)|[Naoto Kaneko](https://github.com/naoty)|日期加减运算、初始设置、变更以及格式解析 [SwiftDate](https://github.com/malcommac/SwiftDate)|[Daniele Margutti](https://github.com/malcommac)|几乎涵盖了已知开源日期类库所有优秀特性 [SwiftyTimer](https://github.com/radex/SwiftyTimer)|[Radek Pietruszewski](https://github.com/radex)|一个更友好、更简单的时间操作 NSTimer 扩展 -[SwiftSequence](https://github.com/oisdk/SwiftSequence)|[oisdk](https://github.com/oisdk)|简洁、灵活、多变的操作 SequenceType +[SwiftSequence](https://github.com/oisdk/SwiftSequence)|[Oisin Kidney](https://github.com/oisdk)|简洁、灵活、多变的操作 SequenceType [Parsimmon](https://github.com/ayanonagon/Parsimmon)|[Ayaka Nonaka](https://github.com/ayanonagon)|小而美的自然语言分析工具包,参考 [NSLinguistic​Tagger](http://nshipster.cn/nslinguistictagger/) [SwiftPriorityQueue](https://github.com/davecom/SwiftPriorityQueue)|[David Kopec](https://github.com/davecom)|通用优先级队列数据结构实现类 [Result](https://github.com/antitypical/Result)|[Antitypical](https://github.com/antitypical)|精巧实用的 success/failure 小类库 @@ -78,7 +85,7 @@ [SWXMLHash](https://github.com/drmohundro/SWXMLHash)|[David Mohundro](https://github.com/drmohundro)|易用的 XML 解析类库 [FileKit](https://github.com/nvzqz/FileKit)|[Nikolai Vazquez](https://github.com/nvzqz)|使用简单、功能完整的文件管理工具库类 [QueryKit](https://github.com/QueryKit/QueryKit)|[Kyle Fuller](https://github.com/kylef)|使用简单、功能完善的 CoreData 查询类库 -[madebybowtie/FlagKit](https://github.com/madebybowtie/FlagKit)|[Bowtie](https://github.com/madebybowtie)|漂亮、完整的国旗小图标工具集 +[FlagKit](https://github.com/madebybowtie/FlagKit)|[Bowtie](https://github.com/madebybowtie)|漂亮、完整的国旗小图标工具集 [Zephyr](https://github.com/ArtSabintsev/Zephyr)|[Arthur Ariel Sabintsev](https://github.com/ArtSabintsev)|将 NSUserDefaults 数据同步 iCould 实用工具类 [EZSwiftExtensions](https://github.com/goktugyil/EZSwiftExtensions)|[Goktug Yilmaz](https://github.com/goktugyil)|让 Swift 基础类型及基础类更容易访问扩展 [SwiftVerbalExpressions](https://github.com/VerbalExpressions/SwiftVerbalExpressions)|[VerbalExpressions](https://github.com/VerbalExpressions)|通过函数方式编写复杂正则表达式 @@ -87,26 +94,47 @@ [Then](https://github.com/devxoul/Then)|[Suyeol Jeon](https://github.com/devxoul)|不失可读性前提下简化初始化语法 [Chirp](https://github.com/trifl/Chirp)|[trifl](https://github.com/trifl)|应用中装载、播放、停止声音文件 [Zip](https://github.com/marmelroy/Zip)|[Roy Marmelstein](https://github.com/marmelroy)|基于 [minizip](https://github.com/nmoinvaz/minizip) 的解、压缩框架库 +[Every.swift](https://github.com/samhann/Every.swift)|[Samhan Salahuddin](https://github.com/samhann)|定时重复执行代码段工具类库 +[Tentacle](https://github.com/mdiep/Tentacle)|[Matt Diephouse](https://github.com/mdiep)|构建于 ReactiveCocoa 的 GitHub API +[BTree](https://github.com/lorentey/BTree)|[Károly Lőrentey](https://github.com/lorentey/)|基于 B-Tree 更优执行性能的集合类型实现 +[Duration](https://github.com/SwiftStudies/Duration)|[Swift Studies](https://github.com/SwiftStudies)|测量代码片段执行时间 +[AIToolbox](https://github.com/KevinCoble/AIToolbox)|[Kevin Coble](https://github.com/KevinCoble)|AI 主流模块集工具箱库 +[Reductio](https://github.com/fdzsergio/Reductio)|[Sergio Fernández](https://github.com/fdzsergio)|基于 TextRank 算法提取文章或段落的关键词或总结 +[swift-pons](https://github.com/dankogai/swift-pons)|[Dan Kogai](https://github.com/dankogai)|面向协议的不受长度限制数字类型及数学计算扩充类库 +[Unbox](https://github.com/JohnSundell/Unbox)|[John Sundell](https://github.com/JohnSundell)|极为易用、轻量,更少辅助代码的 JSON 解析类 +[Lyft](https://github.com/genadyo/Lyft)|[Genady Okrain](https://github.com/genadyo)|面向 Lyft 开发者的 API +[Venice](https://github.com/VeniceX/Venice)|[Venice](https://github.com/VeniceX)|让 Swift 3 提前支持协程 +[SwiftNotificationCenter](https://github.com/100mango/SwiftNotificationCenter)|[100mango](https://github.com/100mango)|面向协议、安全可靠的通知中心实用封装库 +[ClosuresKit](https://github.com/lacklock/ClosuresKit)|[Zhuo](https://github.com/lacklock)|启发自 BlocksKit 的实用工具库 +[TempiBeatDetection](https://github.com/jscalo/TempiBeatDetection)|[John Scalo](https://github.com/jscalo)|音乐节奏节拍检测库 +[SwiftyOAuth](https://github.com/delba/SwiftyOAuth)|[Damien](https://github.com/delba)|极为小巧、易用的 OAuth 授权类库 +[Github.swift](https://github.com/onmyway133/Github.swift)|[Khoa Pham](https://github.com/onmyway133)|功能相对完整的 Github API 客户端 +[FlatBuffersSwift](https://github.com/mzaks/FlatBuffersSwift)|[Myaxim Zaks](https://github.com/mzaks)|Swift 版 FlatBuffers 实现类 -* 存储类 +### 存储 - 项目 | 开发者 | 备注 +项目 | 开发者 | 备注 ------------ | ------------- | ------------- [AlecrimCoreData](https://github.com/Alecrim/AlecrimCoreData)|[Alecrim](https://github.com/Alecrim)|更容易地访问 CoreData 对象封装类库 [SQLite.swift](https://github.com/stephencelis/SQLite.swift)|[Stephen Celis](http://stephencelis.com)|简单、轻量,使用上最 SQL 的 SQLite 封装库 [Realm](https://github.com/realm/realm-cocoa)|[Realm](http://realm.io)|志向代替 Core Data 和 SQLite 的移动数据库 -[swiftydb](https://github.com/Oyvindkg/swiftydb)|[Øyvind Grimnes](https://github.com/Oyvindkg)|SQLite O-R 映射工具类库 +[swiftydb](https://github.com/Oyvindkg/swiftydb)|[Øyvind Grimnes](https://github.com/Oyvindkg)|SQLite O-R 映射工具类库 [🔗](http://swift.gg/2016/05/17/swiftydb/) [SwiftRecord](https://github.com/arkverse/SwiftRecord)|[ark](https://github.com/arkverse)|基于 Core Data 极为轻量、易用的对象持久化工具库 [CoreValue](https://github.com/terhechte/CoreValue)|[Benedikt Terhechte](https://github.com/terhechte)|Swift 2 版 Core Data 封装库[PhoneNumberKit](https://github.com/marmelroy/PhoneNumberKit)|[Roy Marmelstein](https://github.com/marmelroy)|解析、格式化及验证国际电话号码工具库 [Pantry](https://github.com/nickoneill/Pantry)|[Nick O'Neill](https://github.com/nickoneill)|可以持久化基础类型变量值的类库 [GRDB.swift](https://github.com/groue/GRDB.swift)|[Gwendal Roué](https://github.com/groue)|让操作 SQLite 再简单一点 +[Graph](https://github.com/CosmicMind/Graph)|[CosmicMind](https://github.com/CosmicMind)|CoreData 持久化类库,设计新颖、使用简单 +[fluent](https://github.com/qutheory/fluent)|[Qutheory](https://github.com/qutheory)|快速实现 CRUD 操作的对象存储类库 +[Cache](https://github.com/hyperoslo/Cache)|[Hyper](https://github.com/hyperoslo)|多类型数据混合缓存库 +[FlatBuffersSwift](https://github.com/mzaks/FlatBuffersSwift)|[Myaxim Zaks](https://github.com/mzaks)|Swift 版 FlatBuffers 实现类 -* 网络类 +### 网络 - 项目 | 开发者 | 备注 +项目 | 开发者 | 备注 ------------ | ------------- | ------------- -[Alamofire](https://github.com/Alamofire/Alamofire) |[Mattt Thompson](https://github.com/mattt)|著名的 AFNetworking 络基础库 Swift 语言版 - [AlamofireImage](https://github.com/Alamofire/AlamofireImage)|[Christian Noon](https://github.com/cnoon)|基于 Alamofire 的网络图片组件库 +[Alamofire](https://github.com/Alamofire/Alamofire) |[Mattt Thompson](https://github.com/mattt)|著名的 AFNetworking 络基础库 Swift 语言版 [📝](https://github.com/ipader/SwiftGuide/wiki/Alamofire%20%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5) +[AlamofireImage](https://github.com/Alamofire/AlamofireImage)|[Christian Noon](https://github.com/cnoon)|基于 Alamofire 的网络图片组件库 +[Networking](https://github.com/3lvis/Networking)|[Elvis Nuñez](https://github.com/3lvis)|使用简单、功能惊喜的网络封装库 [starscream](https://github.com/daltoniam/starscream)|[Dalton](http://daltoniam.com)|WebSocket 客户端类库 [SocketIO-Kit](https://github.com/ricardopereira/SocketIO-Kit)|[Ricardo Pereira](https://github.com/ricardopereira)|基于 [Starscream](https://github.com/daltoniam/Starscream) 的 socket.io 实现 [SwiftWebSocket](https://github.com/tidwall/SwiftWebSocket)|[Josh Baker](https://github.com/tidwall)|WebSocket 协议(RFC 6455)实现类库 @@ -118,19 +146,25 @@ [R.swift](https://github.com/mac-cain13/R.swift)|[Mathijs Kadijk](https://github.com/mac-cain13/)|Hardcode 字符串配置 [NetReachability](https://github.com/liufan321/NetReachability)|[Fan Liu](https://github.com/liufan321)|检查网络连接的连通性 [Reachability.swift](https://github.com/ashleymills/Reachability.swift)|[Ashley Mills](https://github.com/ashleymills)|检测网络连通性实用工具库 -[MonkeyKing](https://github.com/nixzhu/MonkeyKing)|[@nixzhu](weibo.com/nixzhu)|信息递交中文社交网络 +[MonkeyKing](https://github.com/nixzhu/MonkeyKing)|[@nixzhu](http://weibo.com/nixzhu)|信息递交中文社交网络 +[CocoaMQTT](https://github.com/emqtt/CocoaMQTT)|[emqtt](https://github.com/emqtt)|Swift 2 版 MQTT v3.1.1 客户端库 -* 图片类 +### 图片 - 项目 | 开发者 | 备注 +项目 | 开发者 | 备注 ------------ | ------------- | ------------- [ImageScout](https://github.com/kaishin/ImageScout) |[Reda Lemeden](http://redalemeden.com)|最小网络代价获得图片大小及类型 [DominantColor](https://github.com/indragiek/DominantColor)|[Indragie Karunaratne](http://indragie.com)|提取图片主色示例项目 +[BCColor](https://github.com/boycechang/BCColor)|[@Boyce_Chang](http://weibo.com/u/1897577113)|开源的轻量而强大的颜色处理库 [Toucan](https://github.com/gavinbunney/Toucan)|[Gavin Bunney](https://github.com/gavinbunney)|小而美的图片变换及处理类 [gifu](https://github.com/kaishin/gifu)|[Reda Lemeden](http://redalemeden.com)|高性能 GIF 显示类库 [XAnimatedImage](https://github.com/khaledmtaha/XAnimatedImage)| [Khaled Taha](https://github.com/khaledmtaha)|基于 FLAnimatedImage 高性能 GIF 显示类库 +[SwiftyGif](https://github.com/kirualex/SwiftyGif)|[Alexis Creuzot](https://github.com/kirualex)|高性能 Gif 播放引擎 +[JWAnimatedImage](https://github.com/wangjwchn/JWAnimatedImage)|[王佳玮](https://github.com/wangjwchn)|高性能 GIF&APNG 显示库,对多动图显示的场景进行了优化 +[MetalAcc](https://github.com/wangjwchn/MetalAcc)|[王佳玮](https://github.com/wangjwchn)|基于GPU的多媒体处理库,使用了Apple最新的图像处理接口'Metal' [apngkit](https://github.com/onevcat/apngkit)|[@onevcat](http://weibo.com/onevcat)|解析和显示 APNG 的框架 [HanekeSwift](https://github.com/Haneke/HanekeSwift)|[Haneke](https://github.com/Haneke)|轻量带缓存高性能图片加载组件 +[MetalAcc](https://github.com/wangjwchn/MetalAcc)|[王佳玮](http://weibo.com/u/5228362742)|基于 GPU 的多媒体处理库 [SwiftColorArt](https://github.com/Jan0707/SwiftColorArt)|[Jan Gregor Triebel](https://github.com/Jan0707)|图片色系决定界面背景色及字体显示颜色 [UIImageColors](https://github.com/jathu/UIImageColors)|[jathu](https://github.com/jathu)|功能同上。获取主色、次色、背景色、详细色 [Concorde](https://github.com/contentful-labs/Concorde)|[contentful-labs](https://github.com/contentful-labs)|一个可用于下载和解码渐进式 JPEG 的库 @@ -139,15 +173,97 @@ [DynamicColor](https://github.com/yannickl/DynamicColor)|[Yannick Loriot](https://github.com/yannickl)|得到不同深浅、饱和度、灰度、色相,以及反转后的新颜色 [Nuke](https://github.com/kean/Nuke)|[Alexander Grebenyuk](https://github.com/kean)|完整、强大、实用的图片管理类库 [Filterpedia](https://github.com/FlexMonkey/Filterpedia)|[simon gladman](https://github.com/FlexMonkey)|Core Image 下强大的图片滤镜类库演示应用 +[sweetcorn](https://github.com/FlexMonkey/sweetcorn)|[simon gladman](https://github.com/FlexMonkey)|UI 配置生成图像滤镜代码 +[SwiftSVG](https://github.com/mchoe/SwiftSVG)|[Michael Choe](https://github.com/mchoe)|支持多种接口绘制 SVG 类库 +[SwiftOCR](https://github.com/garnele007/SwiftOCR)|[Nicolas Camenisch](https://github.com/garnele007/)|识别字母和数字相较于 Tesseract 有压倒性优势 OCR +[PHImageKit](https://github.com/producthunt/PHImageKit)|[Product Hunt](https://github.com/producthunt)|带下载及缓存的 GIF 播放组件库 + +### 框架 + +项目 | 开发者 | 备注 +------------ | ------------- | ------------- +[PromiseKit](https://github.com/mxcl/PromiseKit)|[Max Howell](https://github.com/mxcl) |Swift 化的 Promise 类库 +[then](https://github.com/s4cha/then)|[S4cha](https://github.com/s4cha)|极为简洁的 Promise 轻量实现 +[Bolts-Swift](https://github.com/BoltsFramework/Bolts-Swift)|[BoltsFramework](https://github.com/BoltsFramework)|任务管理 futures/promises 异步实现 +[AsyncDisplayKit](https://github.com/facebook/AsyncDisplayKit)|[facebook](https://github.com/facebook/)|提供界面的高流畅性切换及更灵敏的响应 +[Cartography](https://github.com/robb/Cartography)|[Robert Böhnke](http://robb.is)|基于代码级的自动布局封装框架 +[Stevia](https://github.com/s4cha/Stevia)|[S4cha](https://github.com/s4cha)|简单、直观的纯代码自动布局类库 +[MMWormhole](https://github.com/mutualmobile/MMWormhole)|[Mutual Mobile](http://www.mutualmobile.com/)|iOS 扩展与宿主应用的通讯框架 +[Wormhole](https://github.com/nixzhu/Wormhole)|[@nixzhu](http://weibo.com/nixzhu)|[MMWormhole](https://github.com/mutualmobile/MMWormhole) 的纯 Swift 版本 +[NetworkObjects](https://github.com/colemancda/NetworkObjects)|[Coleman Miller](http://colemancda.com)|轻量版 HttpServer 框架,跨平台解决方案 +[SwiftFoundation](https://github.com/PureSwift/SwiftFoundation)|[PureSwift](https://github.com/PureSwift)|跨平台(支持 Linux)、面向协议编程基础库 +[MotionKit](https://github.com/MHaroonBaig/MotionKit)|[Haroon Baig](https://github.com/MHaroonBaig)|方便使用三轴陀螺仪、加速感应器及磁力仪 +[Jetstream](https://github.com/uber/jetstream-ios)|[Uber](https://github.com/uber)| 支持多用户实时通讯的 MVC 框架 +[SwiftSpace](https://github.com/FlexMonkey/SwiftSpace)|[simon gladman](https://github.com/FlexMonkey)|通过重力感应、陀螺仪、摄像头等常用传感器进行三维绘图 +[JSQNotificationObserverKit](https://github.com/jessesquires/JSQNotificationObserverKit)|[Jesse Squires](https://github.com/jessesquires)|轻量、易用的通知发送及响应框架类库 +[X](https://github.com/soffes/X)|[Sam Soffes](https://github.com/soffes)|iOS/OS X 平台统一开发类库 +[TouchVisualizer](https://github.com/morizotter/TouchVisualizer)|[Morita Naoki](https://github.com/morizotter)|实用的多点触摸可视化组件 +[Bond](https://github.com/SwiftBond/Bond)|[Bond](https://github.com/SwiftBond)|使用简单、易于理解的对象绑定框架 +[Prototope](https://github.com/Khan/Prototope)|[Khan Academy](https://github.com/Khan)|一款轻量的 Javascript 桥接 Swift 库 +[XcodeServerSDK](https://github.com/czechboy0/XcodeServerSDK)|[Honza Dvorsky](https://github.com/czechboy0)|非官方 Xcode Server SDK 封装库 +[ios-universal-webview-boilerplate](https://github.com/nabilfreeman/ios-universal-webview-boilerplate)|[Freeman](https://github.com/nabilfreeman)|快速封装 WebApp 到 iOS 应用 +[Perfect](https://github.com/PerfectlySoft/Perfect)|[PerfectlySoft](https://github.com/PerfectlySoft)|打造专业应用服务器开始 +[Zewo](https://github.com/Zewo/Zewo)|[Zewo](https://github.com/Zewo)|底层库组件化超强大中间件框架 +[Kitura](https://github.com/IBM-Swift/Kitura)|[Swift@IBM](https://github.com/IBM-Swift)|IBM Swift 开发组的开源 Web 服务器 +[Express](https://github.com/crossroadlabs/Express)|[Crossroad Labs](crossroadlabs/Express)|Swift 版 Express.js 风格应用服务器 +[Swifton](https://github.com/necolt/Swifton)|[NECOLT](https://github.com/necolt)|Ruby on Rails 风格 Web 服务器框架 +[Epoch](https://github.com/Zewo/Epoch)|[Zewo](https://github.com/Zewo)|独立于平台的 Http 服务器 +[swift-http](https://github.com/huytd/swift-http)|[Henry Tr.](https://github.com/huytd)|符合开放平台规范的最简 HTTP 示例服务器 +[Curassow](https://github.com/kylef/Curassow)|[Kyle Fuller](https://github.com/kylef) |简单、高效、低耦专业 Web 服务器及示例 +[swifter](https://github.com/glock45/swifter)|[Damian Kołakowski](https://github.com/glock45)|轻量的 HTTP 服务器引擎 +[vapor](https://github.com/tannernelson/vapor)|[Tanner](https://github.com/tannernelson)|更轻量、小巧型,且方便二次开发的 Web 服务器 +[blackfish](https://github.com/elliottminns/blackfish)|[Elliott Minns](https://github.com/elliottminns)|基于 Node.js/Express 风格的 Web 服务器 +[CKSIncrementalStore](https://github.com/CloudKitSpace/CKSIncrementalStore)|[CloudKitSpace](https://github.com/CloudKitSpace)|基于 CloudKit 服务器实现多终端数据同步 +[apous](https://github.com/owensd/apous)|[David Owens II](https://github.com/owensd)|让 Swift 成为脚本语言 +[RxSwift](https://github.com/ReactiveX/RxSwift)|[ReactiveX](https://github.com/ReactiveX)|让事件驱动应用更容易进行管理 +[Interstellar](https://github.com/JensRavens/Interstellar)|[Jens Ravens](https://github.com/JensRavens)|简单、轻量的函数响应式编程框架 +[mattress](https://github.com/buzzfeed/mattress)|[BuzzFeed](https://github.com/buzzfeed)|离线缓存 Web 浏览内容 +[BluetoothKit](https://github.com/rasmusth/BluetoothKit)|[Rasmus Taulborg Hummelmose](https://github.com/rasmusth)|基于 CoreBluetooth API 跨设备间蓝牙通讯封装类库 +[RxBluetoothKit](https://github.com/Polidea/RxBluetoothKit)|[Polidea](https://github.com/Polidea/)|基于 RxSwift 的蓝牙通讯库 +[Erik](https://github.com/phimage/Erik)|[phimage](https://github.com/phimage)|主要应用于网页功能测试 +[Chatto](https://github.com/badoo/Chatto)|[Badoo Development](https://github.com/badoo)|轻量级聊天应用框架及示例 +[ALCameraViewController](https://github.com/AlexLittlejohn/ALCameraViewController)|[Alex Littlejohn](https://github.com/AlexLittlejohn)|摄像头视图控制器 +[Swift-AI](https://github.com/collinhundley/Swift-AI)|[Collin Hundley](https://github.com/collinhundley)|开发中的 AI 及机器学习库 +[Popsicle](https://github.com/DavdRoman/Popsicle)|[David Román](https://github.com/DavdRoman)|内置支持 UIKit 的插值框架类库及演示 +[C4iOS](https://github.com/C4Framework/C4iOS)|[-- C4 --](https://github.com/C4Framework)|用更少的代码,创建最佳应用体验库 +[BothamUI](https://github.com/Karumi/BothamUI)|[Karumi](https://github.com/Karumi)|MVP 框架库及示例 +[ReduxKit](https://github.com/ReduxKit/ReduxKit)|[ReduxKit](https://github.com/ReduxKit)|新颖的状态流记录框架 +[SwiftyGPIO](https://github.com/uraimo/SwiftyGPIO)|[Umberto Raimondi](https://github.com/uraimo)| 控制 C.H.I.P. 或树莓派的 GPIOs +[Swindler](https://github.com/tmandry/Swindler)|[Tyler Mandry](https://github.com/tmandry)|管理 OS X 应用窗口框架 +[Chameleon-Swift](https://github.com/unifiedh/Chameleon-Swift)|[Daniel Hong](https://github.com/unifiedh)|将 iOS API 移植到 OS X 的高度实验性项目 +[SwiftAndroid](https://github.com/SwiftAndroid/swift)| [SwiftAndroid](https://github.com/SwiftAndroid)|苹果swift开源分支,写 Android 应用,详见:[Getting started](https://github.com/SwiftAndroid/swift/wiki/Getting-started) +[FolioReaderKit](https://github.com/FolioReader/FolioReaderKit)|[FolioReader](https://github.com/FolioReader)|ePub 阅读器及解析框架库 +[LeanCloud SDK](https://leancloud.cn)|[LeanCloud](https://github.com/leancloud)|数据存储、用户管理、消息推送、应用统计、社交分享、实时聊天等服务 +[Localize-Swift](https://github.com/marmelroy/Localize-Swift)|[Roy Marmelstein](https://github.com/marmelroy)|国际化及本地化字符串框架库 +[AudioKit](https://github.com/audiokit/AudioKit)|[AudioKit](https://github.com/audiokit)|音频合成、加工及分析平台框架库 +[URLNavigator](https://github.com/devxoul/URLNavigator)|[Jeon Suyeol](https://github.com/devxoul)|URL 与 view controllers 导航映射 +[Heimdall](https://github.com/henrinormak/Heimdall)|[Henri Normak](https://github.com/henrinormak)|易用的加、解密安全框架(AES/RSA)库 +[RealmIncrementalStore](https://github.com/eure/RealmIncrementalStore)|[エウレカ](https://github.com/eure)|集 Realm 数据库和 CoreData 对象模型两者优势 +[SoundCloudSwift](https://github.com/pepibumur/SoundCloudSwift)|[Pedro Piñera Buendía](https://github.com/pepibumur)|SoundCloud 全平台客户端,功能完整、易于集成 +[turbolinks-ios](https://github.com/turbolinks/turbolinks-ios)|[Turbolinks](https://github.com/turbolinks)|提供了导航效率更高的本地适配及hybrid 方案 +[Kingsroad](https://github.com/ricebook/Kingsroad)|[ENJOY](https://github.com/ricebook)|hybrid 框架,兼容 Cordova 的 JS 接口 +[SwiftyStoreKit](https://github.com/bizz84/SwiftyStoreKit)|[Andrea Bizzotto](https://github.com/bizz84)|轻量、易用的极简购买框架库 +[Permission](https://github.com/delba/Permission)|[Damien](https://github.com/delba)|统一的 API 请求 iOS 本地设备及资源权限类库 +[Appz](https://github.com/SwiftKitz/Appz)|[Kitz](https://github.com/SwiftKitz)|深入参数级别的外部应用启动器 +[WKZombie](https://github.com/mkoehnke/WKZombie)|[Mathias Köhnke](https://github.com/mkoehnke)|浏览器内快速导航或切换到指定页面 +[SwiftyGPIO](https://github.com/uraimo/SwiftyGPIO)|[Umberto Raimondi](https://github.com/uraimo)|控制基于 Linux 主板(比如:C.H.I.P. 和 树莓派)的 GPIO +[GPUImage2](https://github.com/BradLarson/GPUImage2)|[Brad Larson](https://github.com/BradLarson)|基于 GPU 图像和视频处理框架库) +[LeeGo](https://github.com/wangshengjia/LeeGo)|[@ShengjiaWANG](http://weibo.com/u/1739447693)|UI 开发变得像玩乐高积木一样简单直观 +[SwiftTweaks](https://github.com/Khan/SwiftTweaks)|[Khan Academy](https://github.com/Khan)|不用重新编译即可调整 UI 配置 +[PatronKit](https://github.com/MosheBerman/PatronKit)|[Moshe](https://github.com/MosheBerman)|应用内购及赞助管理框架库 +[Material](https://github.com/CosmicMind/Material)|[CosmicMind](https://github.com/CosmicMind)|Material Design 动画及图形框架库 +[Render](https://github.com/alexdrone/Render)|[Alex Usbergo](https://github.com/alexdrone)|启发自 React 的函数版 UIKit 封装库 +[Interpolate](https://github.com/marmelroy/Interpolate)|[Roy Marmelstein](https://github.com/marmelroy)|手势驱动交互式转场动画框架库 -* 界面类 +### 界面 - 项目 | 开发者 | 备注 +项目 | 开发者 | 备注 ------------ | ------------- | ------------- [Spring](https://github.com/MengTo/Spring)|[Meng To](https://github.com/MengTo)| 提供动画调试功能的强大动画的 API 库 [ReactiveAnimation](https://github.com/ReactiveCocoa/ReactiveAnimation)|[ReactiveCocoa](https://github.com/ReactiveCocoa/)|知名ReactiveAnimation 的 Swift 版子项目 [DKChainableAnimationKit](https://github.com/Draveness/DKChainableAnimationKit)|[Draveness](https://github.com/Draveness)|高可读、链式代码风格动画框架库。 -[suguru/Cheetah](https://github.com/suguru/Cheetah)|[Suguru Namura](https://github.com/suguru)|易用、高可读链式动画类库 +[Advance](https://github.com/storehouse/Advance)|[Storehouse](https://github.com/storehouse)|侧重在手势交互、帧动画、自定义动画及仿真类型的动画框架库 +[Cheetah](https://github.com/suguru/Cheetah)|[Suguru Namura](https://github.com/suguru)|易用、高可读链式动画类库 [SwiftGraphics](https://github.com/schwa/SwiftGraphics)|[Jonathan Wight](https://github.com/schwa)|易学、易用的绘图工具库封装 [animated-tab-bar](https://github.com/Ramotion/animated-tab-bar)|[Ramotion](https://github.com/Ramotion)|灵动的动画标签栏类库,storyboard中使用 [Eureka](https://github.com/xmartlabs/Eureka)|[XMARTLABS](https://github.com/xmartlabs)|功能强大的表单(XLForm)组件库 @@ -157,39 +273,50 @@ [Static](https://github.com/venmo/Static)|[Venmo](https://github.com/venmo)|使用简单、功能强大地静态表格视图组件 [BWWalkthrough](https://github.com/ariok/BWWalkthrough)|[Yari](https://github.com/ariok)|界面切换中加入灵动的动画效果 [ios-charts](https://github.com/danielgindi/ios-charts)|[Daniel Gindi](https://github.com/danielgindi)|Android 图表开源库 MPAndroidChart 的 Swift 版 +[react-native-ios-charts](https://github.com/Jpadilla1/react-native-ios-charts)|[Jose Padilla](https://github.com/Jpadilla1)|将 [ios-charts](https://github.com/danielgindi/ios-charts) 引入 React Native 的图表组件库 [PNChart-Swift](https://github.com/kevinzhow/PNChart-Swift)|[Kevin Zhow](http://weibo.com/kevinzhow)|带动画效果的图表控件库 [SwiftCharts](https://github.com/i-schuetz/SwiftCharts)|[Ivan Schütz](https://github.com/i-schuetz)|基于层架构设计思想的图表类库 +[SpreadButton](https://github.com/liuzhiyi1992/SpreadButton)|[@潜艇_刘智艺Zzz](http://weibo.com/525567789)|会散开,会自动贴边的菜单按钮[🔗](http://zyden.vicp.cc/zyspreadbutton/) [HamburgerButton - Menu/Close](https://github.com/robb/hamburger-button)|[Robert Böhnke](http://robb.is)|无论[设计](http://robb.is/working-on/a-hamburger-button-transition/)还是代码,都进行了精雕细琢 [HamburgerButton - Menu/Back](https://github.com/fastred/HamburgerButton)|[Arkadiusz Holko](http://holko.pl/)|对应[博文](http://holko.pl/2014/07/15/hamburger-button-animation/)可知,开发者动画开发经验相当丰富 [HamburgerButton - Check](https://github.com/entotsu/TKAnimatedCheckButton)|[Takuya.Okamoto](https://github.com/entotsu)|Hamburger 风格按钮动画图标(单选)组件 -[entotsu/TKSubmitTransition](https://github.com/entotsu/TKSubmitTransition)|[Takuya Okamoto](https://github.com/entotsu)|登录加载、返回按钮转场动画组件 +[OnOffButton](https://github.com/rakaramos/OnOffButton)|[Rafael Ramos](https://github.com/rakaramos/)|极简、带动画平滑过渡(单选)按钮 +[TKSubmitTransition](https://github.com/entotsu/TKSubmitTransition)|[Takuya Okamoto](https://github.com/entotsu)|登录加载、返回按钮转场动画组件 +[circle-menu](https://github.com/Ramotion/circle-menu)|[Ramotion](https://github.com/Ramotion)|圆形缩放菜单类库及演示 [AIFlatSwitch](https://github.com/cocoatoucher/AIFlatSwitch)|[cocoatoucher](https://github.com/cocoatoucher)|一款带平滑过渡动画的 Switch 组件类 -[yoavlt/LiquidFloatingActionButton](https://github.com/yoavlt/LiquidFloatingActionButton)|[Takuma Yoshida](https://github.com/yoavlt)|可定制水滴型浮动动态按钮组件 +[LiquidFloatingActionButton](https://github.com/yoavlt/LiquidFloatingActionButton)|[Takuma Yoshida](https://github.com/yoavlt)|可定制水滴型浮动动态按钮组件 [XLActionController](https://github.com/xmartlabs/XLActionController)|[XMARTLABS](https://github.com/xmartlabs)|具有丰富可定制风格及动效的 Action 控制类 [Swift-Prompts](https://github.com/GabrielAlva/Swift-Prompts)|[Gabriel Alvarado](https://github.com/GabrielAlva)|一款漂亮、实用的提示弹窗 [SweetAlert-iOS](https://github.com/codestergit/SweetAlert-iOS)|[Viktor Radchenko](https://github.com/vikmeup)|带动画效果弹窗封装类 [Dodo](https://github.com/exchangegroup/Dodo)|[The Exchange Group](https://github.com/exchangegroup)|一款轻量地可定制信息栏小组件 [AnimatedTabBar](https://github.com/Ramotion/animated-tab-bar)|[Ramotion](https://github.com/Ramotion)|灵动的动画标签栏类库 +[TabDrawer](https://github.com/winslowdibona/TabDrawer)|[Winslow DiBona](https://github.com/winslowdibona)|适合单手操作的可定制 Tab Bar [KYCircularProgress](https://github.com/kentya6/KYCircularProgress)|[Kengo YOKOYAMA](https://github.com/kentya6)|简单、实用路径可定进程条 [Circular-Progress-View](https://github.com/wltrup/iOS-Swift-Circular-Progress-View)|[Wagner Truppel](https://github.com/wltrup)|小而精悍地可定制类似  Watch 圆型进程条组件 [GaugeKit](https://github.com/skywinder/GaugeKit)|[Petr Korolev](https://github.com/skywinder)| Watch 风格运动进程表盘 [LiquidLoader](https://github.com/yoavlt/LiquidLoader)|[Takuma Yoshida](https://github.com/yoavlt)|细滑进程装载动画效果 +[WaveLoadingView](https://github.com/liuzhiyi1992/WaveLoadingView)|[@潜艇_刘智艺Zzz](http://weibo.com/525567789)|球型波浪进度指示器 [🔗](http://zyden.vicp.cc/waveloadingindicator/) +[MessageBalloon](https://github.com/caiobzen/MessageBalloon)|[Carlos Corrêa da Silva](https://github.com/caiobzen)|消息类应用的信息加载动画 [FloatLabelFields](https://github.com/FahimF/FloatLabelFields)|[Fahim Farook](https://github.com/FahimF)|Float Label Pattern 浮动标签输入效果类 [ParkedTextField](https://github.com/gmertk/ParkedTextField)|[Gunay Mert Karadogan](https://github.com/gmertk)|带固定文本的输入组件 -[optonaut/ActiveLabel.swift](https://github.com/optonaut/ActiveLabel.swift)|[Optonaut](https://github.com/optonaut)|扩展实现 UILabel 触控事件针对 “#, @, 链接” 响应 +[ActiveLabel.swift](https://github.com/optonaut/ActiveLabel.swift)|[Optonaut](https://github.com/optonaut)|扩展实现 UILabel 触控事件针对 “#, @, 链接” 响应 [GMStepper](https://github.com/gmertk/GMStepper)|[Gunay Mert Karadogan](https://github.com/gmertk)|带动画效果、支持手势滑动操作的步进标签 [MapManager](https://github.com/varshylmobile/MapManager)|[Jimmy Jose](https://github.com/varshylmobile)|地图及路径管理封装库 [LineChart](https://github.com/zemirco/swift-linechart)|[Mirco Zeiss](https://github.com/zemirco)|功能完整、实用的折线图组件 [KSTokenView](https://github.com/khawars/KSTokenView)|[Khawar Shahzad](https://github.com/khawars)|带搜索、快捷输入、分段显示关键词输入组件 [TFBubbleItUp](https://github.com/thefuntasty/TFBubbleItUp)|[The Funtasty](https://github.com/thefuntasty)|配置性很强的分段文本标签输入组件 +[reel-search](https://github.com/Ramotion/reel-search)|[Ramotion](https://github.com/Ramotion)|自然且毫无违合感快捷输入并选择组件 [GearRefreshControl](https://github.com/andreamazz/GearRefreshControl)|[Andrea Mazzini](https://github.com/andreamazz)|无违和感的下拉刷新动画组件 [ElasticTransition](https://github.com/lkzhao/ElasticTransition)|[Luke Zhao](https://github.com/lkzhao)|畅快、无违和感的皮筋式动画转场 [DGElasticPullToRefresh](https://github.com/gontovnik/DGElasticPullToRefresh)|[Danil Gontovnik](https://github.com/gontovnik)|皮筋式弹性下拉即刷新组件及演 +[FlowingMenu](https://github.com/yannickl/FlowingMenu)|[Yannick Loriot](https://github.com/yannickl)|皮筋弹跳式动画菜单出场 [MAGearRefreshControl](https://github.com/micazeve/MAGearRefreshControl)|[Michaël Azevedo](https://github.com/micazeve)|同样是下拉刷新,人家花了很大的心思写[代码](https://github.com/micazeve/MAGearRefreshControl/blob/master/Classes/MAGearRefreshControl.swift) [PullToRefresh](https://github.com/Yalantis/PullToRefresh)|[Yalantis](https://github.com/Yalantis)|刷新动画可定制的下拉数据请求更新组件 [PullToBounce](https://github.com/entotsu/PullToBounce)|[Takuya.Okamoto](https://github.com/entotsu)|弹跳球效果下拉即刷新动画类库及演示 -[Koloda](https://github.com/Yalantis/Koloda)|[Yalantis](https://github.com/Yalantis)|基于卡片的 Tinder-style 动画效果示例 -[tispr/tispr-card-stack](https://github.com/tispr/tispr-card-stack)|[tispr](https://github.com/tispr)|卡片风格动画切换组件及完整交互示例 +[ReplaceAnimation](https://github.com/fruitcoder/ReplaceAnimation)|[Alex](https://github.com/fruitcoder)|基于 [@ZeeYoung欧阳哲](http://weibo.com/zeeya) 创意下拉刷新动画实现 +[folding-cell](https://github.com/Ramotion/folding-cell)|[Ramotion](https://github.com/Ramotion)|自然流畅、清新的单元格折叠动画类及演示 +[Koloda](https://github.com/Yalantis/Koloda)|[Yalantis](https://github.com/Yalantis)|基于卡片的 Tinder-style 动画效果示例 [🔗](https://yalantis.com/blog/how-we-built-tinder-like-koloda-in-swift/) +[tispr-card-stack](https://github.com/tispr/tispr-card-stack)|[tispr](https://github.com/tispr)|卡片风格动画切换组件及完整交互示例 [CameraManager](https://github.com/imaginary-cloud/CameraManager)|[Imaginary Cloud](https://github.com/imaginary-cloud)|简单、易用的相机管理封装类库 [QRCodeReader](https://github.com/yannickl/QRCodeReader.swift)|[Yannick Loriot](https://github.com/yannickl)|QR 二维码阅读组件及示例 [SwiftQRCode](https://github.com/liufan321/SwiftQRCode)|[Fan Liu](https://github.com/liufan321)|简单、实用的 QR Code 扫描识别及生成库 @@ -201,18 +328,27 @@ [WobbleView](https://github.com/inFullMobile/WobbleView)|[inFullMobile](https://github.com/inFullMobile)|当界面组件过渡时,带波纹摆动效果的组件扩展 [RichEditorView](https://github.com/cjwirth/RichEditorView)|[Caesar Wirth](https://github.com/cjwirth)|一套可定制富文本编辑器组件及示例(基于 HTML5) [MarkdownTextView](https://github.com/indragiek/MarkdownTextView)|[Indragie Karunaratne](https://github.com/indragiek)|非常轻量、简洁、高效的 Markdown 编辑组件及示例 +[SwiftyMarkdown](https://github.com/SimonFairbairn/SwiftyMarkdown)|[Simon Fairbairn](https://github.com/SimonFairbairn)|Markdown 解析器(解析到 NSAttributedString ) +[SwiftyDown](https://github.com/aaaron7/SwiftyDown)|[@aaaron7](http://weibo.com/roseofsharon)|Markdown 语法解析更强库 +[RxGesture](https://github.com/icanzilb/RxGesture)|[Marin Todorov](https://github.com/icanzilb)|基于 RxSwift 的手势视图库 [DBPathRecognizer](https://github.com/didierbrun/DBPathRecognizer)|[Didier Brun](https://github.com/didierbrun)|基于路径模型的手势识别工具 [PennyPincher](https://github.com/fe9lix/PennyPincher)|[fe9lix](https://github.com/fe9lix)|手势识别机器学习类库及演示 +[Tactile](https://github.com/delba/Tactile)|[Damien](https://github.com/delba)|让手势识别如虎添翼 +[Sensitive](https://github.com/igormatyushkin014/Sensitive)|[Igor Matyushkin](https://github.com/igormatyushkin014)|一套使用更简单、直观的手势识别库 +[NiceGesture](https://github.com/lacklock/NiceGesture)|[@没故事的卓同学](http://weibo.com/u/1926303682)|一个愉快使用UIGesture的库 [GuillotineMenu](https://github.com/Yalantis/GuillotineMenu)|[Yalantis](https://github.com/Yalantis)|极具创意及突破精神的动画演示 [SingleLineShakeAnimation](https://github.com/haaakon/SingleLineShakeAnimation)|[Håkon Bogen](https://github.com/haaakon)|用一行代码给视图加上抖动效果 [JGFlipMenu](https://github.com/ziligy/JGFlipMenu)|[jeff greenberg](https://github.com/ziligy)|Flip 式菜单及其对应动画组件 [ChineseTraditionalColors](https://github.com/zhxnlai/UIColor-ChineseTraditionalColors)|[Zhixuan Lai](https://github.com/zhxnlai)|中国传统颜色引用 UIColor 扩展 +[Hue](https://github.com/hyperoslo/Hue)|[Hyper](https://github.com/hyperoslo)|常规功能集于一身的定义、使用颜色库 [ShinpuruLayout](https://github.com/FlexMonkey/ShinpuruLayout)|[simon gladman](https://github.com/FlexMonkey)|通过水平和垂直分组模块实现简单、快速布局的组件库 [Neon](https://github.com/mamaral/Neon)|[Mike Amaral](https://github.com/mamaral)|功能强大的 UI 布局神器 [ZoomTransition](https://github.com/tristanhimmelman/ZoomTransition)|[Tristan Himmelman](https://github.com/tristanhimmelman)|通过手势操控图片的放大、缩小、旋转等自由变化效果的组件及示例 [MCMHeaderAnimated](https://github.com/mathcarignani/MCMHeaderAnimated)|[Mathias](https://github.com/mathcarignani)|提供列表与详细页切换转场动画 [ZLSwipeableViewSwift](https://github.com/zhxnlai/ZLSwipeableViewSwift)|[Zhixuan Lai](https://github.com/zhxnlai)|多变的卡片切换转场动画封装类库 [SwiftPages](https://github.com/GabrielAlva/SwiftPages)|[Gabriel Alvarado](https://github.com/GabrielAlva/)|高可定制类似 Instagram 视图滑动切换 +[SwipeViewController](https://github.com/fortmarek/SwipeViewController)|[Marek Fořt](https://github.com/fortmarek)|页面滑动和标签选项卡,同 [RKSwipeBetweenViewControllers](https://github.com/cwRichardKim/RKSwipeBetweenViewControllers) +[XLPagerTabStrip](https://github.com/xmartlabs/XLPagerTabStrip)|[xmartlabs](https://github.com/xmartlabs)|Android 上最常用的 PagerTabStrip 在 iOS 中的实现 [Butterfly](https://github.com/wongzigii/Butterfly)|[Wongzigii](https://github.com/wongzigii)|轻量、优雅的缺陷报告及反馈组件 [Presentation](https://github.com/hyperoslo/Presentation)|[Hyper](https://github.com/hyperoslo)|方便你制作定制的动画式教程 [RazzleDazzle](https://github.com/IFTTT/RazzleDazzle)|[IFTTT](https://github.com/IFTTT/)|基于关键锁的动画框架类库 @@ -228,7 +364,7 @@ [BRYXBanner](https://github.com/bryx-inc/BRYXBanner)|[Bryx](https://github.com/bryx-inc)|可以带图片显示的下拉通知条类库及示例 [Whisper](https://github.com/hyperoslo/Whisper)|[Hyper](https://github.com/hyperoslo)|使用简单、功能实用的消息及应用通知组件 [SwiftPasscodeLock](https://github.com/yankodimitrov/SwiftPasscodeLock)|[Yanko Dimitrov](https://github.com/yankodimitrov)|可定制密码锁类库及示例 -[PhotoBrowser](https://github.com/nsdictionary/[PhotoBrowser)|[Charlin_冯成林](https://github.com/nsdictionary)|照片浏览利器,定制化特性丰富 +[PhotoBrowser](https://github.com/nsdictionary/PhotoBrowser)|[Charlin_冯成林](https://github.com/nsdictionary)|照片浏览利器,定制化特性丰富 [AMScrollingNavbar](https://github.com/andreamazz/AMScrollingNavbar)|[Andrea Mazzini](https://github.com/andreamazz)|上下滚动时自动消隐或显示导航标题栏 [GooeyTabbar](https://github.com/KittenYang/GooeyTabbar)|[@KITTEN-YANG](http://weibo.com/710312327)|皮筋式弹性缩放工具栏示例及演示 [PagingView](https://github.com/KyoheiG3/PagingView)|[Kyohei Ito](https://github.com/KyoheiG3)|注重细节的自动布局分页视图 @@ -240,66 +376,48 @@ [TKSwitcherCollection](https://github.com/TBXark/TKSwitcherCollection)|[@TBXark](http://weibo.com/tbxark)|Switch 切换动画效果集合组件及演示 [DateRangePicker](https://github.com/MrMage/DateRangePicker)|[MrMage](https://github.com/MrMage)|日期区间选择组件 [Periscope-VideoViewController](https://github.com/gontovnik/Periscope-VideoViewController)|[Danil Gontovnik](https://github.com/gontovnik)|简洁实用的视频快进、倒带控制 +[VideoSplashKit](https://github.com/movielala/VideoSplashKit)| [MovieLaLa](https://github.com/movielala)|易用的视频播放组件。P.S. 视频及 tvOS 开发可以关注该开发者 +[Gecco](https://github.com/yukiasai/Gecco)|[yukiasai](https://github.com/yukiasai)|帮助开发者快速制作新手导引界面 +[STLocationRequest](https://github.com/SvenTiigi/STLocationRequest)|[SvenTiigi](https://github.com/SvenTiigi)| 360 度 3D 俯瞰图方式请求用户位置 +[navigation-stack](https://github.com/Ramotion/navigation-stack)|[Ramotion](https://github.com/Ramotion)|导航控制器的 Stack 视图模型最佳实践 +[SubtleVolume](https://github.com/andreamazz/SubtleVolume)|[Andrea Mazzini](https://github.com/andreamazz)|更隐蔽的系统音量替代指示器 +[JWAnimatedImage](https://github.com/wangjwchn/JWAnimatedImage)|[George Marmaridis](https://github.com/gmarm)|易用、可定制的替换 UISegmentedControl & UISwitch 组件 +[JDAnimationKit](https://github.com/JellyDevelopment/JDAnimationKit)|[Jelly Development](https://github.com/JellyDevelopment)|一套简单、易用的动画库 +[ZYThumbnailTableView](https://github.com/liuzhiyi1992/ZYThumbnailTableView)|[@潜艇_刘智艺Zzz](http://weibo.com/525567789)|可定制展开型预览 TableView [🔗](http://zyden.vicp.cc/zythumbnailtableview) +[SkyFloatingLabelTextField](https://github.com/Skyscanner/SkyFloatingLabelTextField)|[Skyscanner](https://github.com/Skyscanner)|功能及使用介绍均完整带图标显示浮动标签组件库 +[NumberMorphView](https://github.com/me-abhinav/NumberMorphView)|[Abhinav Chauhan](https://github.com/me-abhinav)|可爱的数字补间(变身)动画类库 +[DisplaySwitcher](https://github.com/Yalantis/DisplaySwitcher)|[Yalantis](https://github.com/Yalantis)|两个集合视图在不同布局(平铺和列表)间平滑切换 +[DynamicButton](https://github.com/yannickl/DynamicButton)|[Yannick Loriot](https://github.com/yannickl)|完整、且带动画过渡的图标按钮库 +[Smile-Lock](https://github.com/liu044100/Smile-Lock)|[Rain](https://github.com/liu044100)|一款高仿、可定制密码锁组件 +[GlitchLabel](https://github.com/kciter/GlitchLabel)|[Lee Sun-Hyoup](https://github.com/kciter)|俗称晃瞎你的眼文字标签 +[Caishen](https://github.com/prolificinteractive/Caishen)|[Prolific Interactive](https://github.com/prolificinteractive/)|简易、实用的信用卡号输入及校验 UI 组件 +[ConsistencyManager-iOS](https://github.com/linkedin/ConsistencyManager-iOS)|[LinkedIn](https://github.com/linkedin/)|使同一标识 ID 数据在多个模型内保持一致性 +[StateView](https://github.com/sahandnayebaziz/StateView)|[Sahand Nayebaziz](https://github.com/sahandnayebaziz)|当有数据更新时自动更新 UIView +[StackViewController](https://github.com/seedco/StackViewController)|[Seed](https://github.com/seedco)|提供更易用的 UIStackView 组件功能 +[DynamicMaskSegmentSwitch](https://github.com/KittenYang/DynamicMaskSegmentSwitch)|[Kitten Yang](https://github.com/KittenYang)|一个简单有趣的 SegmentedControl +[BMPlayer](https://github.com/BrikerMan/BMPlayer)|[BrikerMan](https://github.com/BrikerMan)|相当于 Swift 版 ZFPlayer +[SMSegmentView](https://github.com/sima-11/SMSegmentView)|[Si](https://github.com/sima-11)|可定制图文 Segment Control 组件 +[paper-onboarding](https://github.com/Ramotion/paper-onboarding)|[Ramotion](https://github.com/Ramotion)|漂亮的 Material Design 风格页面滑块 +[UIImageView-BetterFace-Swift](https://github.com/croath/UIImageView-BetterFace-Swift)|[Croath Liu](https://github.com/croath)|预览照片时,让脸部显示在更恰当的预览区域 +[Wizardry](https://github.com/ijoshsmith/Wizardry)|[Josh Smith](https://github.com/ijoshsmith)|可重用的方法和框架实现向导式用户界面管理 +[Toast-Swift](https://github.com/scalessec/Toast-Swift)|[Charles Scalesse](https://github.com/scalessec)|高可定制、易用的 Toast 通知组件 -* 框架类 - - 项目 | 开发者 | 备注 ------------- | ------------- | ------------- -[AsyncDisplayKit](https://github.com/facebook/AsyncDisplayKit)|[facebook](https://github.com/facebook/)|提供界面的高流畅性切换及更灵敏的响应 -[Cartography](https://github.com/robb/Cartography)|[Robert Böhnke](http://robb.is)|基于代码级的自动布局封装框架 -[MMWormhole](https://github.com/mutualmobile/MMWormhole)|[Mutual Mobile](http://www.mutualmobile.com/)|iOS 扩展与宿主应用的通讯框架 -[Wormhole](https://github.com/nixzhu/Wormhole)|[@nixzhu](http://weibo.com/nixzhu)|[MMWormhole](https://github.com/mutualmobile/MMWormhole) 的纯 Swift 版本 -[NetworkObjects](https://github.com/colemancda/NetworkObjects)|[Coleman Miller](http://colemancda.com)|轻量版 HttpServer 框架,跨平台解决方案 -[SwiftFoundation](https://github.com/PureSwift/SwiftFoundation)|[PureSwift](https://github.com/PureSwift)|跨平台(支持 Linux)、面向协议编程基础库 -[MotionKit](https://github.com/MHaroonBaig/MotionKit)|[Haroon Baig](https://github.com/MHaroonBaig)|方便使用三轴陀螺仪、加速感应器及磁力仪 -[Jetstream](https://github.com/uber/jetstream-ios)|[Uber](https://github.com/uber)| 支持多用户实时通讯的 MVC 框架 -[SwiftSpace](https://github.com/FlexMonkey/SwiftSpace)|[simon gladman](https://github.com/FlexMonkey)|通过重力感应、陀螺仪、摄像头等常用传感器进行三维绘图 -[JSQNotificationObserverKit](https://github.com/jessesquires/JSQNotificationObserverKit)|[Jesse Squires](https://github.com/jessesquires)|轻量、易用的通知发送及响应框架类库 -[X](https://github.com/soffes/X)|[Sam Soffes](https://github.com/soffes)|iOS/OS X 平台统一开发类库 -[TouchVisualizer](https://github.com/morizotter/TouchVisualizer)|[Morita Naoki](https://github.com/morizotter)|实用的多点触摸可视化组件 -[Bond](https://github.com/SwiftBond/Bond)|[Bond](https://github.com/SwiftBond)|使用简单、易于理解的对象绑定框架 -[Prototope](https://github.com/Khan/Prototope)|[Khan Academy](https://github.com/Khan)|一款轻量的 Javascript 桥接 Swift 库 -[XcodeServerSDK](https://github.com/czechboy0/XcodeServerSDK)|[Honza Dvorsky](https://github.com/czechboy0)|非官方 Xcode Server SDK 封装库 -[ios-universal-webview-boilerplate](https://github.com/nabilfreeman/ios-universal-webview-boilerplate)|[Freeman](https://github.com/nabilfreeman)|快速封装 WebApp 到 iOS 应用 -[Perfect](https://github.com/PerfectlySoft/Perfect)|[PerfectlySoft](https://github.com/PerfectlySoft)|打造专业应用服务器开始 -[Epoch](https://github.com/Zewo/Epoch)|[Zewo](https://github.com/Zewo)|独立于平台的 Http 服务器 -[swift-http](https://github.com/huytd/swift-http)|[Henry Tr.](https://github.com/huytd)|符合开放平台规范的最简 HTTP 示例服务器 -[Curassow](https://github.com/kylef/Curassow)|[Kyle Fuller](https://github.com/kylef) |简单、高效、低耦专业 Web 服务器及示例 -[swifter](https://github.com/glock45/swifter)|[Damian Kołakowski](https://github.com/glock45)|轻量的 HTTP 服务器引擎 -[CKSIncrementalStore](https://github.com/CloudKitSpace/CKSIncrementalStore)|[CloudKitSpace](https://github.com/CloudKitSpace)|基于 CloudKit 服务器实现多终端数据同步 -[apous](https://github.com/owensd/apous)|[David Owens II](https://github.com/owensd)|让 Swift 成为脚本语言 -[RxSwift](https://github.com/ReactiveX/RxSwift)|[ReactiveX](https://github.com/ReactiveX)|让事件驱动应用更容易进行管理 -[Interstellar](https://github.com/JensRavens/Interstellar)|[Jens Ravens](https://github.com/JensRavens)|简单、轻量的函数响应式编程框架 -[mattress](https://github.com/buzzfeed/mattress)|[BuzzFeed](https://github.com/buzzfeed)|离线缓存 Web 浏览内容 -[BluetoothKit](https://github.com/rasmusth/BluetoothKit)|[Rasmus Taulborg Hummelmose](https://github.com/rasmusth)|基于 CoreBluetooth API 跨设备间蓝牙通讯封装类库 -[Erik](https://github.com/phimage/Erik)|[phimage](https://github.com/phimage)|主要应用于网页功能测试 -[Chatto](https://github.com/badoo/Chatto)|[Badoo Development](https://github.com/badoo)|轻量级聊天应用框架及示例 -[ALCameraViewController](https://github.com/AlexLittlejohn/ALCameraViewController)|[Alex Littlejohn](https://github.com/AlexLittlejohn)|摄像头视图控制器 -[Swift-AI](https://github.com/collinhundley/Swift-AI)|[Collin Hundley](https://github.com/collinhundley)|开发中的 AI 及机器学习库 -[Popsicle](https://github.com/DavdRoman/Popsicle)|[David Román](https://github.com/DavdRoman)|内置支持 UIKit 的插值框架类库及演示 -[C4iOS](https://github.com/C4Framework/C4iOS)|[-- C4 --](https://github.com/C4Framework)|用更少的代码,创建最佳应用体验库 -[BothamUI](https://github.com/Karumi/BothamUI)|[Karumi](https://github.com/Karumi)|MVP 框架库及示例 -[ReduxKit](https://github.com/ReduxKit/ReduxKit)|[ReduxKit](https://github.com/ReduxKit)|新颖的状态流记录框架 -[SwiftyGPIO](https://github.com/uraimo/SwiftyGPIO)|[Umberto Raimondi](https://github.com/uraimo)| 控制 C.H.I.P. 或树莓派的 GPIOs -[Swindler](https://github.com/tmandry/Swindler)|[Tyler Mandry](https://github.com/tmandry)|管理 OS X 应用窗口框架 -[Chameleon-Swift](https://github.com/unifiedh/Chameleon-Swift)|[Daniel Hong](https://github.com/unifiedh)|将 iOS API 移植到 OS X 的高度实验性项目 -[SwiftAndroid](https://github.com/SwiftAndroid/swift)| [SwiftAndroid](https://github.com/SwiftAndroid)|苹果swift开源分支,写 Android 应用,详见:[Getting started](https://github.com/SwiftAndroid/swift/wiki/Getting-started) -[FolioReaderKit](https://github.com/FolioReader/FolioReaderKit)|[FolioReader](https://github.com/FolioReader)|ePub 阅读器及解析框架库 -[LeanCloud SDK](https://leancloud.cn)|[LeanCloud](https://github.com/leancloud)|数据存储、用户管理、消息推送、应用统计、社交分享、实时聊天等服务 - -### “车子” -* 示例项目 +### 示例 - 项目 | 开发者 | 备注 +项目 | 开发者 | 备注 ------------ | ------------- | ------------- [LTMorphingLabel](https://github.com/lexrus/LTMorphingLabel)|[Lex Tang](http://weibo.com/lexrus)|特赞的文字飘入飘出效果 +[TextKitAndAnimationEffect](https://github.com/morpheus1984/TextKitAndAnimationEffect)|[@我在罪恶坑的日子](http://weibo.com/u/1660258615)|文字下坠动画变化效果实现及示例([开发过程详解](http://www.ismash.cn/post/ru-he-shi-xian-zi-ji-mei-shi-xian-guo-de-xu-qiu-zhi-wen-ben-dong-hua-pian)) [AEXML](https://github.com/tadija/AEXML)|[Marko Tadić](https://github.com/tadija)|简单又易于的 XML 解析类及示例 [whereami](https://github.com/victor/whereami)|[Victor Jalencas](http://victor.sh)|通过命令行获得当前设备地理位置 [Design-Patterns](https://github.com/ochococo/Design-Patterns-In-Swift)|[Oktawian Chojnacki](https://github.com/ochococo)|如何使用常用设计模式及示例 +[FileBrowser](https://github.com/marmelroy/FileBrowser)|[Roy Marmelstein](https://github.com/marmelroy)|iOS 下 Finder 风格文件浏览器 [PhotoBrowser](https://github.com/MoZhouqi/PhotoBrowser)|[Zhouqi Mo](http://weibo.com/u/2626996387)|简单又实用的 Instagram 图片浏览功能 [SKPhotoBrowser](https://github.com/suzuki-0000/SKPhotoBrowser)|[suzuki-0000](https://github.com/suzuki-0000)|中规中矩、实用的图片浏览类库 [ImageViewer](https://github.com/MailOnline/ImageViewer)|[MailOnline](https://github.com/MailOnline)|用心之作图片全屏预览组件及类库 -[CardAnimation](https://github.com/seedante/CardAnimation)|[@seedante](http://weibo.com/u/1815689155)|卡片式垂直翻转动画。[实现思路](http://www.jianshu.com/p/286222d4edf8) +[Fusuma](https://github.com/ytakzk/Fusuma)|[Yuta Akizuki](https://github.com/ytakzk)|Instagram 风格图片浏览及拍照 +[PeekPop](https://github.com/marmelroy/PeekPop)|[Roy Marmelstein](https://github.com/marmelroy)|基于 3D Touch 苹果新特性 Peek/Pop 图片预览 +[CardAnimation](https://github.com/seedante/CardAnimation)|[@seedante](http://weibo.com/u/1815689155)|卡片式垂直翻转动画 [🔗](http://www.jianshu.com/p/286222d4edf8) [RMParallax](https://github.com/michaelbabiy/RMParallax)|[Michael Babiy](https://github.com/michaelbabiy)|简单的帮助向导界面组件及示例 [WatchKit-Apps](https://github.com/kostiakoval/WatchKit-Apps)|[Kostiantyn Koval](https://github.com/kostiakoval)|学习 WatchKit 应用的示例式教程集锦 [CarlosButron - Examples](https://github.com/CarlosButron/Swift)|[Carlos Butron](https://github.com/CarlosButron)|60多个(技术品类丰富的)示例项目集锦 @@ -312,37 +430,67 @@ [SwiftSideslipLikeQQ](https://github.com/johnlui/SwiftSideslipLikeQQ)|[@吕文翰_JohnLui ](http://weibo.com/balishengmuyuan)|再造 “手机QQ” 侧滑菜单 [BlackHawk](https://github.com/Lucky-Orange/BlackHawk)|[@吕文翰_JohnLui](http://weibo.com/balishengmuyuan)|基于 WKWebView 的 Cordova 兼容实现 [Plum-O-Meter](https://github.com/FlexMonkey/Plum-O-Meter)|[simon gladman](https://github.com/FlexMonkey)|基于 3D Touch 模拟电子秤 -[StarWars.iOS](https://github.com/Yalantis/StarWars.iOS)|[Yalantis](https://github.com/Yalantis)|瞬间崩塌为小方块动画效果 +[StarWars.iOS](https://github.com/Yalantis/StarWars.iOS)|[Yalantis](https://github.com/Yalantis)|瞬间崩塌为小方块动画效果 [🔗](https://yalantis.com/blog/uidynamics-uikit-or-opengl-3-types-of-ios-animations-for-the-star-wars/) [HackingWithSwift](https://github.com/twostraws/HackingWithSwift)|[twostraws](https://github.com/twostraws)|hackingwithswift.com 示例项目代码库 +[swift-algorithm-club](https://github.com/hollance/swift-algorithm-club)|[Matthijs Hollemans](hollance/swift-algorithm-club)|Swift 算法俱乐部学习库 +[furni-ios](https://github.com/twitterdev/furni-ios)|[@TwitterDev](https://github.com/twitterdev)|由 Twitter 基于 Fabric 开发的家居商店应用演示 +[Ares](https://github.com/indragiek/Ares)|[Indragie Karunaratne](https://github.com/indragiek/Ares)|P2P 文件传输演示项目 +[trySwiftApp](https://github.com/NatashaTheRobot/trySwiftApp)|[Natasha Murashev](https://github.com/NatashaTheRobot)|一款较为完整的会议原型应用 +[30DaysofSwift](https://github.com/allenwong/30DaysofSwift)|[@Allen朝辉](http://weibo.com/wangchaohui)|相比 [100 Days of Swift](http://samvlu.com/index.html),一样的赏心悦目 [🔗](https://github.com/allenwong/30DaysofSwift/blob/master/README.md) +[boilerplate](https://github.com/tailec/boilerplate)|[Pawel Krawiec](https://github.com/tailec)|亲历典型案例,探索选择合适的架构 +[AFBrushBoard](https://github.com/AfryMask/AFBrushBoard)|[@AfryMask](http://weibo.com/u/2233947233)|毛笔画板演示 +[Nebula](https://github.com/FlexMonkey/Nebula)|[simon gladman](https://github.com/FlexMonkey)|调用 GLSL 渲染[星云变化图](http://glslsandbox.com/e#31308.0)演示 +[Countdown](https://github.com/soffes/Countdown)|[Sam Soffes](https://github.com/soffes)|倒计时屏保。年龄屏保 [Motivation](https://github.com/soffes/Motivation) +[ViewController-Transition-Demo](https://github.com/seedante/iOS-ViewController-Transition-Demo)|[@seedante](http://weibo.com/u/1815689155)|视图控制器转场从入门到接近精通 [🔗](https://github.com/seedante/iOS-Note/wiki/ViewController-Transition) +[swift-summary](https://github.com/jakarmy/swift-summary)|[Juan Antonio Karmy](https://github.com/jakarmy/)|用 Playground 来概述 Swift 语言特性 +[jchat-swift](https://github.com/jpush/jchat-swift)|[JPush](https://github.com/jpush/)|换一个 Logo 和名字即可拥有自己的 IM +[Reddit-MVVM-Benchmark](https://github.com/ivanbruel/Reddit-MVVM-Benchmark)|[Ivan Bruel](https://github.com/ivanbruel/)|开发一款简版 Reddit,比较 MVVM + FRP 与 MVC 给定指标 +[15DaysofAnimationsinSwift](https://github.com/larrynatalicio/15DaysofAnimationsinSwift)|[Larry Natalicio](https://github.com/larrynatalicio)| 15 天动画编程 -* 完整应用 +### 应用 - 项目 | 开发者 | 备注 +项目 | 开发者 | 备注 ------------ | ------------- | ------------- [edhita](https://github.com/tnantoka/edhita)|[Tatsuya Tobioka](http://blog.tnantoka.com/)|支持 Markdown, HTML 预览的文本编辑器 -[WWDC](https://github.com/insidegui/WWDC)|[Guilherme Rambo](https://github.com/insidegui)]| WWDC 2015 [应用下载](https://github.com/insidegui/WWDC/blob/master/Releases/WWDC_latest.zip?raw=true) +[Markoff](https://github.com/thoughtbot/Markoff)|[thoughtbot](https://github.com/thoughtbot)|运行于 OS X 基于 cmark 轻量级 Markdown 预览 [🔗](https://robots.thoughtbot.com/markoff-free-markdown-previewer) +[WWDC](https://github.com/insidegui/WWDC)|[Guilherme Rambo](https://github.com/insidegui)| WWDC 2015 [应用下载](https://github.com/insidegui/WWDC/blob/master/Releases/WWDC_latest.zip?raw=true) [firefox-ios](https://github.com/mozilla/firefox-ios)|[Mozilla](https://github.com/mozilla)|来自 Mozilla 开发团队大型纯 Swift 项目 [focus](https://github.com/mozilla/focus)|[Mozilla](https://github.com/mozilla)|拦截 Safari 的广告内容,分析和社交追踪器等 [Carthage](https://github.com/Carthage/Carthage)|[Carthage](https://github.com/Carthage)|更简单的方式来管理 Cocoa。与 [CocoaPods 差别](http://www.cocoachina.com/ios/20141204/10528.html) [SwiftWeather](https://github.com/JakeLin/SwiftWeather)|[Jake Lin](http://weibo.com/yongjianlin/)|清新淡雅持续改进天气预报项目 -[VPNOn](https://github.com/lexrus/VPNOn)|[Lex Tang](http://weibo.com/lexrus)|驻在通知中心内的 VPN 开关应用 +[VPNOn](https://github.com/lexrus/VPNOn)|[Lex Tang](http://weibo.com/lexrus)|驻在通知中心内的 VPN 开关应用 [LeetCode-Solutions](https://github.com/diwu/LeetCode-Solutions-in-Swift)|[@diwup](http://weibo.com/diwup)|LeetCode 的 Swift 语言版解题方案 [androidtool-mac](https://github.com/mortenjust/androidtool-mac)|[Morten Just](https://github.com/mortenjust)|在 Mac 上使用的 Android 工具(一键截屏, 视频录制, APK 安装等) [CoPilot](https://github.com/feinstruktur/CoPilot)|[Sven A. Schmidt](https://github.com/feinstruktur)|协同编程 Xcode 插件 -[IBAnimatable](https://github.com/JakeLin/IBAnimatable)|[@林永坚](http://weibo.com/yongjianlin)|基于 Xcode 插件技术快速原型开发工具 +[IBAnimatable](https://github.com/JakeLin/IBAnimatable)|[@林永坚](http://weibo.com/yongjianlin)|基于 Xcode 插件技术快速原型开发工具 [🔗](https://github.com/JakeLin/IBAnimatable/blob/master/Documentation/README.zh.md) [Refactorator](https://github.com/johnno1962/Refactorator)|[John Holdsworth](https://github.com/johnno1962)|Xcode 代码重构插件,使重命名变量、函数、枚举名等变得方便 +[iconMaker](https://github.com/kaphacius/IconMaker)|[Yurii](https://github.com/kaphacius/)|Xcode插件自动生成不同尺寸的应用图标 [SwiftCov](https://github.com/realm/SwiftCov)|[Realm](https://github.com/realm)|代码测试覆盖率命令行工具 [ViewMonitor](https://github.com/daisuke0131/ViewMonitor)|[Daisuke Yamashita](https://github.com/daisuke0131)|测量视图位置、大小、背景、字体大小等,开发调试神器 +[Quick](https://github.com/Quick/Quick)|[Quick](https://github.com/Quick)| 行为驱动的测试框架 +[Nimble](https://github.com/Quick/Nimble)|[Quick](https://github.com/Quick)| 比 XCTAssertEqual 更方便易用的匹配框架 [SwiftMock](https://github.com/mflint/SwiftMock)|[Matthew Flint](https://github.com/mflint)|一款 Mock 框架,单元测试的好伴侣 [MockFive](https://github.com/DeliciousRaspberryPi/MockFive)|[Daniel Burbank](https://github.com/DeliciousRaspberryPi)|面向协议编程单元测试 Mock 框架 +[Cuckoo](https://github.com/SwiftKit/Cuckoo)|[SwiftKit](https://github.com/SwiftKit)|用法更接近于传统单元测试 Mock 框架库 [Tomate](https://github.com/dasdom/Tomate)|[Dominik Hauser](https://github.com/dasdom)|圆盘式计时器让你更专注于工作或学习 [droptogif](https://github.com/mortenjust/droptogif)|[Morten Just](https://github.com/mortenjust)|视频拖拽到应用窗口后自动转换为 GIF 动画 [swiftmi-app](https://github.com/feiin/swiftmi-app)|[feiin](https://github.com/feiin)|完整的社区应用 -[phphub-ios](https://github.com/Aufree/phphub-ios)| [@李锦发](http://weibo.com/jinfali) | [PHPHub iOS 应用](http://aufree.github.io/phphub-ios/) [Swift-Radio-Pro](https://github.com/swiftcodex/Swift-Radio-Pro)|[Swift Code X](https://github.com/swiftcodex)|集成 LastFM 的专业电台应用 [SimpleMemo](https://github.com/likumb/SimpleMemo)|[@李俊likumb](http://weibo.com/likumb)|支持 3D Touch 功能易便签 [xcode-snippets](https://github.com/Abizern/xcode-snippets)|[Abizer Nasir](https://github.com/Abizern)|Mattt 同学 Xcode-Snippets/Objective-C 的 Swift 版本 [VWInstantRun](https://github.com/wangshengjia/VWInstantRun)|[@ShengjiaWANG](http://weibo.com/u/1739447693)|即时运行选中的代码片段 -[Laurine](https://github.com/JiriTrecak/Laurine)|[Jiří Třečák](JiriTrecak/Laurine)|本地化代码生成器及示例,为了开发更得力 +[Laurine](https://github.com/JiriTrecak/Laurine)|[Jiří Třečák](JiriTrecak/Laurine)|本地化代码生成器及示例,为了开发更得力 [🔗](https://medium.com/@victor_wang/run-your-code-snippet-from-xcode-without-building-the-whole-project-1821cf85b2f2#.3b0za012v) [BrowserTV](https://github.com/zats/BrowserTV)|[Sash Zats](https://github.com/zats/BrowserTV)|可交互 Apple TV 浏览器 [QingDict](https://github.com/yingDev/QingDict)|[@Nozama](http://weibo.com/xweb123)|轻量级、实用主义的词典程序 +[Yep](https://github.com/CatchChat/Yep)|[Catch](https://github.com/CatchChat)| “打造由天才开发给天才们使用的社交软件” +[Phonetic](https://github.com/iAugux/Phonetic)|[@iAugus](http://weibo.com/augusoo7)|iOS 版的 Phonetic Contacts +[shift-js](https://github.com/shift-js/shift-js)|[ShiftJS](https://github.com/shift-js)|Swift 程序员在写 iOS 和 Web 应用时无需语言切换 +[injectionforxcode](https://github.com/johnno1962/injectionforxcode)|[Toshihiro Morimoto](https://github.com/dealforest)|修改一个类的代码实现而不用重启整个应用 Xcode 插件 +[cleartext-mac](https://github.com/mortenjust/cleartext-mac)|[Morten Just](https://github.com/mortenjust)|提供一千个常用单词的编辑器 +[Peek](https://github.com/shaps80/Peek)|[Shaps M](https://github.com/shaps80)|检查界面内组件布局信息 +[producthunt-osx](https://github.com/producthunt/producthunt-osx)|[Product Hunt](https://github.com/producthunt/)|Product Hunt 开源 Mac 客户端 +[xi-editor](https://github.com/google/xi-editor)|[Google](https://github.com/google/)|高性能文本编辑器 +[BuildTimeAnalyzer-for-Xcode](https://github.com/RobertGummesson/BuildTimeAnalyzer-for-Xcode)|[Robert Gummesson](https://github.com/RobertGummesson)|实用的编译时间分析 Xcode 插件 +[QBlocker](https://github.com/steve228uk/QBlocker)|[Stephen Radford](https://github.com/steve228uk)|不再因为手误意外地退出应用 +[RealmVideo](https://github.com/BalestraPatrick/RealmVideo)|[Patrick Balestra](https://github.com/BalestraPatrick)|同步播放 realm.io 网站上的演讲视频和 slides +[PodcastMenu](https://github.com/insidegui/PodcastMenu)|[Guilherme Rambo](https://github.com/insidegui)|便捷地收听广播 Overcast.fm diff --git a/README.md b/README.md index eac996f2..eda39934 100644 --- a/README.md +++ b/README.md @@ -1,225 +1,61 @@ -Swift 语言指南 +Language: [中文](README.zh-CN.md) · English + +Swift Open Source Highlights === -> [@SwiftLanguage](http://weibo.com/swiftlanguage) 更新于 2016-1-20,更新内容详见 [Issue 44](https://github.com/ipader/SwiftGuide/blob/master/weekly/Issue-44.md)。往期更新回顾详见《[收录周报](https://github.com/ipader/SwiftGuide/blob/master/weekly/README.md)》 - -  [这份指南](https://github.com/ipader/SwiftGuide/blob/master/2014%20letter.md)汇集了 Swift 语言主流学习资源,并以开发者的视角整理编排。对于精选项目及文章,可直接访问《[Swift 项目精选](https://github.com/ipader/SwiftGuide/blob/master/Featured.md)》和《[Swift 文章精选](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md)》。 - - -## 目录 -* [官方文档](#swift_doc) - * [Welcome to Swift](#welcome) - * [Swift Programming Language(中译)](#spl) - * [Using Swift with Cocoa and Objective-C(中译)](#using_swift) - * [App Extension Programming Guide(中译)](#extension_guide) - * [HomeKit Developer Guide(中译)](#swift_homekit) - * [Swift Blog - Apple Developer(中译)](#swift_blog) - * [iOS Human Interface Guidelines(中译)](#ios_ui_guide) -* [教程、指南、文章](#swift_courses) -* [开源项目](#swift_projects) -* [推荐网站](#recomm_sites) -* [开发工具](#tools) -* [媒体报道](https://github.com/ipader/SwiftGuide/tree/master/archive/news.md) -* [开放平台](https://github.com/ipader/SwiftGuide/tree/master/archive/platforms.md) -* [Apple Watch 指南](https://github.com/ipader/SwiftGuide/blob/master/Apple%20Watch/README.md) - ---- - -## 官方文档 - -### 1. [Welcome to Swift](https://developer.apple.com/swift/) -苹果针对 Swift 开发者官方文档入口。其中包括: -[Swift 概括](https://developer.apple.com/swift/),[Swift Programming Language](https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/index.html),[Using Swift with Cocoa and Objective-C](https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/BuildingCocoaApps/index.html#//apple_ref/doc/uid/TP40014216) - - -### 2. [Swift Programming Language](https://developer.apple.com/swift/) - -* 苹果官方文档: -[在线版(英文)](https://developer.apple.com/library/prerelease/ios/documentation/swift/conceptual/swift_programming_language/index.html) | [iBooks 版(英文)](https://itunes.apple.com/us/book/swift-programming-language/id881256329?mt=11) - -* 爱好者翻译版: -[在线版(中文)](http://www.swiftguide.cn) By [@Swift 中文翻译组](http://weibo.com/swiftguide)| -[PDF 版(提取码:vmcb)](http://pan.baidu.com/s/1gd3VOiB) By [@老码团队](http://weibo.com/oldcoder)| -[百度阅读版(By 小岂子)](http://yuedu.baidu.com/ebook/6f6c3b1ef01dc281e43af000) - -* 相关文档 - * Swift Style Guide(非苹果官方):本风格指南的目标是让Swift代码更简洁、可读更强。 - 1. [RayWenderlich 版](https://github.com/raywenderlich/swift-style-guide)([中译版](http://letsswift.com/2014/07/swift-style-guide/)) - 2. [GitHub 官方小组版](https://github.com/github/swift-style-guide)([中译版](https://github.com/Artwalk/swift-style-guide/blob/master/README_CN.md)) - * [Swift 官方 API 设计准则](http://www.jianshu.com/p/b69d9b615ee5):“与此前文章《[Swift 3 API 设计准则](http://www.jianshu.com/p/fce426e4f1c4)》的区别在于,之前文章只是一个 Swift 3 工作的概览说明,而这是有内容的干货!虽然还处于样稿阶段,但是有很好的参考价值”。译者:[@星夜暮晨](http://weibo.com/moonisky) - -### 3. Using Swift with Cocoa and Objective-C -* 苹果官方文档:[在线版(英文)](https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/BuildingCocoaApps/index.html#//apple_ref/doc/uid/TP40014216)|[iBooks 版(英文)](https://itunes.apple.com/us/book/using-swift-cocoa-objective/id888894773?mt=11&ls=1) -* 爱好者翻译版:[在线版(中文)(By @CocoaChina)](https://github.com/CocoaChina-editors/Welcome-to-Swift/blob/master/UsingSwiftwithCocoaandObjective-C%E4%B8%AD%E6%96%87%E6%89%8B%E5%86%8C.md)|[PDF版(By @CocoaChina)](http://vdisk.weibo.com/s/EhsPPzRRQHNd/1402648326) - -### 4. [App Extension Programming Guide](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/index.html#//apple_ref/doc/uid/TP40014214) - -* 应用扩展要点(App Extension Essentials) - - 译文 | 译者 | 原文 ------------- | ------------- | ------------- -[应用扩展如何工作](http://www.devtalking.com/articles/understand-how-an-extension-works/) | [@DevTalking](http://weibo.com/jacefu) | [Understand How an Extension Works](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionOverview.html#//apple_ref/doc/uid/TP40014214-CH2-SW2) -[开发应用扩展](http://www.devtalking.com/articles/creating-an-app-extension/) | - | [Creating an App Extension](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionCreation.html#//apple_ref/doc/uid/TP40014214-CH5-SW1) -[APP 扩展提高你的应用影响力](http://www.devtalking.com/articles/app-extensions-increase-your-impact/) | - | [App Extensions Increase Your Impact](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/index.html#//apple_ref/doc/uid/TP40014214-CH20-SW1) -[常见问题的处理方案](http://www.devtalking.com/articles/handling-common-scenarios/) | - | [Handling Common Scenarios](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html#//apple_ref/doc/uid/TP40014214-CH21-SW1) - -* 应用扩展类型(App Extension Types) - - 译文 | 译者 / 校对 | 原文 ------------- | ------------- | ------------- -[Today](http://www.cocoachina.com/ios/20140904/9527.html)|[@CocoaChina](http://weibo.com/cocoachina) / [唧唧歪歪](http://weibo.com/p/1005051710992635)|[Today](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/NotificationCenter.html#//apple_ref/doc/uid/TP40014214-CH11-SW1) -[Share](http://www.cocoachina.com/ios/20140923/9728.html)|[@CocoaChina](http://weibo.com/cocoachina) / [张国鹏](http://blog.csdn.net/guopengzhang/article)|[Share](http://www.cocoachina.com/ios/20140923/9728.html) -[Action](http://www.cocoachina.com/ios/20140929/9800.html)|[@CocoaChina](http://weibo.com/cocoachina)|[Action](https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/Services.html#//apple_ref/doc/uid/TP40014214-CH13-SW1) -[照片编辑](http://www.cocoachina.com/ios/20141015/9918.html)| - |[Photo Editing](https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/Photos.html) -[Finder 同步](http://www.jianshu.com/p/359e064ffe20)|[@星夜暮晨](http://weibo.com/u/3227937731)|[Finder Sync](https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/Finder.html#//apple_ref/doc/uid/TP40014214-CH15-SW1) -[文档提供](http://www.jianshu.com/p/2f45696b812b)| - |[Document Provider](https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/FileProvider.html#//apple_ref/doc/uid/TP40014214-CH18-SW1) -[第三方输入法](http://www.jianshu.com/p/987dfa9f3baf)| - |[Custom Keyboard](https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/Keyboard.html#//apple_ref/doc/uid/TP40014214-CH16-SW7) - -### 5. [HomeKit Developer Guide](https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/HomeKitDeveloperGuide/Introduction/Introduction.html) -* [HomeKit 开发指南(中文版)](http://www.cocoachina.com/ios/20150324/11411.html)(By [@CocoaChina](http://weibo.com/cocoachina)):“内容包括:简介、启用HomeKit、创建Home布局、创建Homes和添加Accessories、观察HomeKit数据库的变化、访问服务和特性、测试HomeKitApp、创建动作集(Action Sets)和触发器(Triggers)以及用户管理”。 - -### 6. [Swift Blog - Apple Developer](https://developer.apple.com/swift/blog/) -"值得一提的是,Swift 博客是苹果官方网站的第一个 Blog,这也代表了苹果对开发者和消费者的态度正变得越来越开放。" - -译文 | 译者 | 原文 ------------- | ------------- | ------------- --|N/A|[New Playgrounds Part 2 - Sources](https://developer.apple.com/swift/blog/?id=26) -[Swift Nullability and Objective-C](http://blog.csdn.net/zhangao0086/article/details/44409913)|[Bannings](https://github.com/zhangao0086)|[Nullability and Objective-C](https://developer.apple.com/swift/blog/?id=25) --|N/A|[New Playgrounds](https://developer.apple.com/swift/blog/?id=24) --|N/A|[The as! Operator](https://developer.apple.com/swift/blog/?id=23) -[Swift 1.2 和 Xcode 6.3 beta](http://www.csdn.net/article/2015-03-06/2824131-xcode-6-3-beta-2)|[@老码团队](http://weibo.com/oldcoder)|[Swift 1.2 and Xcode 6.3 beta](https://developer.apple.com/swift/blog/?id=22) --|N/A|[New Swift Development Courses Available on iTunes U](https://developer.apple.com/swift/blog/?id=21) -[Swift REPL:一切皆可重定义](http://www.cocoachina.com/ios/20150212/11147.html)|[@MichealGeng](http://weibo.com/MichealGeng)|[Redefining Everything with the Swift REPL](https://developer.apple.com/swift/blog/?id=20) -[Swift 中的 NSMethodSignature 怎么了?](http://idlelife.org/archives/910)|[@pockry](http://weibo.com/pockry)|[ What Happened to NSMethodSignature?](https://developer.apple.com/swift/blog/?id=19) -[Swift REPL 入门介绍](http://idlelife.org/archives/842)| - |[Introduction to the Swift REPL](https://developer.apple.com/swift/blog/?id=18) -[可失败构造器](http://www.devtalking.com/articles/failable-initializers/)|[@DevTalking](http://weibo.com/jacefu) |[Failable Initializers](https://developer.apple.com/swift/blog/?id=17) --|N/A|[Building Your First Swift App Video](https://developer.apple.com/swift/blog/?id=16) -[通过 Playground 展示一些编码模式](http://www.devtalking.com/articles/patterns-playground/)|[@DevTalking](http://weibo.com/jacefu) | [Patterns Playground](https://developer.apple.com/swift/blog/?id=13) -[Swift 中 Optional 类型的使用案例分析:valuesForKeys](http://www.devtalking.com/articles/optionals-case-study/) | - | [Optionals Case Study:valuesForKeys](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html#//apple_ref/doc/uid/TP40014214-CH21-SW1) -[Swift 中的访问控制与 protected](http://www.devtalking.com/articles/access-control-and-protected/) | - | [Access Control and protected](https://developer.apple.com/swift/blog/?id=11) -[Swift 中的值类型和参照类型](http://www.devtalking.com/articles/swift-value-and-reference-types/) | - | [Value and Reference Types](https://developer.apple.com/swift/blog/?id=10) -[WWDC 2014大会中的 Playground 大炮气球示例](http://www.devtalking.com/articles/swift-balloon/) | - | [Balloons](https://developer.apple.com/swift/blog/?id=9) -[在 Swift 中构建布尔类型](http://www.devtalking.com/articles/swift-boolean/) | - | [Boolean](https://developer.apple.com/swift/blog/?id=8) -[Swift 中的文件和初始化](http://www.devtalking.com/articles/files-and-initialization/)| - | [Files and Initialization](https://developer.apple.com/swift/blog/?id=7) -[在 Swift 中使用 C 语言的指针](http://www.devtalking.com/articles/swift-c-pointer/) | - | [Interacting with C Pointers](https://developer.apple.com/swift/blog/?id=6) -*[Swift 新特性 - 访问控制](http://www.devtalking.com/articles/swift-access-control/)(文档版)| - | [Access Control](https://developer.apple.com/swift/blog/?id=5) - -### 7. iOS Human Interface Guidelines -* 苹果官方文档:[在线版(英文)](https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/index.html#//apple_ref/doc/uid/TP40006556-CH66-SW1), [iBooks 版(英文)](https://itunes.apple.com/us/book/ios-human-interface-guidelines/id877942287?mt=11) -* iOS 9 人机交互指南 - - 译文 | 来源 | 原文 ------------- | ------------- | ------------- -[UI 设计基础](http://isux.tencent.com/ios9-guideline-ch1.html)|[@腾讯ISUX](http://weibo.com/txisux)|[UI Design Basics](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/index.html#//apple_ref/doc/uid/TP40006556-CH66-SW1) -[设计策略](http://isux.tencent.com/ios9-guideline-ch2.html)|-|[Deisgn Princibles](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/Principles.html#//apple_ref/doc/uid/TP40006556-CH4-SW1) -iOS 技术([上](http://isux.tencent.com/ios9-guideline-ch3-1.html)、[下](http://isux.tencent.com/ios9-guideline-ch3-2.html))|-|[iOS Technologies](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/3DTouch.html#//apple_ref/doc/uid/TP40006556-CH71-SW1) - -* iOS 8 人机交互指南 - - 译文 | 来源 | 原文 ------------- | ------------- | ------------- -[UI 设计基础](http://isux.tencent.com/ios8-human-interface-guidelines.html) |[@腾讯ISUX](http://weibo.com/txisux)| [Designing for iOS](https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/index.html#//apple_ref/doc/uid/TP40006556-CH66-SW1) -[设计策略](http://isux.tencent.com/ios8-human-interface-guidelines-design-strategies.html) | - | [Design Principles](https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/Principles.html#//apple_ref/doc/uid/TP40006556-CH4-SW1) -iOS 技术([上](http://isux.tencent.com/ios8-human-interface-guidelines-technology-html.html)、[下](http://isux.tencent.com/ios8-human-interface-guidelines-technology.html))|-|[iOS Technologies](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/3DTouch.html#//apple_ref/doc/uid/TP40006556-CH71-SW1) - -* [iOS 7 人机交互指南](http://www.cocoachina.com/industry/20130628/6502.html) By CocoaChina - ---- -## [教程、指南、文章](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md) -> 旧版内容过于庞杂,不再维护,取而代之的是《[Swift 文章精选](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md)》。P.S. 需要查阅旧版内容的同学,详见[Swift 教程(旧版)](https://github.com/ipader/SwiftGuide/tree/master/archive/tutorial.md)。 - ---- -## [开源项目](https://github.com/ipader/SwiftGuide/blob/master/Featured.md) -> 旧版内容过于庞杂,不再维护,取而代之的是《[Swift 项目精选](https://github.com/ipader/SwiftGuide/blob/master/Featured.md)》。P.S. 需要查阅旧版内容的同学,详见[Swift 项目(旧版)](https://github.com/ipader/SwiftGuide/tree/master/archive/projects.md)。 - ---- -## 推荐网站 -* **苹果官方** - * [Swift](https://developer.apple.com/swift/):Swift 概述、博客以及开发资源。 - * [swift.org](https://swift.org/):开源后独立出来的 Swift 开源社区。 - * [GitHub:apple](https://github.com/apple):苹果在 GitHub 上的开源项目。 - * [GitHub:apple/swift](https://github.com/apple/swift):swift 语言在 GitHub 上的开源项目。 -* [ksm/SwiftInFlux](https://github.com/ksm/SwiftInFlux):作者(Karol Mazur)将 Apple Developer Forums 上有关 Swift 特性、缺陷及变更讨论分类汇总并更新到 GitHub,具有很好的可读性。从中可以一窥 Swift 缺陷及未来潜在地变化。最关键地是有 Chris Lattner 及核心团队答疑解惑。 -* [raywenderlich.com](http://www.raywenderlich.com/)([中文版](http://www.raywenderlich.com/zh-hans/)):由Ray Wenderlich创建,专注于开发高质量编程指南(近期优质Swift文章及视频教程不断),著名的iOS/OS X博客及开发教程网站,非常适合新手学习。近期第一时间出了[三本 Swift 新书](http://www.raywenderlich.com/74832/three-new-swift-books)。 -* [Natasha The Robot](http://natashatherobot.com/): 时髦码农不容错过的 Swift 开发实战教程类网站。为了简化学习复杂性,每一篇文章涵盖技术点单一又独立,配以开发步骤、运行结果以及代码等标准方式教授。难能可贵的是,它往往出品“追剧式”(最新开发特性或API跟进式)教程,实在是开发者必藏精品网站。 -* [NShipster](http://nshipster.com/) ([中译版](http://nshipster.cn/):[@刘镇夫](http://weibo.com/croath),[April Peng](http://nshipster.cn/translators/april-peng/),[@李乐佳](http://weibo.com/leelejia),[@程序员付恒](http://weibo.com/fallhunter) 等翻译):著名开源作者 [Matt Thompson](https://github.com/mattt) 创建的开发技术博客网站,他开发了 [AFNetworking](https://github.com/afnetworking/afnetworking) 网络库,也是非常多产的开源作者。更多了解参考:[《COCOA 潮人 MATTT THOMPSON》](http://www.fallhunter.com/p/10709) By [@程序员付恒](http://weibo.com/fallhunter) -* [jamesonquave.com](http://jamesonquave.com/blog/):移动开发者,优秀个人博客(近期文章同样关注于Swift 语言,写得很优质)。同时他将于8/30发布一本新书[《Developing iOS 8 Apps in Swift》](http://jamesonquave.com/swiftebook/) (Learn To Make Real World iOS 8 Apps)及视频教程。 -* [objc.io](https://www.objc.io/)([中译版 By @onevcat 及其朋友们](http://objccn.io)):"关于 Objective-C 最佳实践和先进技术的期刊。 由 Chris Eidhof, Daniel Eggert 和 Florian Kugler 成立于柏林。我们成立 objc.io 的目的是针对深入的、跟所有 iOS 和 OS X 开发者相关的技术话题创造一个正式的平台。“ -* [iOSCreator](http://www.ioscreator.com/):这类开发指引式教程对于初学者来讲,是直接明了的有效学习资源。推荐者[@荧星诉语](http://weibo.com/qq184675420) -* [iOS Dev Weekly](https://iosdevweekly.com/):收录一周以来 iOS 开发资讯链接,并于周五发布。由 [Dave Verwer](https://twitter.com/daveverwer) 创办,他是一位 iPhone 和 iPad 开发者以及培训师。 -* [Appcoda.com](http://www.appcoda.com/):质量很高的一个 iOS 开发教程站,其中[iOS Programming Course](http://www.appcoda.com/ios-programming-course/)这个专题很适合刚接触 iOS 开发的新手学习。 -* [中文 iOS/Mac 开发博客列表](https://github.com/tangqiaoboy/iOSBlogCN):By [@唐巧_body](http://weibo.com/tangqiaoboy) -* [devtalking.com](http://www.devtalking.com/):高产的中译博客。翻译了官方博客 Swift Blog - Apple Developer,《App Extension Programming Guide》。参与翻译了《Swift Programming Language》等。 -* [SwiftGG](http://swift.gg/):一个走心的 Swift 翻译组,由《The Swift Programming Language》中文版翻译团队原班人马组成, 翻译的文章来源于国外的优秀 Swift 网站和博客,且全部获得作者和网站授权。 -* [Swift Weekly Brief](http://www.jessesquires.com):“这个博客现在每周会将Swift开源中的重要讨论和提交整理成Open source Swift weekly brief,这对一线开发者尽早了解这门语言的动态情报很有帮助。By [@崔康总编](http://weibo.com/cuikang82) ”。来源:[Jesse Squires](http://www.jessesquires.com) -* [iosdevtips.co](http://iosdevtips.co):iOS Development Tips - -* **资源合集** -> 以下是其它开发者社区或 Swift 爱好者整理的有关 Swift 语言学习的资源列表。 - - * [SwiftEducation](https://github.com/SwiftEducation):“这是建立在 GitHub 上的一个 Swift 学习资料汇集,包括了有关幻灯和多个练手的应用程序源码。By @极客头条”。的确有不少基础实用的好[教程](https://github.com/SwiftEducation/presentations)。这对于基础学起的同学有福了。 - * [Awesome-Swift-Education](https://github.com/hsavit1/Awesome-Swift-Education):整理地如此美妙的学习资源,实在让人太欢喜了。 - * [matteocrippa/awesome-swift](https://github.com/matteocrippa/awesome-swift):这个版本的 Swift 资源集合内容丰富,分类也不错。作者:[Matteo Crippa](matteocrippa/awesome-swift) - * [适合iOS开发者的 15 大网站推荐](http://www.csdn.net/article/2015-03-04/2824108-ios-developers-sites/1):的确很全、很主流的国外 iOS 开发者网站。 - * [码农周刊 -《Swift 特刊》](http://weekly.manong.io/issues/33?ref=swift) - * [CocoaChina -《Swift 新手入门汇集帖》](http://www.cocoachina.com/bbs/read.php?tid=204512) - * [CSDN_CODE -《Swift 编程语言资料大合集》](http://code.csdn.net/news/2820075) - * [InfoQ -《学习苹果 Swift 语言的一些在线资源(英文)》](http://www.infoq.com/cn/news/2014/06/apple-swift-learning-resources) - * [刘兰涛 -《Swift 学习资源》](https://github.com/Lax/iOS-Swift-Demos/wiki) By [@懒桃儿吃桃儿](http://weibo.com/u/1653644220) - * [learnswift.tips](http://www.learnswift.tips/):国外主流 Swift 学习资源集合。 - * [Awesome iOS](https://github.com/vsouza/awesome-ios):一个 iOS 的各类优秀的开源项目集合。真不错!可惜Swift开源项目资源不足。 - * [iOS Developer Tips](http://iosdevelopertips.com/):还是有关 iOS 的开发资源及文章合集。 - * [Wolg/awesome-swift](https://github.com/Wolg/awesome-swift):一位俄罗斯朋友分类整理的 Swift 资源列表(有持续更新)。 - * [Aufree/trip-to-iOS](https://github.com/Aufree/trip-to-iOS):显然作者很用心的做了非常深入的整理。它对于开发者拓展学习范围及开发知识面非常有益。 - * [Robin Eggenkamp - Awesome Swift](https://swift.zeef.com/robin.eggenkamp):“一个收集了很多 Swift 开发资源的网站”。 - * [iOS 开发技术前线](https://github.com/bboyfeiyu/iOS-tech-frontier):“一个定期翻译、发布国内外iOS优质的技术、开源库、软件架构设计、测试等文章的开源项目”。主要翻译来源 Ray Wenderlich,App Coda,Medium。来源:[@开发技术前线](http://weibo.com/u/5589212242) - * [11个超棒的 iOS 开发学习网站](http://www.cocoachina.com/ios/20150626/11348.html):还算比较主流的归纳。不过,缺了raywenderlich.com 和 ioscreator.com 这两个重量级教程网站实在是不应该啊。 - ---- -## 开发工具 -### 1. 编程工具 -* [Xcode 6 beta下载](https://developer.apple.com/swift/resources/):苹果应用集成开发环境。支持 C/C++, Objective C, Swift 等。不用购买开发者计划,直接下载。 -* [Textmate](http://macromates.com/):Mac OS X 上一个可高度自定义的编辑器,尤其在我想做出一个快速改变但又不想等待 Xcode 加载的时候。该工具目前已经[开源](https://github.com/textmate/textmate) -* [Mou](http://mouapp.com/):OS X 上一款 Markdown 的编辑器。非常适用于编写自述文件、变更日志以及其他方面的内容。作者:[罗晨](http://chenluois.com/) -* [Sublime Text ($)](http://www.sublimetext.com/):Mac OS X 上另一款非常受欢迎的轻量级,可高度自定义的编辑器。 -* [RunSwift](http://www.runswiftlang.com/):正在犹豫是否入手苹果电脑开始一段 Swift 编程旅程的同学们,或仅仅为了试验一段简单 Swift 代码又懒得打开 Xcode,可以试试这款 Web 版 Swift 编译环境 RunSwift。 -* [InfinitApps - Bezel](http://infinitapps.com/bezel/):“嫌 Xcode 6 目前提供的 Watch 模拟器不够直观?Bezel 是一个用于视觉预览 WatchKit 所开发程序效果的小工具,前提是你安装了 xScope 软件(Mac端)或 xScopeMirror(iPhone端)。 By [@WatchKit开发](http://weibo.com/twios)” -* [Markdown -> Playground](https://github.com/jas/playground):该开源项目可将内含有 Swift 代码的 Markdown 自动转换为 Xcode Playgrounds 文件。喜欢用 Markdown 编辑的同学很激动吧。P.S. 这款工具写于 NodeJS,原因作者有交待。 -* [iOS/Mac Autolayout Constraints](https://autolayoutconstraints.com):这个工具不错,很直观,布局时可以省不少工夫。推荐者:[@荧星诉语](http://weibo.com/qq184675420) -* [在线生成 AppStore 审核用截图](https://appscreens.io/yK7cLuBNij):便捷的生产力工具。免费,易操作,可自定义。 - -### 2. 代码管理 -* [GitHub](https://github.com/):声望日盛的资源分享之地。 -* [GitHub for Mac](https://desktop.github.com/):一个设计的非常美观的 git 客户端,不能取代你从命令行获得的所有功能,但使用起来非常简单。 -* [GitCafe](https://gitcafe.com/):GitCafe is a source code hosting service based on version control system Git。国内的代码托管服务,基于 Git,值得一提的是最近也推出了和 GitHub Pages 类似的服务 Gitcafe Pages。因为是在国内,所以相比较 GitHub 有速度优势,在网络环境差的情况下也许可以作为 GitHub 的备用。 -* [Bitbucket](https://bitbucket.org/):国外的代码托管服务,不同于 GitHub 的是,Bitbucket 可以免费建立 private 项目。 -* [Git](http://git-scm.com/):分布式版本控制系统和源码管理系统,其优点是:快和简单易用。对于新手来说,可在此查看免费电子书籍。 - -### 3. Xcode 插件 -* [CocoaPods](http://beta.cocoapods.org/):第三方库的管理利器,允许你简单地把第三方库整合进自己的应用中。对我个人来说,我基本上每个项目都使用 CocoaPods。 -* [CocoaPods Xcode Plugin](https://github.com/kattrali/cocoapods-xcode-plugin):一款 Xcode 插件,允许你直接从 Xcode 管理 CocoaPod 依赖。 -* [onevcat/VVDocumenter-Xcode](https://github.com/onevcat/VVDocumenter-Xcode):快捷注释 Xcode 插件。By [@onevcat](http://weibo.com/onevcat) -* [ColorSense](https://github.com/omz/ColorSense-for-Xcode):一款显示颜色数值的插件,还可以直接通过系统的ColorPicker来自动生成对应颜色代码 -* [Xcode 优秀插件整理](https://github.com/ddapps/DeepIniOS):持续保持整理更新的 Xcode 插件整理 By [@ddapps](https://github.com/ddapps) -* [CodeEagle/SwiftCodeSnippets](https://github.com/CodeEagle/SwiftCodeSnippets):自动下载指定 Xcode Snippet 源的 Xcode Plugin。项目缺省提供 Snippet 代码源 [burczyk/XcodeSwiftSnippets](https://github.com/burczyk/XcodeSwiftSnippets/tree/master/plist) 。 -* [realm/SwiftLint](https://github.com/realm/SwiftLint):Realm 采用 Swift 编写的基于 GitHub's Swift Style Guide 规则的检查工具。除了命令行运行方式,也提供集成 Xcode 的方法。对于新团队,这样的工具可以自动约束大家遵循编程规范。 -* [XCode 升级后插件失效的原理与修复办法](http://joeshang.github.io/2015/04/10/fix-xcode-upgrade-plugin-invalid/):由一条命令引发的分析文章。[@_TongJZ](http://weibo.com/u/2068840121) -* [feinstruktur/CoPilot](https://github.com/feinstruktur/CoPilot):通过此插件,Xcode 可以协同编程了(采用 WebSocket 通讯)。如此强大的“黑工具”,不爱它能行吗。[演示视频](https://vimeo.com/128713880) - -### 4. 管理工具 -* [HomeBrew](http://brew.sh/index_zh-cn.html):OS X 上非常出色的包管理工具。 -* [Transmit ($)](http://panic.com/transmit/):一个Mac OS X 上 FTP 客户端,有着非常漂亮的用户界面和有用的功能。 - -### 5. 调试工具 -* [mattt/fuckingclangwarnings.com](http://fuckingclangwarnings.com/):警告与语义对照表。以后再也不用为 Xcode 各种警告纠结啦!By [@foogry](http://weibo.com/foogry) - -### 6. 设计工具 -* [sketch](http://www.sketchapp.com/):更适合开发应用的矢量设计工具。通过插件还支持与代码协同工作。推荐书籍:[Learn Sketch 3](https://designcode.io/sketch) - -### 7. 参考文章 -* [iOS 开发工具](http://www.cocoachina.com/ios/20140417/8187.html):"这是我们多篇 iOS 开发工具系列篇中的一篇,此前的文章比如:那些不能错过的 Xcode 插件,iOS 开发者有价值的工具集,iOS/OS X 开发:各种工具快到碗里来!,App 原型设计工具使用心得(上)& App 原型设计工具使用心得(下),你用哪种工具进行 iOS app 自动化功能测试?iOS 开发者必知的 75 个工具" By @CocoaChina -* [IOS 各种调试技巧豪华套餐](http://www.cnblogs.com/daiweilai/p/4421340.html):讲得很细。对于初学 Xcode 开发的同学值得参考,对于有经验的同学可以略过。作者:[@David戴未来](http://weibo.com/daiweilai) -* [详解Xcode 6的视图调试](http://www.cocoachina.com/ios/20150423/11658.html):教程非常实用,值得学习。另外,教程选用的开源项目([jessesquires/JSQMessagesViewController](https://github.com/jessesquires/JSQMessagesViewController))也很经典。来源:Ray Wenderlich,译者:[@CocoaChina](http://weibo.com/cocoachina) 翻译组 - -## [媒体报道](https://github.com/ipader/SwiftGuide/tree/master/archive/news.md) -## [开放平台](https://github.com/ipader/SwiftGuide/tree/master/archive/platforms.md) -## [Apple Watch 指南](https://github.com/ipader/SwiftGuide/blob/master/Apple%20Watch/README.md) + +> **A structured knowledge project revisited** +> SwiftGuide was a long-running Swift learning and open source reference project. +> Today, it is being revisited as a real-world sample for exploring how long-lived Markdown documents and mind-map structures can become maintainable knowledge assets with DeMinds. +> Related project: [DeMinds](https://deminds.xyz) + +Since Apple introduced Swift at WWDC 2014, [this project](https://github.com/ipader/SwiftGuide/blob/master/2014%20letter.md) has been collecting mainstream Swift learning and development resources, especially for Chinese-speaking developers. + +Over time, as Swift became more mature and the volume of beginner-oriented learning materials grew beyond what this project could reasonably maintain, SwiftGuide shifted its focus. Instead of trying to keep every Swift learning resource up to date, the project now concentrates on selected Swift open source resources, including projects, application architecture, development practices, and tools. + +The current version of this project is therefore less a beginner’s Swift guide and more a structured reference map for the Swift open source ecosystem. Its content is designed to be presented mainly through mind maps, making it easier to browse, compare, and revisit over time. + +The older beginner-focused document, [Swift Language Guide](https://github.com/ipader/SwiftGuide/blob/master/README20181213.md), is no longer actively updated or maintained. + +The project was renamed from **SwiftGuide** to **Swift Open Source Highlights**, and the repository name was changed from the original `SwiftGuide` to `awesome-swift`. + +The documents currently maintained or preserved are listed below. + +## Swift Open Source Project Map + +This document is based mainly on the GitHub projects tracked over the years by Weibo account [@SwiftLanguage](https://weibo.com/SwiftLanguage), along with a broader review of open source projects in the Swift ecosystem. + +It is an attempt to organize those projects into a relatively structured and concise Swift open source reference knowledge base, presented primarily as a mind map. + +[Read more...](2019/OpenSourceforSwift-Classification.md) + +![](2019/OpenSourceforSwift-Classification.png?raw=true) + +## Swift Open Source Projects — Application Architecture View + +Based on the [Swift Open Source Project Map](2019/OpenSourceforSwift-Classification.md), this document further refines the selected projects from an application architecture perspective. + +The selection and classification are weighted more toward how each project contributes to building real applications, its long-term sustainability, and, in some cases, the influence of its developers or maintainers. + +The goal is to maintain a focused and less chaotic subset of Swift open source projects that may be more useful when thinking about application architecture and development practice. + +[Read more...](2019/OpenSourceforSwift-ApplicationArchitecture.md) + +![](2019/OpenSourceforSwift-ApplicationArchitecture.png?raw=true) + +## Swift Open Source Project Teams + +An introduction to notable project teams, companies, and organizations that have contributed to the Swift open source ecosystem. + +[Read more...](2019/SwiftDevelopmentTeam.md) + +## Notable Swift Developers + +An introduction to well-known developers active in the Swift open source community and the projects they have created or maintained. + +[Read more...](2019/SwiftDevelopers.md) + +## Recent Share and Collection + +Markdown Programming in Swift + +![](2021/MarkdownProgramminginSwift.png?raw=true) diff --git a/README.zh-CN.md b/README.zh-CN.md new file mode 100644 index 00000000..606bca24 --- /dev/null +++ b/README.zh-CN.md @@ -0,0 +1,27 @@ +Language: 中文 · [English](README.md) + +Swift 开源精选 +> 本文为 SwiftGuide / Swift 开源精选的原中文说明文档。当前英文 README 作为项目新的主入口,用于重新介绍该项目作为结构化知识资产的历史与延续。 + +=== +  自 2014年 WWDC 发布 Swift 语言以来,[本项目](https://github.com/ipader/SwiftGuide/blob/master/2014%20letter.md) 一直致力于将主流 Swift 中文学习、开发资源汇集于此,并且尽力紧密地跟踪、甄选优秀 Swift 开源项目,以方便开发者快速获得并使用。考虑 Swift 已经正式发布超过四年半(更无力管理维护海量的 Swift 学习资源),因此,后续本项目将专注于 Swift 开源精选资源方向(项目及应用架构,开发方法和工具)进行维护、更新,内容的呈现或展示形式将着重于思维导图。而相对偏重于 Swift 初学者的旧有文档 [Swift 语言指南](https://github.com/ipader/SwiftGuide/blob/master/README20181213.md) 将不再进一步更新、维护。项目名称变更为 Swift 开源精选,库名由原先的 SwiftGuide 改为 awesome-swift。后续更新、维护的文档如下: + +* Swift 开源项目精选导图 +> 这份文档主要基于微博 @SwiftLanguage 跟踪过活跃于 Swift 语言领域的那些 GitHub 开源项目,顺便也是对于过去几年关注的开源项目进行一次系统化梳理。尝试整理出一份相对结构化且精练的 Swift 开源项目参考知识库,它将主要以思维导图形式呈现。[详见……](2019/OpenSourceforSwift-Classification.md)   + +![](2019/OpenSourceforSwift-Classification.png?raw=true) + +* Swift 开源项目精选 - 应用架构角度 +> 基于[Swift 开源项目精选导图](2019/OpenSourceforSwift-Classification.md),以应用架构角度出发继续甄选并“精分”。筛选、介定方法更偏重于构建应用时,项目在分类中起到的作用权重,可持续性权重,并部分算上开发者影响力。尝试持续地完善一份不那么杂乱无章(也许还比较好用)的 Swift 开源子集。[详见……](2019/OpenSourceforSwift-ApplicationArchitecture.md)  + +![](2019/OpenSourceforSwift-ApplicationArchitecture.png?raw=true) + +* Swift 开源项目团队介绍 +> 介绍活跃于开源社区优秀的项目团队以及参与到 Swift 项目的公司或组织。[详见……](2019/SwiftDevelopmentTeam.md)  + +* Swift 知名开发者介绍 +> 介绍活跃于开源社区知名的开发者及其作品。[详见……](2019/SwiftDevelopers.md)  + +* 近期分享和收录 Markdown Programming in Swift + +![](2021/MarkdownProgramminginSwift.png?raw=true) diff --git a/README20181213.md b/README20181213.md new file mode 100644 index 00000000..b41da76f --- /dev/null +++ b/README20181213.md @@ -0,0 +1,151 @@ +# 2018/12/13 起不再维护 +--- +Swift 语言指南 +=== +  [这份指南](https://github.com/ipader/SwiftGuide/blob/master/2014%20letter.md)汇集了 Swift 语言主流学习资源,并以开发者的视角整理编排。对于精选项目及文章,可直接访问《[Swift 项目精选](https://github.com/ipader/SwiftGuide/blob/master/Featured.md)》和《[Swift 文章精选](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md)》。还有开发者们自己维护的《[开发者、项目、最佳实践](https://github.com/ipader/SwiftGuide/wiki/%E5%BC%80%E5%8F%91%E8%80%85%E3%80%81%E9%A1%B9%E7%9B%AE%E3%80%81%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5)》。当然也不能错过那些活跃、优秀的《[开发者个人资料页](https://github.com/ipader/SwiftGuide/wiki/%E5%BC%80%E5%8F%91%E8%80%85%E4%B8%AA%E4%BA%BA%E8%B5%84%E6%96%99%E9%A1%B5)》。往期《[收录周报](https://github.com/ipader/SwiftGuide/blob/master/weekly/README.md)》回顾。 + + +## 目录 +* [入门指引](#welcome) +* [教程文章](#swift_courses) +* [开源项目](#swift_projects) +* [推荐网站](#recomm_sites) +* [开发工具](#tools) +* [媒体报道](https://github.com/ipader/SwiftGuide/tree/master/archive/news.md) +* [开放平台](https://github.com/ipader/SwiftGuide/tree/master/archive/platforms.md) +* [Apple Watch 指南](https://github.com/ipader/SwiftGuide/blob/master/Apple%20Watch/README.md) + +--- + +## 入门指引 + +苹果为 [Swift](http://www.apple.com/swift/)([中文介绍](http://www.apple.com/cn/swift/))开发者提供的 [官方文档入口](https://developer.apple.com/swift/),包括 [概述](https://developer.apple.com/swift/),[博客](https://developer.apple.com/swift/blog/)([中文镜像](https://github.com/ipader/SwiftGuide/tree/master/mirror/Swift%20Blog%20-%20Apple%20Developer))及 [开发资源](https://developer.apple.com/swift/resources/)。其中以下几份文档为入门级必备([iBooks 版](https://itunes.apple.com/us/book-series/swift-programming-series/id888896989?mt=11)): + +* [Swift Programming Language](https://developer.apple.com/swift/)([4.0 中文版](https://www.cnswift.org/) by [@lomyrjo](https://twitter.com/lomyrjo) | [3.0 中文版](http://gg.swiftguide.cn),[3.0 中文版(PDF)](http://wiki.jikexueyuan.com/download/swift/pdf/) By [SwiftGG](http://weibo.com/swiftguide)) +* [Start Developing iOS Apps](https://developer.apple.com/library/content/referencelibrary/GettingStarted/DevelopiOSAppsSwift/index.html) +* [Using Swift with Cocoa and Objective-C](https://developer.apple.com/library/ios/documentation/Swift/Conceptual/BuildingCocoaApps/index.html)([中文版](https://github.com/CocoaChina-editors/Welcome-to-Swift/blob/master/UsingSwiftwithCocoaandObjective-C%E4%B8%AD%E6%96%87%E6%89%8B%E5%86%8C.md) By [@CocoaChina](http://weibo.com/cocoachina)) + +学习实践的角度,标准库示例代码 [Swift Standard Library.playground](https://developer.apple.com/sample-code/swift/downloads/Standard-Library.zip) 是很棒的学习伴侣。 + +教程方面,苹果力荐了斯坦福课程 [Stanford University: Developing iOS 11 Apps with Swift](https://itunes.apple.com/cn/podcast/developing-ios-11-apps-with-swift)([中文字幕](https://github.com/ApolloZhu/Developing-iOS-11-Apps-with-Swift) By [ApolloZhiyu](https://weibo.com/u/2607042732)) + +除以上所涉及入门级文档,[iOS Developer Library](https://developer.apple.com/library/ios/navigation/) 还为开发者提供了更庞大、系统化的开发文档支持。 + +以下列举了几份已有第三方中文翻译文档: + +* [API Design Guidelines](https://swift.org/documentation/api-design-guidelines/)([中文版](https://www.jianshu.com/p/b11dd44f2848) By [fever105](https://weibo.com/fever105)) +* [App Extension Programming Guide](https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/index.html)([中译镜像](https://github.com/ipader/SwiftGuide/tree/master/mirror/App%20Extension%20Programming%20Guide)) +* [Human Interface Guidelines](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/index.html)([中文版(一](http://www.ui.cn/detail/283944.html)、[二)](http://www.ui.cn/detail/284044.html) By [奔跑的蓝大喵](),[iPhone X](https://zhuanlan.zhihu.com/p/29327102) By [饿了么UED](https://weibo.com/eued)) +* [Auto Layout Guide](https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/AutolayoutPG/index.html#//apple_ref/doc/uid/TP40010853)([中文版](https://www.jianshu.com/nb/16482665) By [fever105](https://weibo.com/fever105)) +* [HomeKit Developer Guide](https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/HomeKitDeveloperGuide/Introduction/Introduction.html)([中文版](http://www.cocoachina.com/ios/20150324/11411.html) By [@CocoaChina](http://weibo.com/cocoachina)) + +值得称道的还有:苹果为开发者提供的[开发视频](https://developer.apple.com/videos/)(包括 WWDC session,可选中文字幕),方便开发者观看来自官方的权威技术分享。 + +有关于 Swift 开源及跨平台开发,可以关注 [swift.org](https://swift.org/) + +## [教程文章](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md) + + +## [开源项目](https://github.com/ipader/SwiftGuide/blob/master/Featured.md) +>那些仍然活跃的 Swift 开源项目整理,分类规则尽可能遵循苹果开发者文档(对应关系仅做参考);筛选规则主要参考过去四年多来微博分享,综合了库的实用性、稳定性、star/fork,以及活跃度等因素。整理后的开源项目数量目前为 400 多个项目,并以图片及 [myMindNode 浏览](https://xiaozhuanlan.com/topic/5271086934) 两种方式呈现。以下是站在应用架构角度全新整理的其中一部分。望大家多多鼓励、支持,谢谢。🙏 + +![](https://raw.githubusercontent.com/ipader/SwiftGuide/master/Open%20Source%20for%20Swift%20-%20App%20Architecture.png) + + + +## 推荐网站 +* **苹果官方** + * [Swift](https://developer.apple.com/swift/):Swift 概述、博客以及开发资源。 + * [swift.org](https://swift.org/):开源后独立出来的 Swift 开源社区。 + * [GitHub:apple](https://github.com/apple):苹果在 GitHub 上的开源项目。 + * [GitHub:apple/swift](https://github.com/apple/swift):swift 语言在 GitHub 上的开源项目。 +* [ksm/SwiftInFlux](https://github.com/ksm/SwiftInFlux):作者(Karol Mazur)将 Apple Developer Forums 上有关 Swift 特性、缺陷及变更讨论分类汇总并更新到 GitHub,具有很好的可读性。从中可以一窥 Swift 缺陷及未来潜在地变化。最关键地是有 Chris Lattner 及核心团队答疑解惑。 +* [raywenderlich.com](https://www.raywenderlich.com/)([中文版](https://www.raywenderlich.com/zh-hans/)):由Ray Wenderlich创建,专注于开发高质量编程指南(近期优质Swift文章及视频教程不断),著名的iOS/OS X博客及开发教程网站,非常适合新手学习。近期第一时间出了[三本 Swift 新书](https://www.raywenderlich.com/74832/three-new-swift-books)。 +* [Natasha The Robot](http://www.natashatherobot.com/): 时髦码农不容错过的 Swift 开发实战教程类网站。为了简化学习复杂性,每一篇文章涵盖技术点单一又独立,配以开发步骤、运行结果以及代码等标准方式教授。难能可贵的是,它往往出品“追剧式”(最新开发特性或API跟进式)教程,实在是开发者必藏精品网站。 +* [NShipster](http://nshipster.com/) ([中译版](http://nshipster.cn/):[@刘镇夫](http://weibo.com/croath),[April Peng](http://nshipster.cn/translators/april-peng/),[@李乐佳](http://weibo.com/leelejia),[@程序员付恒](http://weibo.com/fallhunter) 等翻译):著名开源作者 [Matt Thompson](https://github.com/mattt) 创建的开发技术博客网站,他开发了 [AFNetworking](https://github.com/afnetworking/afnetworking) 网络库,也是非常多产的开源作者。更多了解参考:[《COCOA 潮人 MATTT THOMPSON》](http://www.fallhunter.com/p/10709) By [@程序员付恒](http://weibo.com/fallhunter) +* [jamesonquave.com](http://jamesonquave.com/blog/):移动开发者,优秀个人博客(近期文章同样关注于Swift 语言,写得很优质)。同时他将于8/30发布一本新书[《Developing iOS 8 Apps in Swift》](http://jamesonquave.com/swiftebook/) (Learn To Make Real World iOS 8 Apps)及视频教程。 +* [objc.io](https://www.objc.io/)([中译版 By @onevcat 及其朋友们](http://objccn.io)):"关于 Objective-C 最佳实践和先进技术的期刊。 由 Chris Eidhof, Daniel Eggert 和 Florian Kugler 成立于柏林。我们成立 objc.io 的目的是针对深入的、跟所有 iOS 和 OS X 开发者相关的技术话题创造一个正式的平台。“ +* [iOSCreator](http://www.ioscreator.com/):这类开发指引式教程对于初学者来讲,是直接明了的有效学习资源。推荐者[@荧星诉语](http://weibo.com/qq184675420) +* [iOS Dev Weekly](https://iosdevweekly.com/):收录一周以来 iOS 开发资讯链接,并于周五发布。由 [Dave Verwer](https://twitter.com/daveverwer) 创办,他是一位 iPhone 和 iPad 开发者以及培训师。 +* [Appcoda.com](http://www.appcoda.com/):质量很高的一个 iOS 开发教程站,其中[iOS Programming Course](http://www.appcoda.com/ios-programming-course/)这个专题很适合刚接触 iOS 开发的新手学习。 +* [中文 iOS/Mac 开发博客列表](https://github.com/tangqiaoboy/iOSBlogCN):By [@唐巧_body](http://weibo.com/tangqiaoboy) +* [devtalking.com](http://www.devtalking.com/):高产的中译博客。翻译了官方博客 Swift Blog - Apple Developer,《App Extension Programming Guide》。参与翻译了《Swift Programming Language》等。 +* [SwiftGG](http://swift.gg/):一个走心的 Swift 翻译组,由《The Swift Programming Language》中文版翻译团队原班人马组成, 翻译的文章来源于国外的优秀 Swift 网站和博客,且全部获得作者和网站授权。 +* [Swift Weekly Brief](http://www.jessesquires.com):“这个博客现在每周会将Swift开源中的重要讨论和提交整理成Open source Swift weekly brief,这对一线开发者尽早了解这门语言的动态情报很有帮助。By [@崔康总编](http://weibo.com/cuikang82) ”。来源:[Jesse Squires](http://www.jessesquires.com) +* [Swift Developer Weekly](http://swiftdevweekly.co/):这个网站每周推送最新的技术文章和书本推荐到你的email,由Phil Wright创办。 +* [iosdevtips.co](http://iosdevtips.co):iOS Development Tips + +* **资源合集** + > 以下是其它开发者社区或 Swift 爱好者整理的有关 Swift 语言学习的资源列表。 + + * [SwiftEducation](https://github.com/SwiftEducation):“这是建立在 GitHub 上的一个 Swift 学习资料汇集,包括了有关幻灯和多个练手的应用程序源码。By @极客头条”。的确有不少基础实用的好[教程](https://github.com/SwiftEducation/presentations)。这对于基础学起的同学有福了。 + * [Awesome-Swift-Education](https://github.com/hsavit1/Awesome-Swift-Education):整理地如此美妙的学习资源,实在让人太欢喜了。 + * [iOS Cookies](http://www.ioscookies.com/):分类合理、排序靠谱的 Swift 开源类库集合。 + * [matteocrippa/awesome-swift](https://github.com/matteocrippa/awesome-swift):这个版本的 Swift 资源集合内容丰富,分类也不错。作者:[Matteo Crippa](https://github.com/matteocrippa) + * [适合iOS开发者的 15 大网站推荐](http://www.csdn.net/article/2015-03-04/2824108-ios-developers-sites/1):的确很全、很主流的国外 iOS 开发者网站。 + * [掘金 Swift 版块](http://gold.xitu.io/#/tag/Swift) + * [码农周刊 -《Swift 特刊》](http://weekly.manong.io/issues/33?ref=swift) + * [CocoaChina -《Swift 新手入门汇集帖》](http://www.cocoachina.com/bbs/read.php?tid=204512) + * [CSDN_CODE -《Swift 编程语言资料大合集》](http://code.csdn.net/news/2820075) + * [InfoQ -《学习苹果 Swift 语言的一些在线资源(英文)》](http://www.infoq.com/cn/news/2014/06/apple-swift-learning-resources) + * [刘兰涛 -《Swift 学习资源》](https://github.com/Lax/iOS-Swift-Demos/wiki) By [@懒桃儿吃桃儿](http://weibo.com/u/1653644220) + * [learnswift.tips](http://www.learnswift.tips/):国外主流 Swift 学习资源集合。 + * [Awesome iOS](https://github.com/vsouza/awesome-ios):一个 iOS 的各类优秀的开源项目集合。真不错!可惜Swift开源项目资源不足。 + * [iOS Developer Tips](http://iosdevelopertips.com/):还是有关 iOS 的开发资源及文章合集。 + * [Wolg/awesome-swift](https://github.com/Wolg/awesome-swift):一位俄罗斯朋友分类整理的 Swift 资源列表(有持续更新)。 + * [Aufree/trip-to-iOS](https://github.com/Aufree/trip-to-iOS):显然作者很用心的做了非常深入的整理。它对于开发者拓展学习范围及开发知识面非常有益。 + * [Robin Eggenkamp - Awesome Swift](https://swift.zeef.com/robin.eggenkamp):“一个收集了很多 Swift 开发资源的网站”。 + * [iOS 开发技术前线](https://github.com/hehonghui/iOS-tech-frontier):“一个定期翻译、发布国内外iOS优质的技术、开源库、软件架构设计、测试等文章的开源项目”。主要翻译来源 Ray Wenderlich,App Coda,Medium。来源:[@开发技术前线](http://weibo.com/u/5589212242) + * [11个超棒的 iOS 开发学习网站](http://www.cocoachina.com/ios/20150626/11348.html):还算比较主流的归纳。不过,缺了raywenderlich.com 和 ioscreator.com 这两个重量级教程网站实在是不应该啊。 + * [30天30个Swift小程序](https://github.com/nimomeng/30-swift-projects-in-30-days):一位开发者用30天写的30个小app,完全用Swift3.2编写,适合新手参考联系。中文介绍[在这里](http://www.jianshu.com/p/c6ae28964ad5) + +--- +## 开发工具 +### 1. 编程工具 +* [Xcode 下载](https://developer.apple.com/swift/resources/):苹果应用集成开发环境。支持 C/C++, Objective C, Swift 等。不用购买开发者计划,直接下载。 +* [Textmate](http://macromates.com/):Mac OS X 上一个可高度自定义的编辑器,尤其在我想做出一个快速改变但又不想等待 Xcode 加载的时候。该工具目前已经[开源](https://github.com/textmate/textmate) +* [Mou](http://mouapp.com/):OS X 上一款 Markdown 的编辑器。非常适用于编写自述文件、变更日志以及其他方面的内容。作者:[罗晨](http://chenluois.com/) +* [Sublime Text ($)](http://www.sublimetext.com/):Mac OS X 上另一款非常受欢迎的轻量级,可高度自定义的编辑器。 +* [RunSwift](http://www.runswiftlang.com/):正在犹豫是否入手苹果电脑开始一段 Swift 编程旅程的同学们,或仅仅为了试验一段简单 Swift 代码又懒得打开 Xcode,可以试试这款 Web 版 Swift 编译环境 RunSwift。 +* [InfinitApps - Bezel](http://infinitapps.com/bezel/):“嫌 Xcode 6 目前提供的 Watch 模拟器不够直观?Bezel 是一个用于视觉预览 WatchKit 所开发程序效果的小工具,前提是你安装了 xScope 软件(Mac端)或 xScopeMirror(iPhone端)。 By [@WatchKit开发](http://weibo.com/twios)” +* [Markdown -> Playground](https://github.com/jas/playground):该开源项目可将内含有 Swift 代码的 Markdown 自动转换为 Xcode Playgrounds 文件。喜欢用 Markdown 编辑的同学很激动吧。P.S. 这款工具写于 NodeJS,原因作者有交待。 +* [iOS/Mac Autolayout Constraints](https://autolayoutconstraints.com):这个工具不错,很直观,布局时可以省不少工夫。推荐者:[@荧星诉语](http://weibo.com/qq184675420) +* [IBM Swift Sandbox](https://swiftlang.ng.bluemix.net/#/repl):IBM的在线Swift网站,需要翻墙。 +* [SwiftStub](http://swiftstub.com/):另外一个Swift在线练习网站。 + +### 2. 代码管理 +* [GitHub](https://github.com/):声望日盛的资源分享之地。 +* [GitHub for Mac](https://desktop.github.com/):一个设计的非常美观的 git 客户端,不能取代你从命令行获得的所有功能,但使用起来非常简单。 +* [GitCafe](https://gitcafe.com/):GitCafe is a source code hosting service based on version control system Git。国内的代码托管服务,基于 Git,值得一提的是最近也推出了和 GitHub Pages 类似的服务 Gitcafe Pages。因为是在国内,所以相比较 GitHub 有速度优势,在网络环境差的情况下也许可以作为 GitHub 的备用。 +* [Bitbucket](https://bitbucket.org/):国外的代码托管服务,不同于 GitHub 的是,Bitbucket 可以免费建立 private 项目。 +* [Git](https://git-scm.com/):分布式版本控制系统和源码管理系统,其优点是:快和简单易用。对于新手来说,可在此查看免费电子书籍。 +* [SourceTree](https://www.sourcetreeapp.com/):A free Git & Mercurial client for Windows or Mac.免费的Git和Mercurial客户端,当然也可以配合Bitbucket使用。 + +### 3. Xcode 插件 +* [CocoaPods](http://beta.cocoapods.org/):第三方库的管理利器,允许你简单地把第三方库整合进自己的应用中。对我个人来说,我基本上每个项目都使用 CocoaPods。 +* [CocoaPods Xcode Plugin](https://github.com/kattrali/cocoapods-xcode-plugin):一款 Xcode 插件,允许你直接从 Xcode 管理 CocoaPod 依赖。 +* [onevcat/VVDocumenter-Xcode](https://github.com/onevcat/VVDocumenter-Xcode):快捷注释 Xcode 插件。By [@onevcat](http://weibo.com/onevcat) +* [ColorSense](https://github.com/omz/ColorSense-for-Xcode):一款显示颜色数值的插件,还可以直接通过系统的ColorPicker来自动生成对应颜色代码 +* [Xcode 优秀插件整理](https://github.com/sopig/DeepIniOS):持续保持整理更新的 Xcode 插件整理 By [@ddapps](https://github.com/ddapps) +* [CodeEagle/SwiftCodeSnippets](https://github.com/CodeEagle/SwiftCodeSnippets):自动下载指定 Xcode Snippet 源的 Xcode Plugin。项目缺省提供 Snippet 代码源 [burczyk/XcodeSwiftSnippets](https://github.com/burczyk/XcodeSwiftSnippets/tree/master/plist) 。 +* [realm/SwiftLint](https://github.com/realm/SwiftLint):Realm 采用 Swift 编写的基于 GitHub's Swift Style Guide 规则的检查工具。除了命令行运行方式,也提供集成 Xcode 的方法。对于新团队,这样的工具可以自动约束大家遵循编程规范。 +* [XCode 升级后插件失效的原理与修复办法](http://joeshang.github.io/2015/04/10/fix-xcode-upgrade-plugin-invalid/):由一条命令引发的分析文章。[@_TongJZ](http://weibo.com/u/2068840121) +* [feinstruktur/CoPilot](https://github.com/feinstruktur/CoPilot):通过此插件,Xcode 可以协同编程了(采用 WebSocket 通讯)。如此强大的“黑工具”,不爱它能行吗。[演示视频](https://vimeo.com/128713880) +* [Carthage](https://github.com/Carthage/Carthage):新兴起的去中心化的依赖管理器,目标是用最简单的方式来管理Cocoa第三方框架。优势很明显,但是也有不足,看后面的发展吧。 + +### 4. 管理工具 +* [swiftenv](https://github.com/kylef/swiftenv):Swift 版本管理器。类似 rvm(Ruby), nvm(Node.js)。 +* [HomeBrew](http://brew.sh/index_zh-cn.html):OS X 上非常出色的包管理工具。 +* [Transmit ($)](http://panic.com/transmit/):一个Mac OS X 上 FTP 客户端,有着非常漂亮的用户界面和有用的功能。 + +### 5. 调试工具 +* [mattt/fuckingclangwarnings.com](http://fuckingclangwarnings.com/):警告与语义对照表。以后再也不用为 Xcode 各种警告纠结啦!By [@foogry](http://weibo.com/foogry) + +### 6. 设计工具 +* [sketch](http://www.sketchapp.com/):更适合开发应用的矢量设计工具。通过插件还支持与代码协同工作。推荐书籍:[Learn Sketch 3](https://designcode.io/sketch) +* [PaintCode](http://www.paintcodeapp.com/) +:PaintCode是Apple Designer入门APP开发最合适的辅助工具之一,她可以把你绘制的矢量UI自动转化为适用于iOS/OS X的Objective-C代码。 + +## [媒体报道](https://github.com/ipader/SwiftGuide/tree/master/archive/news.md) +## [开放平台](https://github.com/ipader/SwiftGuide/tree/master/archive/platforms.md) +## [Apple Watch 指南](https://github.com/ipader/SwiftGuide/blob/master/Apple%20Watch/README.md) diff --git a/archive/README_2016-3.md b/archive/README_2016-3.md new file mode 100644 index 00000000..c6389d3f --- /dev/null +++ b/archive/README_2016-3.md @@ -0,0 +1,226 @@ +Swift 语言指南 +=== +> [@SwiftLanguage](http://weibo.com/swiftlanguage) 更新于 2016-3-7,更新内容详见 [Issue 47](https://github.com/ipader/SwiftGuide/blob/master/weekly/Issue-47.md)。往期更新回顾详见《[收录周报](https://github.com/ipader/SwiftGuide/blob/master/weekly/README.md)》 + +  [这份指南](https://github.com/ipader/SwiftGuide/blob/master/2014%20letter.md)汇集了 Swift 语言主流学习资源,并以开发者的视角整理编排。对于精选项目及文章,可直接访问《[Swift 项目精选](https://github.com/ipader/SwiftGuide/blob/master/Featured.md)》和《[Swift 文章精选](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md)》。 + + +## 目录 +* [官方文档](#swift_doc) + * [Welcome to Swift](#welcome) + * [Swift Programming Language(中译)](#spl) + * [Using Swift with Cocoa and Objective-C(中译)](#using_swift) + * [App Extension Programming Guide(中译)](#extension_guide) + * [HomeKit Developer Guide(中译)](#swift_homekit) + * [Swift Blog - Apple Developer(中译)](#swift_blog) + * [iOS Human Interface Guidelines(中译)](#ios_ui_guide) +* [教程、指南、文章](#swift_courses) +* [开源项目](#swift_projects) +* [推荐网站](#recomm_sites) +* [开发工具](#tools) +* [媒体报道](https://github.com/ipader/SwiftGuide/tree/master/archive/news.md) +* [开放平台](https://github.com/ipader/SwiftGuide/tree/master/archive/platforms.md) +* [Apple Watch 指南](https://github.com/ipader/SwiftGuide/blob/master/Apple%20Watch/README.md) + +--- + +## 官方文档 + +### 1. [Welcome to Swift](https://developer.apple.com/swift/) +苹果针对 Swift 开发者官方文档入口。其中包括: +[Swift Overview](https://developer.apple.com/swift/),[Swift Programming Language](https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/index.html),[Using Swift with Cocoa and Objective-C](https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/BuildingCocoaApps/index.html#//apple_ref/doc/uid/TP40014216) + + +### 2. [Swift Programming Language](https://developer.apple.com/swift/) + +* 苹果官方文档: +[在线版(英文)](https://developer.apple.com/library/prerelease/ios/documentation/swift/conceptual/swift_programming_language/index.html) | [iBooks 版(英文)](https://itunes.apple.com/us/book/swift-programming-language/id881256329?mt=11) + +* 爱好者翻译版: +[在线版(中文)](http://www.swiftguide.cn) By [@Swift 中文翻译组](http://weibo.com/swiftguide)| +[PDF 版(提取码:vmcb)](http://pan.baidu.com/s/1gd3VOiB) By [@老码团队](http://weibo.com/oldcoder)| +[百度阅读版(By 小岂子)](http://yuedu.baidu.com/ebook/6f6c3b1ef01dc281e43af000) + +* 相关文档 + * Swift Style Guide(非苹果官方):本风格指南的目标是让Swift代码更简洁、可读更强。 + 1. [RayWenderlich 版](https://github.com/raywenderlich/swift-style-guide)([中译版](http://letsswift.com/2014/07/swift-style-guide/)) + 2. [GitHub 官方小组版](https://github.com/github/swift-style-guide)([中译版](https://github.com/Artwalk/swift-style-guide/blob/master/README_CN.md)) + * [Swift 官方 API 设计准则](http://www.jianshu.com/p/b69d9b615ee5):“与此前文章《[Swift 3 API 设计准则](http://www.jianshu.com/p/fce426e4f1c4)》的区别在于,之前文章只是一个 Swift 3 工作的概览说明,而这是有内容的干货!虽然还处于样稿阶段,但是有很好的参考价值”。译者:[@星夜暮晨](http://weibo.com/moonisky) + +### 3. Using Swift with Cocoa and Objective-C +* 苹果官方文档:[在线版(英文)](https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/BuildingCocoaApps/index.html#//apple_ref/doc/uid/TP40014216)|[iBooks 版(英文)](https://itunes.apple.com/us/book/using-swift-cocoa-objective/id888894773?mt=11&ls=1) +* 爱好者翻译版:[在线版(中文)(By @CocoaChina)](https://github.com/CocoaChina-editors/Welcome-to-Swift/blob/master/UsingSwiftwithCocoaandObjective-C%E4%B8%AD%E6%96%87%E6%89%8B%E5%86%8C.md)|[PDF版(By @CocoaChina)](http://vdisk.weibo.com/s/EhsPPzRRQHNd/1402648326) + +### 4. [App Extension Programming Guide](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/index.html#//apple_ref/doc/uid/TP40014214) + +* 应用扩展要点(App Extension Essentials) + + 译文 | 译者 | 原文 +------------ | ------------- | ------------- +[应用扩展如何工作](http://www.devtalking.com/articles/understand-how-an-extension-works/) | [@DevTalking](http://weibo.com/jacefu) | [Understand How an Extension Works](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionOverview.html#//apple_ref/doc/uid/TP40014214-CH2-SW2) +[开发应用扩展](http://www.devtalking.com/articles/creating-an-app-extension/) | - | [Creating an App Extension](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionCreation.html#//apple_ref/doc/uid/TP40014214-CH5-SW1) +[APP 扩展提高你的应用影响力](http://www.devtalking.com/articles/app-extensions-increase-your-impact/) | - | [App Extensions Increase Your Impact](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/index.html#//apple_ref/doc/uid/TP40014214-CH20-SW1) +[常见问题的处理方案](http://www.devtalking.com/articles/handling-common-scenarios/) | - | [Handling Common Scenarios](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html#//apple_ref/doc/uid/TP40014214-CH21-SW1) + +* 应用扩展类型(App Extension Types) + + 译文 | 译者 / 校对 | 原文 +------------ | ------------- | ------------- +[Today](http://www.cocoachina.com/ios/20140904/9527.html)|[@CocoaChina](http://weibo.com/cocoachina) / [唧唧歪歪](http://weibo.com/p/1005051710992635)|[Today](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/NotificationCenter.html#//apple_ref/doc/uid/TP40014214-CH11-SW1) +[Share](http://www.cocoachina.com/ios/20140923/9728.html)|[@CocoaChina](http://weibo.com/cocoachina) / [张国鹏](http://blog.csdn.net/guopengzhang/article)|[Share](http://www.cocoachina.com/ios/20140923/9728.html) +[Action](http://www.cocoachina.com/ios/20140929/9800.html)|[@CocoaChina](http://weibo.com/cocoachina)|[Action](https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/Services.html#//apple_ref/doc/uid/TP40014214-CH13-SW1) +[照片编辑](http://www.cocoachina.com/ios/20141015/9918.html)| - |[Photo Editing](https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/Photos.html) +[Finder 同步](http://www.jianshu.com/p/359e064ffe20)|[@星夜暮晨](http://weibo.com/u/3227937731)|[Finder Sync](https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/Finder.html#//apple_ref/doc/uid/TP40014214-CH15-SW1) +[文档提供](http://www.jianshu.com/p/2f45696b812b)| - |[Document Provider](https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/FileProvider.html#//apple_ref/doc/uid/TP40014214-CH18-SW1) +[第三方输入法](http://www.jianshu.com/p/987dfa9f3baf)| - |[Custom Keyboard](https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/Keyboard.html#//apple_ref/doc/uid/TP40014214-CH16-SW7) + +### 5. [HomeKit Developer Guide](https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/HomeKitDeveloperGuide/Introduction/Introduction.html) +* [HomeKit 开发指南(中文版)](http://www.cocoachina.com/ios/20150324/11411.html)(By [@CocoaChina](http://weibo.com/cocoachina)):“内容包括:简介、启用HomeKit、创建Home布局、创建Homes和添加Accessories、观察HomeKit数据库的变化、访问服务和特性、测试HomeKitApp、创建动作集(Action Sets)和触发器(Triggers)以及用户管理”。 + +### 6. [Swift Blog - Apple Developer](https://developer.apple.com/swift/blog/) +"值得一提的是,Swift 博客是苹果官方网站的第一个 Blog,这也代表了苹果对开发者和消费者的态度正变得越来越开放。" + +译文 | 译者 | 原文 +------------ | ------------- | ------------- +-|N/A|[New Playgrounds Part 2 - Sources](https://developer.apple.com/swift/blog/?id=26) +[Swift Nullability and Objective-C](http://blog.csdn.net/zhangao0086/article/details/44409913)|[Bannings](https://github.com/zhangao0086)|[Nullability and Objective-C](https://developer.apple.com/swift/blog/?id=25) +-|N/A|[New Playgrounds](https://developer.apple.com/swift/blog/?id=24) +-|N/A|[The as! Operator](https://developer.apple.com/swift/blog/?id=23) +[Swift 1.2 和 Xcode 6.3 beta](http://www.csdn.net/article/2015-03-06/2824131-xcode-6-3-beta-2)|[@老码团队](http://weibo.com/oldcoder)|[Swift 1.2 and Xcode 6.3 beta](https://developer.apple.com/swift/blog/?id=22) +-|N/A|[New Swift Development Courses Available on iTunes U](https://developer.apple.com/swift/blog/?id=21) +[Swift REPL:一切皆可重定义](http://www.cocoachina.com/ios/20150212/11147.html)|[@MichealGeng](http://weibo.com/MichealGeng)|[Redefining Everything with the Swift REPL](https://developer.apple.com/swift/blog/?id=20) +[Swift 中的 NSMethodSignature 怎么了?](http://idlelife.org/archives/910)|[@pockry](http://weibo.com/pockry)|[ What Happened to NSMethodSignature?](https://developer.apple.com/swift/blog/?id=19) +[Swift REPL 入门介绍](http://idlelife.org/archives/842)| - |[Introduction to the Swift REPL](https://developer.apple.com/swift/blog/?id=18) +[可失败构造器](http://www.devtalking.com/articles/failable-initializers/)|[@DevTalking](http://weibo.com/jacefu) |[Failable Initializers](https://developer.apple.com/swift/blog/?id=17) +-|N/A|[Building Your First Swift App Video](https://developer.apple.com/swift/blog/?id=16) +[通过 Playground 展示一些编码模式](http://www.devtalking.com/articles/patterns-playground/)|[@DevTalking](http://weibo.com/jacefu) | [Patterns Playground](https://developer.apple.com/swift/blog/?id=13) +[Swift 中 Optional 类型的使用案例分析:valuesForKeys](http://www.devtalking.com/articles/optionals-case-study/) | - | [Optionals Case Study:valuesForKeys](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html#//apple_ref/doc/uid/TP40014214-CH21-SW1) +[Swift 中的访问控制与 protected](http://www.devtalking.com/articles/access-control-and-protected/) | - | [Access Control and protected](https://developer.apple.com/swift/blog/?id=11) +[Swift 中的值类型和参照类型](http://www.devtalking.com/articles/swift-value-and-reference-types/) | - | [Value and Reference Types](https://developer.apple.com/swift/blog/?id=10) +[WWDC 2014大会中的 Playground 大炮气球示例](http://www.devtalking.com/articles/swift-balloon/) | - | [Balloons](https://developer.apple.com/swift/blog/?id=9) +[在 Swift 中构建布尔类型](http://www.devtalking.com/articles/swift-boolean/) | - | [Boolean](https://developer.apple.com/swift/blog/?id=8) +[Swift 中的文件和初始化](http://www.devtalking.com/articles/files-and-initialization/)| - | [Files and Initialization](https://developer.apple.com/swift/blog/?id=7) +[在 Swift 中使用 C 语言的指针](http://www.devtalking.com/articles/swift-c-pointer/) | - | [Interacting with C Pointers](https://developer.apple.com/swift/blog/?id=6) +*[Swift 新特性 - 访问控制](http://www.devtalking.com/articles/swift-access-control/)(文档版)| - | [Access Control](https://developer.apple.com/swift/blog/?id=5) + +### 7. iOS Human Interface Guidelines +* 苹果官方文档:[在线版(英文)](https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/index.html#//apple_ref/doc/uid/TP40006556-CH66-SW1), [iBooks 版(英文)](https://itunes.apple.com/us/book/ios-human-interface-guidelines/id877942287?mt=11) +* iOS 9 人机交互指南 + + 译文 | 来源 | 原文 +------------ | ------------- | ------------- +[UI 设计基础](http://isux.tencent.com/ios9-guideline-ch1.html)|[@腾讯ISUX](http://weibo.com/txisux)|[UI Design Basics](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/index.html#//apple_ref/doc/uid/TP40006556-CH66-SW1) +[设计策略](http://isux.tencent.com/ios9-guideline-ch2.html)|-|[Deisgn Princibles](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/Principles.html#//apple_ref/doc/uid/TP40006556-CH4-SW1) +iOS 技术([上](http://isux.tencent.com/ios9-guideline-ch3-1.html)、[下](http://isux.tencent.com/ios9-guideline-ch3-2.html))|-|[iOS Technologies](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/3DTouch.html#//apple_ref/doc/uid/TP40006556-CH71-SW1) + +* iOS 8 人机交互指南 + + 译文 | 来源 | 原文 +------------ | ------------- | ------------- +[UI 设计基础](http://isux.tencent.com/ios8-human-interface-guidelines.html) |[@腾讯ISUX](http://weibo.com/txisux)| [Designing for iOS](https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/index.html#//apple_ref/doc/uid/TP40006556-CH66-SW1) +[设计策略](http://isux.tencent.com/ios8-human-interface-guidelines-design-strategies.html) | - | [Design Principles](https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/Principles.html#//apple_ref/doc/uid/TP40006556-CH4-SW1) +iOS 技术([上](http://isux.tencent.com/ios8-human-interface-guidelines-technology-html.html)、[下](http://isux.tencent.com/ios8-human-interface-guidelines-technology.html))|-|[iOS Technologies](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/3DTouch.html#//apple_ref/doc/uid/TP40006556-CH71-SW1) + +* [iOS 7 人机交互指南](http://www.cocoachina.com/industry/20130628/6502.html) By CocoaChina + +--- +## [教程、指南、文章](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md) +> 旧版内容过于庞杂,不再维护,取而代之的是《[Swift 文章精选](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md)》。P.S. 需要查阅旧版内容的同学,详见[Swift 教程(旧版)](https://github.com/ipader/SwiftGuide/tree/master/archive/tutorial.md)。 + +--- +## [开源项目](https://github.com/ipader/SwiftGuide/blob/master/Featured.md) +> 旧版内容过于庞杂,不再维护,取而代之的是《[Swift 项目精选](https://github.com/ipader/SwiftGuide/blob/master/Featured.md)》。P.S. 需要查阅旧版内容的同学,详见[Swift 项目(旧版)](https://github.com/ipader/SwiftGuide/tree/master/archive/projects.md)。 + +--- +## 推荐网站 +* **苹果官方** + * [Swift](https://developer.apple.com/swift/):Swift 概述、博客以及开发资源。 + * [swift.org](https://swift.org/):开源后独立出来的 Swift 开源社区。 + * [GitHub:apple](https://github.com/apple):苹果在 GitHub 上的开源项目。 + * [GitHub:apple/swift](https://github.com/apple/swift):swift 语言在 GitHub 上的开源项目。 +* [ksm/SwiftInFlux](https://github.com/ksm/SwiftInFlux):作者(Karol Mazur)将 Apple Developer Forums 上有关 Swift 特性、缺陷及变更讨论分类汇总并更新到 GitHub,具有很好的可读性。从中可以一窥 Swift 缺陷及未来潜在地变化。最关键地是有 Chris Lattner 及核心团队答疑解惑。 +* [raywenderlich.com](http://www.raywenderlich.com/)([中文版](http://www.raywenderlich.com/zh-hans/)):由Ray Wenderlich创建,专注于开发高质量编程指南(近期优质Swift文章及视频教程不断),著名的iOS/OS X博客及开发教程网站,非常适合新手学习。近期第一时间出了[三本 Swift 新书](http://www.raywenderlich.com/74832/three-new-swift-books)。 +* [Natasha The Robot](http://natashatherobot.com/): 时髦码农不容错过的 Swift 开发实战教程类网站。为了简化学习复杂性,每一篇文章涵盖技术点单一又独立,配以开发步骤、运行结果以及代码等标准方式教授。难能可贵的是,它往往出品“追剧式”(最新开发特性或API跟进式)教程,实在是开发者必藏精品网站。 +* [NShipster](http://nshipster.com/) ([中译版](http://nshipster.cn/):[@刘镇夫](http://weibo.com/croath),[April Peng](http://nshipster.cn/translators/april-peng/),[@李乐佳](http://weibo.com/leelejia),[@程序员付恒](http://weibo.com/fallhunter) 等翻译):著名开源作者 [Matt Thompson](https://github.com/mattt) 创建的开发技术博客网站,他开发了 [AFNetworking](https://github.com/afnetworking/afnetworking) 网络库,也是非常多产的开源作者。更多了解参考:[《COCOA 潮人 MATTT THOMPSON》](http://www.fallhunter.com/p/10709) By [@程序员付恒](http://weibo.com/fallhunter) +* [jamesonquave.com](http://jamesonquave.com/blog/):移动开发者,优秀个人博客(近期文章同样关注于Swift 语言,写得很优质)。同时他将于8/30发布一本新书[《Developing iOS 8 Apps in Swift》](http://jamesonquave.com/swiftebook/) (Learn To Make Real World iOS 8 Apps)及视频教程。 +* [objc.io](https://www.objc.io/)([中译版 By @onevcat 及其朋友们](http://objccn.io)):"关于 Objective-C 最佳实践和先进技术的期刊。 由 Chris Eidhof, Daniel Eggert 和 Florian Kugler 成立于柏林。我们成立 objc.io 的目的是针对深入的、跟所有 iOS 和 OS X 开发者相关的技术话题创造一个正式的平台。“ +* [iOSCreator](http://www.ioscreator.com/):这类开发指引式教程对于初学者来讲,是直接明了的有效学习资源。推荐者[@荧星诉语](http://weibo.com/qq184675420) +* [iOS Dev Weekly](https://iosdevweekly.com/):收录一周以来 iOS 开发资讯链接,并于周五发布。由 [Dave Verwer](https://twitter.com/daveverwer) 创办,他是一位 iPhone 和 iPad 开发者以及培训师。 +* [Appcoda.com](http://www.appcoda.com/):质量很高的一个 iOS 开发教程站,其中[iOS Programming Course](http://www.appcoda.com/ios-programming-course/)这个专题很适合刚接触 iOS 开发的新手学习。 +* [中文 iOS/Mac 开发博客列表](https://github.com/tangqiaoboy/iOSBlogCN):By [@唐巧_body](http://weibo.com/tangqiaoboy) +* [devtalking.com](http://www.devtalking.com/):高产的中译博客。翻译了官方博客 Swift Blog - Apple Developer,《App Extension Programming Guide》。参与翻译了《Swift Programming Language》等。 +* [SwiftGG](http://swift.gg/):一个走心的 Swift 翻译组,由《The Swift Programming Language》中文版翻译团队原班人马组成, 翻译的文章来源于国外的优秀 Swift 网站和博客,且全部获得作者和网站授权。 +* [Swift Weekly Brief](http://www.jessesquires.com):“这个博客现在每周会将Swift开源中的重要讨论和提交整理成Open source Swift weekly brief,这对一线开发者尽早了解这门语言的动态情报很有帮助。By [@崔康总编](http://weibo.com/cuikang82) ”。来源:[Jesse Squires](http://www.jessesquires.com) +* [iosdevtips.co](http://iosdevtips.co):iOS Development Tips + +* **资源合集** +> 以下是其它开发者社区或 Swift 爱好者整理的有关 Swift 语言学习的资源列表。 + + * [SwiftEducation](https://github.com/SwiftEducation):“这是建立在 GitHub 上的一个 Swift 学习资料汇集,包括了有关幻灯和多个练手的应用程序源码。By @极客头条”。的确有不少基础实用的好[教程](https://github.com/SwiftEducation/presentations)。这对于基础学起的同学有福了。 + * [Awesome-Swift-Education](https://github.com/hsavit1/Awesome-Swift-Education):整理地如此美妙的学习资源,实在让人太欢喜了。 + * [matteocrippa/awesome-swift](https://github.com/matteocrippa/awesome-swift):这个版本的 Swift 资源集合内容丰富,分类也不错。作者:[Matteo Crippa](matteocrippa/awesome-swift) + * [适合iOS开发者的 15 大网站推荐](http://www.csdn.net/article/2015-03-04/2824108-ios-developers-sites/1):的确很全、很主流的国外 iOS 开发者网站。 + * [码农周刊 -《Swift 特刊》](http://weekly.manong.io/issues/33?ref=swift) + * [CocoaChina -《Swift 新手入门汇集帖》](http://www.cocoachina.com/bbs/read.php?tid=204512) + * [CSDN_CODE -《Swift 编程语言资料大合集》](http://code.csdn.net/news/2820075) + * [InfoQ -《学习苹果 Swift 语言的一些在线资源(英文)》](http://www.infoq.com/cn/news/2014/06/apple-swift-learning-resources) + * [刘兰涛 -《Swift 学习资源》](https://github.com/Lax/iOS-Swift-Demos/wiki) By [@懒桃儿吃桃儿](http://weibo.com/u/1653644220) + * [learnswift.tips](http://www.learnswift.tips/):国外主流 Swift 学习资源集合。 + * [Awesome iOS](https://github.com/vsouza/awesome-ios):一个 iOS 的各类优秀的开源项目集合。真不错!可惜Swift开源项目资源不足。 + * [iOS Developer Tips](http://iosdevelopertips.com/):还是有关 iOS 的开发资源及文章合集。 + * [Wolg/awesome-swift](https://github.com/Wolg/awesome-swift):一位俄罗斯朋友分类整理的 Swift 资源列表(有持续更新)。 + * [Aufree/trip-to-iOS](https://github.com/Aufree/trip-to-iOS):显然作者很用心的做了非常深入的整理。它对于开发者拓展学习范围及开发知识面非常有益。 + * [Robin Eggenkamp - Awesome Swift](https://swift.zeef.com/robin.eggenkamp):“一个收集了很多 Swift 开发资源的网站”。 + * [iOS 开发技术前线](https://github.com/bboyfeiyu/iOS-tech-frontier):“一个定期翻译、发布国内外iOS优质的技术、开源库、软件架构设计、测试等文章的开源项目”。主要翻译来源 Ray Wenderlich,App Coda,Medium。来源:[@开发技术前线](http://weibo.com/u/5589212242) + * [11个超棒的 iOS 开发学习网站](http://www.cocoachina.com/ios/20150626/11348.html):还算比较主流的归纳。不过,缺了raywenderlich.com 和 ioscreator.com 这两个重量级教程网站实在是不应该啊。 + +--- +## 开发工具 +### 1. 编程工具 +* [Xcode 6 beta下载](https://developer.apple.com/swift/resources/):苹果应用集成开发环境。支持 C/C++, Objective C, Swift 等。不用购买开发者计划,直接下载。 +* [Textmate](http://macromates.com/):Mac OS X 上一个可高度自定义的编辑器,尤其在我想做出一个快速改变但又不想等待 Xcode 加载的时候。该工具目前已经[开源](https://github.com/textmate/textmate) +* [Mou](http://mouapp.com/):OS X 上一款 Markdown 的编辑器。非常适用于编写自述文件、变更日志以及其他方面的内容。作者:[罗晨](http://chenluois.com/) +* [Sublime Text ($)](http://www.sublimetext.com/):Mac OS X 上另一款非常受欢迎的轻量级,可高度自定义的编辑器。 +* [RunSwift](http://www.runswiftlang.com/):正在犹豫是否入手苹果电脑开始一段 Swift 编程旅程的同学们,或仅仅为了试验一段简单 Swift 代码又懒得打开 Xcode,可以试试这款 Web 版 Swift 编译环境 RunSwift。 +* [InfinitApps - Bezel](http://infinitapps.com/bezel/):“嫌 Xcode 6 目前提供的 Watch 模拟器不够直观?Bezel 是一个用于视觉预览 WatchKit 所开发程序效果的小工具,前提是你安装了 xScope 软件(Mac端)或 xScopeMirror(iPhone端)。 By [@WatchKit开发](http://weibo.com/twios)” +* [Markdown -> Playground](https://github.com/jas/playground):该开源项目可将内含有 Swift 代码的 Markdown 自动转换为 Xcode Playgrounds 文件。喜欢用 Markdown 编辑的同学很激动吧。P.S. 这款工具写于 NodeJS,原因作者有交待。 +* [iOS/Mac Autolayout Constraints](https://autolayoutconstraints.com):这个工具不错,很直观,布局时可以省不少工夫。推荐者:[@荧星诉语](http://weibo.com/qq184675420) +* [在线生成 AppStore 审核用截图](https://appscreens.io/yK7cLuBNij):便捷的生产力工具。免费,易操作,可自定义。 + +### 2. 代码管理 +* [GitHub](https://github.com/):声望日盛的资源分享之地。 +* [GitHub for Mac](https://desktop.github.com/):一个设计的非常美观的 git 客户端,不能取代你从命令行获得的所有功能,但使用起来非常简单。 +* [GitCafe](https://gitcafe.com/):GitCafe is a source code hosting service based on version control system Git。国内的代码托管服务,基于 Git,值得一提的是最近也推出了和 GitHub Pages 类似的服务 Gitcafe Pages。因为是在国内,所以相比较 GitHub 有速度优势,在网络环境差的情况下也许可以作为 GitHub 的备用。 +* [Bitbucket](https://bitbucket.org/):国外的代码托管服务,不同于 GitHub 的是,Bitbucket 可以免费建立 private 项目。 +* [Git](http://git-scm.com/):分布式版本控制系统和源码管理系统,其优点是:快和简单易用。对于新手来说,可在此查看免费电子书籍。 + +### 3. Xcode 插件 +* [CocoaPods](http://beta.cocoapods.org/):第三方库的管理利器,允许你简单地把第三方库整合进自己的应用中。对我个人来说,我基本上每个项目都使用 CocoaPods。 +* [CocoaPods Xcode Plugin](https://github.com/kattrali/cocoapods-xcode-plugin):一款 Xcode 插件,允许你直接从 Xcode 管理 CocoaPod 依赖。 +* [onevcat/VVDocumenter-Xcode](https://github.com/onevcat/VVDocumenter-Xcode):快捷注释 Xcode 插件。By [@onevcat](http://weibo.com/onevcat) +* [ColorSense](https://github.com/omz/ColorSense-for-Xcode):一款显示颜色数值的插件,还可以直接通过系统的ColorPicker来自动生成对应颜色代码 +* [Xcode 优秀插件整理](https://github.com/ddapps/DeepIniOS):持续保持整理更新的 Xcode 插件整理 By [@ddapps](https://github.com/ddapps) +* [CodeEagle/SwiftCodeSnippets](https://github.com/CodeEagle/SwiftCodeSnippets):自动下载指定 Xcode Snippet 源的 Xcode Plugin。项目缺省提供 Snippet 代码源 [burczyk/XcodeSwiftSnippets](https://github.com/burczyk/XcodeSwiftSnippets/tree/master/plist) 。 +* [realm/SwiftLint](https://github.com/realm/SwiftLint):Realm 采用 Swift 编写的基于 GitHub's Swift Style Guide 规则的检查工具。除了命令行运行方式,也提供集成 Xcode 的方法。对于新团队,这样的工具可以自动约束大家遵循编程规范。 +* [XCode 升级后插件失效的原理与修复办法](http://joeshang.github.io/2015/04/10/fix-xcode-upgrade-plugin-invalid/):由一条命令引发的分析文章。[@_TongJZ](http://weibo.com/u/2068840121) +* [feinstruktur/CoPilot](https://github.com/feinstruktur/CoPilot):通过此插件,Xcode 可以协同编程了(采用 WebSocket 通讯)。如此强大的“黑工具”,不爱它能行吗。[演示视频](https://vimeo.com/128713880) + +### 4. 管理工具 +* [swiftenv](https://github.com/kylef/swiftenv):Swift 版本管理器。类似 rvm(Ruby), nvm(Node.js)。 +* [HomeBrew](http://brew.sh/index_zh-cn.html):OS X 上非常出色的包管理工具。 +* [Transmit ($)](http://panic.com/transmit/):一个Mac OS X 上 FTP 客户端,有着非常漂亮的用户界面和有用的功能。 + +### 5. 调试工具 +* [mattt/fuckingclangwarnings.com](http://fuckingclangwarnings.com/):警告与语义对照表。以后再也不用为 Xcode 各种警告纠结啦!By [@foogry](http://weibo.com/foogry) + +### 6. 设计工具 +* [sketch](http://www.sketchapp.com/):更适合开发应用的矢量设计工具。通过插件还支持与代码协同工作。推荐书籍:[Learn Sketch 3](https://designcode.io/sketch) + +### 7. 参考文章 +* [iOS 开发工具](http://www.cocoachina.com/ios/20140417/8187.html):"这是我们多篇 iOS 开发工具系列篇中的一篇,此前的文章比如:那些不能错过的 Xcode 插件,iOS 开发者有价值的工具集,iOS/OS X 开发:各种工具快到碗里来!,App 原型设计工具使用心得(上)& App 原型设计工具使用心得(下),你用哪种工具进行 iOS app 自动化功能测试?iOS 开发者必知的 75 个工具" By @CocoaChina +* [IOS 各种调试技巧豪华套餐](http://www.cnblogs.com/daiweilai/p/4421340.html):讲得很细。对于初学 Xcode 开发的同学值得参考,对于有经验的同学可以略过。作者:[@David戴未来](http://weibo.com/daiweilai) +* [详解Xcode 6的视图调试](http://www.cocoachina.com/ios/20150423/11658.html):教程非常实用,值得学习。另外,教程选用的开源项目([jessesquires/JSQMessagesViewController](https://github.com/jessesquires/JSQMessagesViewController))也很经典。来源:Ray Wenderlich,译者:[@CocoaChina](http://weibo.com/cocoachina) 翻译组 + +## [媒体报道](https://github.com/ipader/SwiftGuide/tree/master/archive/news.md) +## [开放平台](https://github.com/ipader/SwiftGuide/tree/master/archive/platforms.md) +## [Apple Watch 指南](https://github.com/ipader/SwiftGuide/blob/master/Apple%20Watch/README.md) diff --git a/archive/getting-started.md b/archive/getting-started.md new file mode 100644 index 00000000..dce33b92 --- /dev/null +++ b/archive/getting-started.md @@ -0,0 +1,31 @@ + + +# Swift 入门指引 +[@SwiftLanguage](http://weibo.com/swiftlanguage) 更新于 2016-3-10,完整文档详见 GitHub 《[Swift 语言指南](https://github.com/ipader/SwiftGuide/README.md)》 + +--- + +> 以官方文档为基础结合已有中译版,整了一份简版 Swift 入门指引。 + +苹果为 Swift 开发者提供的[官方文档入口](https://developer.apple.com/swift/),包括 [概述](https://developer.apple.com/swift/),[博客](https://developer.apple.com/swift/blog/)([中译镜像](https://github.com/ipader/SwiftGuide/tree/master/mirror/Swift%20Blog%20-%20Apple%20Developer))及 [开发资源](https://developer.apple.com/swift/resources/)。其中以下几份文档(Swift 2.1)为入门级必备([iBooks 版](https://itunes.apple.com/us/book-series/swift-programming-series/id888896989?mt=11)): + +* [Swift Programming Language](https://developer.apple.com/swift/)([中文版](http://gg.swiftguide.cn)|[PDF 版](http://wiki.jikexueyuan.com/download/swift/pdf/) By [SwiftGG翻译组](http://weibo.com/swiftguide)) + +* [Start Developing iOS Apps](https://developer.apple.com/swift/resources/) +* [Using Swift with Cocoa and Objective-C](https://developer.apple.com/library/ios/documentation/Swift/Conceptual/BuildingCocoaApps/index.html)([中文版](https://github.com/CocoaChina-editors/Welcome-to-Swift/blob/master/UsingSwiftwithCocoaandObjective-C%E4%B8%AD%E6%96%87%E6%89%8B%E5%86%8C.md) By [@CocoaChina](http://weibo.com/cocoachina)) + +苹果同时也维护着相应 Beta 版(Swift 2.2)文档:[Swift Programming Language](https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/index.html),[Start Developing iOS Apps](https://developer.apple.com/library/prerelease/ios/referencelibrary/GettingStarted/DevelopiOSAppsSwift/index.html),[Using Swift with Cocoa and Objective-C](https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/BuildingCocoaApps/index.html)。 + +学习实践的角度,标准库示例代码 [Swift Standard Library.playground](https://developer.apple.com/sample-code/swift/downloads/Standard-Library.zip) 是很棒的学习伴侣。 + +教程方面,苹果力荐了斯坦福课程 [Stanford University: Developing iOS 8 Apps with Swift](https://itunes.com/StanfordSwift)([中文字幕版](http://open.163.com/special/opencourse/ios8.html) By [@网易公开课](http://weibo.com/163open)) + +除以上所涉及入门级文档,[iOS Developer Library](https://developer.apple.com/library/ios/navigation/) 还为开发者提供了更庞大、系统化的开发文档支持。 + +以下列举了几份已有第三方中文翻译文档: + +* [App Extension Programming Guide](https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/index.html)([中译镜像](https://github.com/ipader/SwiftGuide/tree/master/mirror/App%20Extension%20Programming%20Guide)) +* [iOS Human Interface Guidelines](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/index.html)([中文版](https://isux.tencent.com/?s=iOS+9+%E4%BA%BA%E6%9C%BA%E7%95%8C%E9%9D%A2%E6%8C%87%E5%8D%97)|[PDF 版](http://ixdc.org/2016/files/ISUX[%E8%AF%91]iOS9%20human%20Interface%20Guideline.pdf) By [@腾讯ISUX](http://weibo.com/txisux)) +* [HomeKit Developer Guide](https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/HomeKitDeveloperGuide/Introduction/Introduction.html)([中文版](http://www.cocoachina.com/ios/20150324/11411.html) By [@CocoaChina](http://weibo.com/cocoachina)) + +对于 Swift 开源及跨平台开发的同学,可以关注 [swift.org](https://swift.org/) diff --git a/archive/iT-bg-854X400.png b/archive/iT-bg-854X400.png new file mode 100644 index 00000000..7dce1f18 Binary files /dev/null and b/archive/iT-bg-854X400.png differ diff --git a/archive/twitter.png b/archive/twitter.png new file mode 100644 index 00000000..79252e6d Binary files /dev/null and b/archive/twitter.png differ diff --git a/archive/v2ray-linux-64.zip b/archive/v2ray-linux-64.zip new file mode 100644 index 00000000..1a5b2fde Binary files /dev/null and b/archive/v2ray-linux-64.zip differ diff --git a/archive/weibo.png b/archive/weibo.png new file mode 100644 index 00000000..605a1d5c Binary files /dev/null and b/archive/weibo.png differ diff --git a/archive/weixin-swiftlanguage.jpg b/archive/weixin-swiftlanguage.jpg new file mode 100644 index 00000000..67a53647 Binary files /dev/null and b/archive/weixin-swiftlanguage.jpg differ diff --git a/mirror/Swift Blog - Apple Developer/README.md b/mirror/Swift Blog - Apple Developer/README.md index dbb4e705..e8f1401d 100644 --- a/mirror/Swift Blog - Apple Developer/README.md +++ b/mirror/Swift Blog - Apple Developer/README.md @@ -1,27 +1,41 @@ -[Swift Blog - Apple Developer](https://developer.apple.com/swift/blog/) +Swift Blog - Apple Developer(Mirror) === -"值得一提的是,Swift 博客是苹果官方网站的第一个 Blog,这也代表了苹果对开发者和消费者的态度正变得越来越开放。" +> 这是 [苹果官方 Swift 博客](https://developer.apple.com/swift/blog/) 目录镜像。其中收录了 Swift 爱好者提供的对应博客中文翻译。[欢迎投递](https://github.com/ipader/SwiftGuide/tree/master/mirror/Swift%20Blog%20-%20Apple%20Developer)。 -译文 | 译者 | 原文 ------------- | ------------- | ------------- --|N/A|[New Playgrounds Part 2 - Sources](https://developer.apple.com/swift/blog/?id=26) -[Swift Nullability and Objective-C](http://blog.csdn.net/zhangao0086/article/details/44409913)|[Bannings](https://github.com/zhangao0086)|[Nullability and Objective-C](https://developer.apple.com/swift/blog/?id=25) --|N/A|[New Playgrounds](https://developer.apple.com/swift/blog/?id=24) --|N/A|[The as! Operator](https://developer.apple.com/swift/blog/?id=23) -[Swift 1.2 和 Xcode 6.3 beta](http://www.csdn.net/article/2015-03-06/2824131-xcode-6-3-beta-2)|[@老码团队](http://weibo.com/oldcoder)|[Swift 1.2 and Xcode 6.3 beta](https://developer.apple.com/swift/blog/?id=22) --|N/A|[New Swift Development Courses Available on iTunes U](https://developer.apple.com/swift/blog/?id=21) -[Swift REPL:一切皆可重定义](http://www.cocoachina.com/ios/20150212/11147.html)|[@MichealGeng](http://weibo.com/MichealGeng)|[Redefining Everything with the Swift REPL](https://developer.apple.com/swift/blog/?id=20) -[Swift 中的 NSMethodSignature 怎么了?](http://idlelife.org/archives/910)|[@pockry](http://weibo.com/pockry)|[ What Happened to NSMethodSignature?](https://developer.apple.com/swift/blog/?id=19) -[Swift REPL 入门介绍](http://idlelife.org/archives/842)| - |[Introduction to the Swift REPL](https://developer.apple.com/swift/blog/?id=18) -[可失败构造器](http://www.devtalking.com/articles/failable-initializers/)|[@DevTalking](http://weibo.com/jacefu) |[Failable Initializers](https://developer.apple.com/swift/blog/?id=17) --|N/A|[Building Your First Swift App Video](https://developer.apple.com/swift/blog/?id=16) -[通过 Playground 展示一些编码模式](http://www.devtalking.com/articles/patterns-playground/)|[@DevTalking](http://weibo.com/jacefu) | [Patterns Playground](https://developer.apple.com/swift/blog/?id=13) -[Swift 中 Optional 类型的使用案例分析:valuesForKeys](http://www.devtalking.com/articles/optionals-case-study/) | - | [Optionals Case Study:valuesForKeys](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html#//apple_ref/doc/uid/TP40014214-CH21-SW1) -[Swift 中的访问控制与 protected](http://www.devtalking.com/articles/access-control-and-protected/) | - | [Access Control and protected](https://developer.apple.com/swift/blog/?id=11) -[Swift 中的值类型和参照类型](http://www.devtalking.com/articles/swift-value-and-reference-types/) | - | [Value and Reference Types](https://developer.apple.com/swift/blog/?id=10) -[WWDC 2014大会中的 Playground 大炮气球示例](http://www.devtalking.com/articles/swift-balloon/) | - | [Balloons](https://developer.apple.com/swift/blog/?id=9) -[在 Swift 中构建布尔类型](http://www.devtalking.com/articles/swift-boolean/) | - | [Boolean](https://developer.apple.com/swift/blog/?id=8) -[Swift 中的文件和初始化](http://www.devtalking.com/articles/files-and-initialization/)| - | [Files and Initialization](https://developer.apple.com/swift/blog/?id=7) -[在 Swift 中使用 C 语言的指针](http://www.devtalking.com/articles/swift-c-pointer/) | - | [Interacting with C Pointers](https://developer.apple.com/swift/blog/?id=6) -*[Swift 新特性 - 访问控制](http://www.devtalking.com/articles/swift-access-control/)(文档版)| - | [Access Control](https://developer.apple.com/swift/blog/?id=5) +日期| 原文 | 译文 | 译者 +------------ | ------------ | ------------- | ------------- +Feb 8, 2016|[Interactive Playgrounds](https://developer.apple.com/swift/blog/?id=35)|-|N/A +Dec 3, 2015|[Swift is Open Source](https://developer.apple.com/swift/blog/?id=34)|-|N/A +Oct 7, 2015|[Literals in Playgrounds](https://developer.apple.com/swift/blog/?id=33)|-|N/A +Sep 21, 2015|[Swift 2 Apps in the App Store](https://developer.apple.com/swift/blog/?id=32)|-|N/A +Aug 12, 2015|[Swift-er SDK](https://developer.apple.com/swift/blog/?id=31)|[Swift-er SDK](http://www.cocoachina.com/swift/20150820/13120.html)|[@CocoaChina](http://weibo.com/cocoachina) +Jul 23, 2015|[Strings in Swift 2](https://developer.apple.com/swift/blog/?id=30)|[在 Swift 2 中字符串设计](http://www.devtf.cn/?p=989)|[MrLoong](http://weibo.com/p/1005055848341536) +Jun 8, 2015|[Swift 2.0](https://developer.apple.com/swift/blog/?id=29)|-|N/A +Apr 24, 2015|[Memory Safety: Ensuring Values are Defined Before Use](https://developer.apple.com/swift/blog/?id=28)|-|N/A +Apr 9, 2015|[Increasing Performance by Reducing Dynamic Dispatch](https://developer.apple.com/swift/blog/?id=27)|-|N/A +Mar 17, 2015|[New Playgrounds Part 2 - Sources](https://developer.apple.com/swift/blog/?id=26)|-|N/A +Mar 12, 2015|[Nullability and Objective-C](https://developer.apple.com/swift/blog/?id=25)|[Swift Nullability and Objective-C](http://blog.csdn.net/zhangao0086/article/details/44409913)|[Bannings](https://github.com/zhangao0086) +Feb 24, 2015|[New Playgrounds](https://developer.apple.com/swift/blog/?id=24)|-|N/A +Feb 18, 2015|[The as! Operator](https://developer.apple.com/swift/blog/?id=23)|-|N/A +Feb 9, 2015|[Swift 1.2 and Xcode 6.3 beta](https://developer.apple.com/swift/blog/?id=22)|[Swift 1.2 和 Xcode 6.3 beta](http://www.csdn.net/article/2015-03-06/2824131-xcode-6-3-beta-2)|[@老码团队](http://weibo.com/oldcoder) +Jan 28, 2015|[New Swift Development Courses Available on iTunes U](https://developer.apple.com/swift/blog/?id=21)|-|N/A +Jan 23, 2015|[Redefining Everything with the Swift REPL](https://developer.apple.com/swift/blog/?id=20)|[Swift REPL:一切皆可重定义](http://www.cocoachina.com/ios/20150212/11147.html)|[@MichealGeng](http://weibo.com/MichealGeng) +Dec 12, 2014|[ What Happened to NSMethodSignature?](https://developer.apple.com/swift/blog/?id=19)|[Swift 中的 NSMethodSignature 怎么了?](http://idlelife.org/archives/910)|[@pockry](http://weibo.com/pockry) +Nov 11, 2014|[Introduction to the Swift REPL](https://developer.apple.com/swift/blog/?id=18)|[Swift REPL 入门介绍](http://idlelife.org/archives/842)| - +Failable Initializers|[Failable Initializers](https://developer.apple.com/swift/blog/?id=17)|[可失败构造器](http://www.devtalking.com/articles/failable-initializers/)|[@DevTalking](http://weibo.com/jacefu) +Oct 7, 2014|[Building Your First Swift App Video](https://developer.apple.com/swift/blog/?id=16) |-|N/A +Sep 25, 2014|[Building assert() in Swift, Part 2: __FILE__ and __LINE__](https://developer.apple.com/swift/blog/?id=15)|-|N/A +Sep 9, 2014|[Swift Has Reached 1.0](https://developer.apple.com/swift/blog/?id=14)|-|N/A +Sep 3, 2014 | [Patterns Playground](https://developer.apple.com/swift/blog/?id=13)|[通过 Playground 展示一些编码模式](http://www.devtalking.com/articles/patterns-playground/)|[@DevTalking](http://weibo.com/jacefu) +Aug 26, 2014| [Optionals Case Study:valuesForKeys](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html#//apple_ref/doc/uid/TP40014214-CH21-SW1)|[Swift 中 Optional 类型的使用案例分析:valuesForKeys](http://www.devtalking.com/articles/optionals-case-study/) | - +Aug 19, 2014| [Access Control and protected](https://developer.apple.com/swift/blog/?id=11)|[Swift 中的访问控制与 protected](http://www.devtalking.com/articles/access-control-and-protected/) | - +Aug 15, 2014| [Value and Reference Types](https://developer.apple.com/swift/blog/?id=10)|[Swift 中的值类型和参照类型](http://www.devtalking.com/articles/swift-value-and-reference-types/) | - +Aug 8, 2014| [Balloons](https://developer.apple.com/swift/blog/?id=9)|[WWDC 2014大会中的 Playground 大炮气球示例](http://www.devtalking.com/articles/swift-balloon/) | - +Aug 5, 2014| [Boolean](https://developer.apple.com/swift/blog/?id=8)|[在 Swift 中构建布尔类型](http://www.devtalking.com/articles/swift-boolean/) | - +Aug 1, 2014| [Files and Initialization](https://developer.apple.com/swift/blog/?id=7)| [Swift 中的文件和初始化](http://www.devtalking.com/articles/files-and-initialization/)| - +Jul 28, 2014| [Interacting with C Pointers](https://developer.apple.com/swift/blog/?id=6)|[在 Swift 中使用 C 语言的指针](http://www.devtalking.com/articles/swift-c-pointer/) | - +Jul 23, 2014| [Access Control](https://developer.apple.com/swift/blog/?id=5)|*[Swift 新特性 - 访问控制](http://www.devtalking.com/articles/swift-access-control/)(文档版)| - +Jul 18, 2014|[Building assert() in Swift, Part 1: Lazy Evaluation](https://developer.apple.com/swift/blog/?id=4)|-|N/A +Jul 15, 2014|[Swift Language Changes in Xcode 6 beta 3](https://developer.apple.com/swift/blog/?id=3)|-|N/A +Jul 11, 2014|[Welcome to Swift Blog](https://developer.apple.com/swift/blog/?id=1)|-|N/A \ No newline at end of file diff --git a/open_deep_researcher.ipynb b/open_deep_researcher.ipynb new file mode 100644 index 00000000..62b88876 --- /dev/null +++ b/open_deep_researcher.ipynb @@ -0,0 +1,430 @@ +{ + "nbformat": 4, + "nbformat_minor": 0, + "metadata": { + "colab": { + "provenance": [], + "include_colab_link": true + }, + "kernelspec": { + "name": "python3", + "display_name": "Python 3" + }, + "language_info": { + "name": "python" + } + }, + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "id": "view-in-github", + "colab_type": "text" + }, + "source": [ + "\"Open" + ] + }, + { + "cell_type": "code", + "source": [ + "!pip install nest_asyncio\n", + "import nest_asyncio\n", + "nest_asyncio.apply()" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "y7cTpP9rDZW-", + "outputId": "7d1689dc-8af6-4ce4-cd53-f5d3c0765582" + }, + "execution_count": 1, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Requirement already satisfied: nest_asyncio in /usr/local/lib/python3.11/dist-packages (1.6.0)\n" + ] + } + ] + }, + { + "cell_type": "code", + "source": [], + "metadata": { + "id": "46Q5XpapDJZT" + }, + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": { + "id": "GJTo96a7DGUz", + "colab": { + "base_uri": "https://localhost:8080/" + }, + "outputId": "22fef2d5-1bb9-4d1f-a5fc-289a919af3a7" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Enter your research query/topic: DeepSeek R1 推理能力排名\n", + "Enter maximum number of iterations (default 10): \n", + "OpenRouter API error: 401 - {\"error\":{\"message\":\"No auth credentials found\",\"code\":401}}\n", + "No search queries were generated by the LLM. Exiting.\n" + ] + } + ], + "source": [ + "import asyncio\n", + "import aiohttp\n", + "import json\n", + "\n", + "# =======================\n", + "# Configuration Constants\n", + "# =======================\n", + "OPENROUTER_API_KEY = \"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\" # Replace with your OpenRouter API key\n", + "SERPAPI_API_KEY = \"accdd5cb9df68cb4ca9df50c584be832d7599a4ce352ceb28053b0b8016b33da\" # Replace with your SERPAPI API key\n", + "JINA_API_KEY = \"jina_2f0d891431594d669247cfd9ecc97d74OlR34JrvYP6rF-3MIs00BleNVlps\" # Replace with your JINA API key\n", + "\n", + "# Endpoints\n", + "OPENROUTER_URL = \"https://openrouter.ai/api/v1/chat/completions\"\n", + "SERPAPI_URL = \"https://serpapi.com/search\"\n", + "JINA_BASE_URL = \"https://r.jina.ai/\"\n", + "\n", + "# Default LLM model (can be changed if desired)\n", + "DEFAULT_MODEL = \"deepseek/deepseek-r1:free\"\n", + "\n", + "\n", + "# ============================\n", + "# Asynchronous Helper Functions\n", + "# ============================\n", + "\n", + "async def call_openrouter_async(session, messages, model=DEFAULT_MODEL):\n", + " \"\"\"\n", + " Asynchronously call the OpenRouter chat completion API with the provided messages.\n", + " Returns the content of the assistant’s reply.\n", + " \"\"\"\n", + " headers = {\n", + " \"Authorization\": f\"Bearer {OPENROUTER_API_KEY}\",\n", + " \"X-Title\": \"OpenDeepResearcher, by Matt Shumer\",\n", + " \"Content-Type\": \"application/json\"\n", + " }\n", + " payload = {\n", + " \"model\": model,\n", + " \"messages\": messages\n", + " }\n", + " try:\n", + " async with session.post(OPENROUTER_URL, headers=headers, json=payload) as resp:\n", + " if resp.status == 200:\n", + " result = await resp.json()\n", + " try:\n", + " return result['choices'][0]['message']['content']\n", + " except (KeyError, IndexError) as e:\n", + " print(\"Unexpected OpenRouter response structure:\", result)\n", + " return None\n", + " else:\n", + " text = await resp.text()\n", + " print(f\"OpenRouter API error: {resp.status} - {text}\")\n", + " return None\n", + " except Exception as e:\n", + " print(\"Error calling OpenRouter:\", e)\n", + " return None\n", + "\n", + "\n", + "async def generate_search_queries_async(session, user_query):\n", + " \"\"\"\n", + " Ask the LLM to produce up to four precise search queries (in Python list format)\n", + " based on the user’s query.\n", + " \"\"\"\n", + " prompt = (\n", + " \"You are an expert research assistant. Given the user's query, generate up to four distinct, \"\n", + " \"precise search queries that would help gather comprehensive information on the topic. \"\n", + " \"Return only a Python list of strings, for example: ['query1', 'query2', 'query3'].\"\n", + " )\n", + " messages = [\n", + " {\"role\": \"system\", \"content\": \"You are a helpful and precise research assistant.\"},\n", + " {\"role\": \"user\", \"content\": f\"User Query: {user_query}\\n\\n{prompt}\"}\n", + " ]\n", + " response = await call_openrouter_async(session, messages)\n", + " if response:\n", + " try:\n", + " # Expect exactly a Python list (e.g., \"['query1', 'query2']\")\n", + " search_queries = eval(response)\n", + " if isinstance(search_queries, list):\n", + " return search_queries\n", + " else:\n", + " print(\"LLM did not return a list. Response:\", response)\n", + " return []\n", + " except Exception as e:\n", + " print(\"Error parsing search queries:\", e, \"\\nResponse:\", response)\n", + " return []\n", + " return []\n", + "\n", + "\n", + "async def perform_search_async(session, query):\n", + " \"\"\"\n", + " Asynchronously perform a Google search using SERPAPI for the given query.\n", + " Returns a list of result URLs.\n", + " \"\"\"\n", + " params = {\n", + " \"q\": query,\n", + " \"api_key\": SERPAPI_API_KEY,\n", + " \"engine\": \"google\"\n", + " }\n", + " try:\n", + " async with session.get(SERPAPI_URL, params=params) as resp:\n", + " if resp.status == 200:\n", + " results = await resp.json()\n", + " if \"organic_results\" in results:\n", + " links = [item.get(\"link\") for item in results[\"organic_results\"] if \"link\" in item]\n", + " return links\n", + " else:\n", + " print(\"No organic results in SERPAPI response.\")\n", + " return []\n", + " else:\n", + " text = await resp.text()\n", + " print(f\"SERPAPI error: {resp.status} - {text}\")\n", + " return []\n", + " except Exception as e:\n", + " print(\"Error performing SERPAPI search:\", e)\n", + " return []\n", + "\n", + "\n", + "async def fetch_webpage_text_async(session, url):\n", + " \"\"\"\n", + " Asynchronously retrieve the text content of a webpage using Jina.\n", + " The URL is appended to the Jina endpoint.\n", + " \"\"\"\n", + " full_url = f\"{JINA_BASE_URL}{url}\"\n", + " headers = {\n", + " \"Authorization\": f\"Bearer {JINA_API_KEY}\"\n", + " }\n", + " try:\n", + " async with session.get(full_url, headers=headers) as resp:\n", + " if resp.status == 200:\n", + " return await resp.text()\n", + " else:\n", + " text = await resp.text()\n", + " print(f\"Jina fetch error for {url}: {resp.status} - {text}\")\n", + " return \"\"\n", + " except Exception as e:\n", + " print(\"Error fetching webpage text with Jina:\", e)\n", + " return \"\"\n", + "\n", + "\n", + "async def is_page_useful_async(session, user_query, page_text):\n", + " \"\"\"\n", + " Ask the LLM if the provided webpage content is useful for answering the user's query.\n", + " The LLM must reply with exactly \"Yes\" or \"No\".\n", + " \"\"\"\n", + " prompt = (\n", + " \"You are a critical research evaluator. Given the user's query and the content of a webpage, \"\n", + " \"determine if the webpage contains information relevant and useful for addressing the query. \"\n", + " \"Respond with exactly one word: 'Yes' if the page is useful, or 'No' if it is not. Do not include any extra text.\"\n", + " )\n", + " messages = [\n", + " {\"role\": \"system\", \"content\": \"You are a strict and concise evaluator of research relevance.\"},\n", + " {\"role\": \"user\", \"content\": f\"User Query: {user_query}\\n\\nWebpage Content (first 20000 characters):\\n{page_text[:20000]}\\n\\n{prompt}\"}\n", + " ]\n", + " response = await call_openrouter_async(session, messages)\n", + " if response:\n", + " answer = response.strip()\n", + " if answer in [\"Yes\", \"No\"]:\n", + " return answer\n", + " else:\n", + " # Fallback: try to extract Yes/No from the response.\n", + " if \"Yes\" in answer:\n", + " return \"Yes\"\n", + " elif \"No\" in answer:\n", + " return \"No\"\n", + " return \"No\"\n", + "\n", + "\n", + "async def extract_relevant_context_async(session, user_query, search_query, page_text):\n", + " \"\"\"\n", + " Given the original query, the search query used, and the page content,\n", + " have the LLM extract all information relevant for answering the query.\n", + " \"\"\"\n", + " prompt = (\n", + " \"You are an expert information extractor. Given the user's query, the search query that led to this page, \"\n", + " \"and the webpage content, extract all pieces of information that are relevant to answering the user's query. \"\n", + " \"Return only the relevant context as plain text without commentary.\"\n", + " )\n", + " messages = [\n", + " {\"role\": \"system\", \"content\": \"You are an expert in extracting and summarizing relevant information.\"},\n", + " {\"role\": \"user\", \"content\": f\"User Query: {user_query}\\nSearch Query: {search_query}\\n\\nWebpage Content (first 20000 characters):\\n{page_text[:20000]}\\n\\n{prompt}\"}\n", + " ]\n", + " response = await call_openrouter_async(session, messages)\n", + " if response:\n", + " return response.strip()\n", + " return \"\"\n", + "\n", + "\n", + "async def get_new_search_queries_async(session, user_query, previous_search_queries, all_contexts):\n", + " \"\"\"\n", + " Based on the original query, the previously used search queries, and all the extracted contexts,\n", + " ask the LLM whether additional search queries are needed. If yes, return a Python list of up to four queries;\n", + " if the LLM thinks research is complete, it should return \"\".\n", + " \"\"\"\n", + " context_combined = \"\\n\".join(all_contexts)\n", + " prompt = (\n", + " \"You are an analytical research assistant. Based on the original query, the search queries performed so far, \"\n", + " \"and the extracted contexts from webpages, determine if further research is needed. \"\n", + " \"If further research is needed, provide up to four new search queries as a Python list (for example, \"\n", + " \"['new query1', 'new query2']). If you believe no further research is needed, respond with exactly .\"\n", + " \"\\nOutput only a Python list or the token without any additional text.\"\n", + " )\n", + " messages = [\n", + " {\"role\": \"system\", \"content\": \"You are a systematic research planner.\"},\n", + " {\"role\": \"user\", \"content\": f\"User Query: {user_query}\\nPrevious Search Queries: {previous_search_queries}\\n\\nExtracted Relevant Contexts:\\n{context_combined}\\n\\n{prompt}\"}\n", + " ]\n", + " response = await call_openrouter_async(session, messages)\n", + " if response:\n", + " cleaned = response.strip()\n", + " if cleaned == \"\":\n", + " return \"\"\n", + " try:\n", + " new_queries = eval(cleaned)\n", + " if isinstance(new_queries, list):\n", + " return new_queries\n", + " else:\n", + " print(\"LLM did not return a list for new search queries. Response:\", response)\n", + " return []\n", + " except Exception as e:\n", + " print(\"Error parsing new search queries:\", e, \"\\nResponse:\", response)\n", + " return []\n", + " return []\n", + "\n", + "\n", + "async def generate_final_report_async(session, user_query, all_contexts):\n", + " \"\"\"\n", + " Generate the final comprehensive report using all gathered contexts.\n", + " \"\"\"\n", + " context_combined = \"\\n\".join(all_contexts)\n", + " prompt = (\n", + " \"You are an expert researcher and report writer. Based on the gathered contexts below and the original query, \"\n", + " \"write a comprehensive, well-structured, and detailed report that addresses the query thoroughly. \"\n", + " \"Include all relevant insights and conclusions without extraneous commentary.\"\n", + " )\n", + " messages = [\n", + " {\"role\": \"system\", \"content\": \"You are a skilled report writer.\"},\n", + " {\"role\": \"user\", \"content\": f\"User Query: {user_query}\\n\\nGathered Relevant Contexts:\\n{context_combined}\\n\\n{prompt}\"}\n", + " ]\n", + " report = await call_openrouter_async(session, messages)\n", + " return report\n", + "\n", + "\n", + "async def process_link(session, link, user_query, search_query):\n", + " \"\"\"\n", + " Process a single link: fetch its content, judge its usefulness, and if useful, extract the relevant context.\n", + " \"\"\"\n", + " print(f\"Fetching content from: {link}\")\n", + " page_text = await fetch_webpage_text_async(session, link)\n", + " if not page_text:\n", + " return None\n", + " usefulness = await is_page_useful_async(session, user_query, page_text)\n", + " print(f\"Page usefulness for {link}: {usefulness}\")\n", + " if usefulness == \"Yes\":\n", + " context = await extract_relevant_context_async(session, user_query, search_query, page_text)\n", + " if context:\n", + " print(f\"Extracted context from {link} (first 200 chars): {context[:200]}\")\n", + " return context\n", + " return None\n", + "\n", + "\n", + "# =========================\n", + "# Main Asynchronous Routine\n", + "# =========================\n", + "\n", + "async def async_main():\n", + " user_query = input(\"Enter your research query/topic: \").strip()\n", + " iter_limit_input = input(\"Enter maximum number of iterations (default 10): \").strip()\n", + " iteration_limit = int(iter_limit_input) if iter_limit_input.isdigit() else 10\n", + "\n", + " aggregated_contexts = [] # All useful contexts from every iteration\n", + " all_search_queries = [] # Every search query used across iterations\n", + " iteration = 0\n", + "\n", + " async with aiohttp.ClientSession() as session:\n", + " # ----- INITIAL SEARCH QUERIES -----\n", + " new_search_queries = await generate_search_queries_async(session, user_query)\n", + " if not new_search_queries:\n", + " print(\"No search queries were generated by the LLM. Exiting.\")\n", + " return\n", + " all_search_queries.extend(new_search_queries)\n", + "\n", + " # ----- ITERATIVE RESEARCH LOOP -----\n", + " while iteration < iteration_limit:\n", + " print(f\"\\n=== Iteration {iteration + 1} ===\")\n", + " iteration_contexts = []\n", + "\n", + " # For each search query, perform SERPAPI searches concurrently.\n", + " search_tasks = [perform_search_async(session, query) for query in new_search_queries]\n", + " search_results = await asyncio.gather(*search_tasks)\n", + "\n", + " # Aggregate all unique links from all search queries of this iteration.\n", + " # Map each unique link to the search query that produced it.\n", + " unique_links = {}\n", + " for idx, links in enumerate(search_results):\n", + " query = new_search_queries[idx]\n", + " for link in links:\n", + " if link not in unique_links:\n", + " unique_links[link] = query\n", + "\n", + " print(f\"Aggregated {len(unique_links)} unique links from this iteration.\")\n", + "\n", + " # Process each link concurrently: fetch, judge, and extract context.\n", + " link_tasks = [\n", + " process_link(session, link, user_query, unique_links[link])\n", + " for link in unique_links\n", + " ]\n", + " link_results = await asyncio.gather(*link_tasks)\n", + "\n", + " # Collect non-None contexts.\n", + " for res in link_results:\n", + " if res:\n", + " iteration_contexts.append(res)\n", + "\n", + " if iteration_contexts:\n", + " aggregated_contexts.extend(iteration_contexts)\n", + " else:\n", + " print(\"No useful contexts were found in this iteration.\")\n", + "\n", + " # ----- ASK THE LLM IF MORE SEARCHES ARE NEEDED -----\n", + " new_search_queries = await get_new_search_queries_async(session, user_query, all_search_queries, aggregated_contexts)\n", + " if new_search_queries == \"\":\n", + " print(\"LLM indicated that no further research is needed.\")\n", + " break\n", + " elif new_search_queries:\n", + " print(\"LLM provided new search queries:\", new_search_queries)\n", + " all_search_queries.extend(new_search_queries)\n", + " else:\n", + " print(\"LLM did not provide any new search queries. Ending the loop.\")\n", + " break\n", + "\n", + " iteration += 1\n", + "\n", + " # ----- FINAL REPORT -----\n", + " print(\"\\nGenerating final report...\")\n", + " final_report = await generate_final_report_async(session, user_query, aggregated_contexts)\n", + " print(\"\\n==== FINAL REPORT ====\\n\")\n", + " print(final_report)\n", + "\n", + "\n", + "def main():\n", + " asyncio.run(async_main())\n", + "\n", + "\n", + "if __name__ == \"__main__\":\n", + " main()\n" + ] + } + ] +} \ No newline at end of file diff --git a/weekly/Issue-45.md b/weekly/Issue-45.md new file mode 100644 index 00000000..1637fdc2 --- /dev/null +++ b/weekly/Issue-45.md @@ -0,0 +1,38 @@ +[Swift 语言指南](https://github.com/ipader/SwiftGuide)-Issue 45 +=== +> **本期特别推荐** 1. 项目:[Localize-Swift](https://github.com/marmelroy/Localize-Swift)(国际化及本地化字符串框架库),[AudioKit](https://github.com/audiokit/AudioKit)(音频合成、加工及分析平台框架库)以及 [swift-algorithm-club](https://github.com/hollance/swift-algorithm-club)(Swift 算法俱乐部学习库);2. 文档:[用 Swift 中的单向数据流来替代臃肿的视图控制器](https://realm.io/cn/news/benji-encz-unidirectional-data-flow-swift/) 和 [Swift中的7个陷阱与如何避免它们](https://developer.ibm.com/swift/2016/01/27/seven-swift-snares-how-to-avoid-them/) + +> 大声:[Kingfisher 2.0 版](https://github.com/onevcat/Kingfisher/releases):“OS X,watchOS,tvOS 全面支持,重写了 Option 设置部分使其扩展性更佳,Swift Package Manager 支持,部分性能优化等等。By [onevcat](http://weibo.com/onevcat)”。 + +## 项目 +> [Swift 项目精选](https://github.com/ipader/SwiftGuide/blob/master/Featured.md):最近新收录 [Graph](https://github.com/CosmicMind/Graph), [Localize-Swift](https://github.com/marmelroy/Localize-Swift), [Cuckoo](https://github.com/SwiftKit/Cuckoo), [Gecco](https://github.com/yukiasai/Gecco), [AudioKit](https://github.com/audiokit/AudioKit), [vapor](https://github.com/tannernelson/vapor), [Every.swift](https://github.com/samhann/Every.swift) 等 7 个,合计已收录 297 个。 + +* [CosmicMind/Graph](https://github.com/CosmicMind/Graph):设计新颖、使用简单,基于 CoreData 持久化类库。开发者:[CosmicMind](https://github.com/CosmicMind) +* [hollance/swift-algorithm-club](https://github.com/hollance/swift-algorithm-club):Swift 语言算法开源俱乐部。开发同学已经实现了几款常见算法,比如:栈、队列、(几款)排序、(子串)搜索、数组算法等。很具学习价值的开源项目。开发者:[Matthijs Hollemans](hollance/swift-algorithm-club) +* [FengDeng/RxGitHubAPI](https://github.com/FengDeng/RxGitHubAPI):一个基于 RxSwift 的 GitHub API。设计思路,用法和代码说明参见 [Swift,RxSwift实现的RxGithub API库用法和代码说明](http://fengdeng.github.io/blog/2016/01/31/rxgithub-apiku-yong-fa-he-dai-ma-shuo-ming/)。开发者:[@FengDeng_iOS](http://weibo.com/FengDeng1219) +* [liuzhiyi1992/SpreadButton](https://github.com/liuzhiyi1992/SpreadButton):这是 Path 菜单 和 AssistiveTouch 的融合体类库及演示项目。开发者 [@潜艇_刘智艺Zzz](http://weibo.com/525567789) 同学附上了[类库功能及开发介绍](http://zyden.vicp.cc/zyspreadbutton/)。 +* [Nododo/Swift_100days](https://github.com/Nododo/Swift_100days):[Swift 100 days](http://samvlu.com) 开发者学习代码开源。 +* [sheepy1/SelectionOfZhihu](https://github.com/sheepy1/SelectionOfZhihu):[看知乎] iOS 版开源实现([开发介绍](开源项目——『看知乎』iOS 版))。开发者 [Sheepy](https://github.com/sheepy1/) 同学引用了 ([看知乎] API](http://www.kanzhihu.com/api-document)。 +* [marmelroy/Localize-Swift](https://github.com/marmelroy/Localize-Swift):一款开发者不可或缺的国际化及本地化字符串框架支持类库。同样地,使用简单、直观又方便。毫无疑问,这款非常值得收录。开发者:[Roy Marmelstein](https://github.com/marmelroy) +* [benloong/TidyJSON](https://github.com/benloong/TidyJSON):一款简单、易用、明了的 JSON 解析小类库。P.S. 感谢 [@bugizmo](http://weibo.com/bugizmo) 同学自荐。 +* [SwiftKit/Cuckoo](https://github.com/SwiftKit/Cuckoo):一款用法更接近于传统单元测试 Mock 框架库(区别之处在于需要用脚本预先生成 Mock 类)。开发者:[SwiftKit](https://github.com/SwiftKit) +* [yukiasai/Gecco](https://github.com/yukiasai/Gecco):“是一款支持对视图进行局部高亮的 Swift 库, 帮助 iOS 开发者快速创建产品的新手指导界面。By [GitHubDaily](http://weibo.com/GitHubDaily)”。开发者:[yukiasai](https://github.com/yukiasai) +* [audiokit/AudioKit](https://github.com/audiokit/AudioKit):音频合成、加工及分析平台(支持 iOS、OS X、tvOS)框架库。无论其易用性,还是功能性及专业性,相信许多用过的同学一定深有体会。开发者:[AudioKit](https://github.com/audiokit) +* [nixzhu/Coolie](https://github.com/nixzhu/Coolie):一个帮你将 JSON 文件转换为 Swift 结构体模型(及构造方法)的小工具,应该能省去一些打字的时间。开发者:[@nixzhu](http://weibo.com/nixzhu) +* [tannernelson/vapor](https://github.com/tannernelson/vapor):相比 Perfect,这一款 Web 服务器框架更轻量、小巧型,方便二次开发使用。开发者:[Tanner](https://github.com/tannernelson) +* [samhann/Every.swift](https://github.com/samhann/Every.swift):定时重复执行代码段工具类库。使用很方便灵活。开发者:[Samhan Salahuddin](https://github.com/samhann) + +## 文档 +> [Swift 文章精选](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md):最近新收录 [当 Swift 中的泛型遇到协议](http://chengway.in/dang-swift-zhong-de-fan-xing-yu-dao-xie-yi/),[协变与逆变](http://swift.gg/2015/12/24/friday-qa-2015-11-20-covariance-and-contravariance/),[用 Swift 中的单向数据流来替代臃肿的视图控制器](https://realm.io/cn/news/benji-encz-unidirectional-data-flow-swift/),[CoreData VS Realm](http://www.jianshu.com/p/e9532bd1bb65),[Swift中的7个陷阱与如何避免它们](https://developer.ibm.com/swift/2016/01/27/seven-swift-snares-how-to-avoid-them/),[为什么 Swift 中的 String API 如此难用?](http://swift.gg/2016/01/25/friday-qa-2015-11-06-why-is-swifts-string-api-so-hard/),[UIKit性能调优实战讲解](http://www.jianshu.com/p/619cf14640f3),[Profiling your Swift compilation times](http://irace.me/swift-profiling) 等 8 份,合计已收录 163 份。 + +* [当 Swift 中的泛型遇到协议](http://chengway.in/dang-swift-zhong-de-fan-xing-yu-dao-xie-yi/):好译文。译者同学有心地附上了另一篇参考译文《[协变与逆变](http://swift.gg/2015/12/24/friday-qa-2015-11-20-covariance-and-contravariance/)》对照着阅读。P.S. 扎实地基础才能写出好代码。译者:[@walkingway](http://weibo.com/walkingway) +* [用 Swift 中的单向数据流来替代臃肿的视图控制器](https://realm.io/cn/news/benji-encz-unidirectional-data-flow-swift/):作者即是 Swift-Flow(近期已与 ReduxKit 合并为 ReSwift)开发者。是一篇相对详细讲解 MVC 框架在应用设计中的片面性,从而引出 Redux 或 Swift-Flow 必要性的讲演稿译文。 +* [Swift中的7个陷阱与如何避免它们](https://developer.ibm.com/swift/2016/01/27/seven-swift-snares-how-to-avoid-them/):好文。表述清晰、直接,这个要转起来。来源:IBM +* [CoreData VS Realm](http://www.jianshu.com/p/e9532bd1bb65):不错(尤其性能比较章节)。作者:[@Yu_我就想叫一个简单的昵称](http://weibo.com/iyunsn) +* [为什么 Swift 中的 String API 如此难用?](http://swift.gg/2016/01/25/friday-qa-2015-11-06-why-is-swifts-string-api-so-hard/):String API 真的很失败吗?作者从字符串表示原理讲起,还原 Swift 的设计思想。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@永远十七岁的Cee妹](http://weibo.com/acgcee) +* [Profiling your Swift compilation times](http://irace.me/swift-profiling):“如果你想减少你的 Swift 项目的「带薪编译」的时间,这篇文章值得一看。By [@图拉鼎](http://weibo.com/tualatrix)” +* [UIKit性能调优实战讲解](http://www.jianshu.com/p/619cf14640f3):作者同学从细节着手,让你了解个中利害。“结合Instrument分析影响性能的因素,提出UIKit优化方案并解释背后的原理。还附有一步步调优的Demo”。作者:[@Martin_wjl](http://weibo.com/u/5419850564) +* [在 Swift 中编写 watchOS 2 Hello World 程序](http://swift.gg/2016/01/21/watchos-2-hello-world-app-in-swift/):“又是一个 watchOS 系列教程,我们会同步更新,学学新技术吧”。译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@画渣程序猿mmoaay](http://weibo.com/smmoaay) +* 想了解 [Perfect](http://perfect.org) 的同学,这里有两篇来自 @InfoQ 的 Perfect 入门文章可以看看:《[Perfect:Swift语言服务端开发工具包](http://www.infoq.com/cn/news/2015/11/perfect-swift)》,《[采访 Perfect CEO:Perfect将把Swift带到服务器端](http://www.infoq.com/cn/news/2016/01/perfect-server-side-swift)》 + + diff --git a/weekly/Issue-46.md b/weekly/Issue-46.md new file mode 100644 index 00000000..9855e278 --- /dev/null +++ b/weekly/Issue-46.md @@ -0,0 +1,60 @@ +[Swift 语言指南](https://github.com/ipader/SwiftGuide)-Issue 46 +=== +> **本期特别推荐** 1. 项目:[30DaysofSwift](https://github.com/allenwong/30DaysofSwift)(相比 [100 Days of Swift](http://samvlu.com/index.html),一样的赏心悦目),[Tactile](https://github.com/delba/Tactile)(让手势识别如虎添翼),[folding-cell](https://github.com/Ramotion/folding-cell)(自然流畅、清新的单元格折叠动画类及演示),[Yep](https://github.com/CatchChat/Yep)(“打造由天才开发给天才们使用的社交软件”);2. 文档:[新手指南:使用 Social Framework 以及 UIActivityViewController](http://swift.gg/2016/02/04/social-framework-introduction/),《Threading Programming Guide》笔记([1. 初识线程](http://geek.csdn.net/news/detail/54092)、[2. 线程配置与Run Loop](http://geek.csdn.net/news/detail/55617)、[3. Run Loop操作配置实践](http://geek.csdn.net/news/detail/56056)) + +> 大声1:“[苹果开源 Swift 基准测试套件](http://www.infoq.com/cn/news/2016/02/swift-benchmarking-suite)。在向 Swift 语言添加新特性时,它是跟踪 Swift 性能及捕获性能衰退的一个重要部分。By [@InfoQ](http://weibo.com/infoqchina)”。 + +> 大声2:“[@叶孤城](http://weibo.com/u/1438670852):2016,我们为大家做了一点小事. CodeReview, 简单来说,你可以提交自己的代码给大神审核.网站在这里,www.reviewcode.cn ”。 + +## 项目 +> [Swift 项目精选](https://github.com/ipader/SwiftGuide/blob/master/Featured.md):最近新收录 [Freddy](https://github.com/bignerdranch/Freddy), [PMJSON](https://github.com/postmates/PMJSON), [Hue](https://github.com/hyperoslo/Hue), [fluent](https://github.com/qutheory/fluent), [circle-menu](https://github.com/Ramotion/circle-menu), [Phonetic](https://github.com/iAugux/Phonetic),[FileBrowser](https://github.com/marmelroy/FileBrowser), [blackfish](https://github.com/elliottminns/blackfish), [reel-search](https://github.com/Ramotion/reel-search), [folding-cell](https://github.com/Ramotion/folding-cell), [delba/Tactile](https://github.com/delba/Tactile), [30DaysofSwift](https://github.com/allenwong/30DaysofSwift), [URLNavigator](https://github.com/devxoul/URLNavigator), [trySwiftApp](https://github.com/NatashaTheRobot/trySwiftApp), [Stevia](https://github.com/s4cha/Stevia), [Ares](https://github.com/indragiek/Ares), [furni-ios](https://github.com/twitterdev/furni-ios), [Yep](https://github.com/CatchChat/Yep) 等 18 个,合计已收录 325 个。 + +* [amayne/SwiftString](https://github.com/amayne/SwiftString):这款 String 扩展功能很丰富(无论格式化杂乱字符串,还是子串查找,亦或是格式转换都很强大)。开发者:[Andrew Mayne](https://github.com/amayne) +* [hyperoslo/Hue](https://github.com/hyperoslo/Hue):颜色常规功能集于一身的定义、使用 Color 工具类库(含图片取色)。开发者:[Hyper](https://github.com/hyperoslo) +* [bignerdranch/Freddy](https://github.com/bignerdranch/Freddy):更安全地解析,且充分考虑 Swift 固有语法的 JSON 解析类。做的要比我们想到的更多。开发者:[Big Nerd Ranch](https://github.com/bignerdranch) +* [postmates/PMJSON](https://github.com/postmates/PMJSON):简单、实用、高效的 JSON 解析类库。如此多的 JSON 解析类库,同学可以根据喜欢择优选用。开发者:[Postmates](https://github.com/postmates) +* [qutheory/fluent](https://github.com/qutheory/fluent):架构设计清晰,解决对象与关系数据库映射,并快速实现 CRUD 操作的对象存储类库(已经实现了 SQLite 驱动,正在实现 MySQL 和 MongoDB 驱动)。开发者:[Qutheory](https://github.com/qutheory) +* [Ramotion/reel-search](https://github.com/Ramotion/reel-search):自然且毫无违合感快捷输入并选择组件。精品 UI 组件。开发者:[Ramotion](https://github.com/Ramotion) +* [Ramotion/folding-cell](https://github.com/Ramotion/folding-cell):自然流畅、清新的单元格折叠动画类及演示。附图为 dribbble 设计稿(俺测试过,程序实际实现效果与之无异)。开发者:[Ramotion](https://github.com/Ramotion) +* [Ramotion/circle-menu](https://github.com/Ramotion/circle-menu):看上去动画效率很赞的圆形缩放菜单演示及类库。开发者:[Ramotion](https://github.com/Ramotion) +* [startry/SwViewCapture](https://github.com/startry/SwViewCapture):“推荐一个开源库,可以截图任何View的一个库(包括UITableView,UIWebView,WKWebView这些容器的整体内容)。 By [@子循SubCycle](http://weibo.com/chenyl107)”。开发者:[@陈兴Startry](http://weibo.com/chenxingstartry) +* [delba/Tactile](https://github.com/delba/Tactile):该类库让手势识别如虎添翼。开发者:[Damien](https://github.com/delba) +* [marmelroy/FileBrowser](https://github.com/marmelroy/FileBrowser):iOS 下 Finder 风格文件浏览器,有此特殊需求的同学可以考虑收入。开发者:[Roy Marmelstein](https://github.com/marmelroy) +* [devxoul/URLNavigator](https://github.com/devxoul/URLNavigator):可以建立基于 URL 模式匹配的 URL 与 view controllers 映射导航工具类库。开发者:[Jeon Suyeol](https://github.com/devxoul) +* [elliottminns/blackfish](https://github.com/elliottminns/blackfish):一款 Swift 写的基于 Node.js/Express 风格的 Web 服务器。其优点是快、单线程及类型保护。开发者:[Elliott Minns](https://github.com/elliottminns) +* [s4cha/Stevia](https://github.com/s4cha/Stevia):简单、直观的纯代码自动布局类库。相比 Xibs 和 storyboards,或许在灵活性和代码结构上有更多优势(见仁见智)。开发者:[S4cha](https://github.com/s4cha) +* [iAugux/Phonetic](https://github.com/iAugux/Phonetic):“网友用 Swift 写了一个 iOS 版的 Phonetic Contacts,功能很多,其中昵称功能非常实用,已在 GitHub 开源并上架 App Store,限时半价中。By [@汤圣罡](http://weibo.com/lexrus)”。开发者:[@iAugus](http://weibo.com/augusoo7) +* [allenwong/30DaysofSwift](https://github.com/allenwong/30DaysofSwift):“第一个坚持下来的30天挑战,30天写了30个 Swift 小项目,搜刮了Youtube Appcoda HackwithSwift DevelopersAcademy iOSCreator GrokSwift 等等几乎所有的 Swift 教程”。相比 [100 Days of Swift](http://samvlu.com/index.html),一样的赏心悦目。开发者:[@Allen朝辉](http://weibo.com/wangchaohui) +* [Jintin/Swimat](https://github.com/Jintin/Swimat):“帮你一键格式化 swift 代码的 Xcode 插件”。开发者:[@王哲夫](http://weibo.com/nonomori)。 P.S. 有点遗憾地是它用了 Objective-C 编写。 +* [FlexMonkey/ValentinesSwift](https://github.com/FlexMonkey/ValentinesSwift):Swift 给情人节的 playground 礼物,作者同学爱心满满。开发者:[simon gladman](https://github.com/FlexMonkey) +* [NatashaTheRobot/trySwiftApp](https://github.com/NatashaTheRobot/trySwiftApp):一款较为完整的会议原型应用。有需求的同学可以做为开发参考。开发者:Natasha Murashev +* [indragiek/Ares](https://github.com/indragiek/Ares):一款 P2P (Macs <--> iOS) 文件传输演示项目。做为在 HackED 2016 的获胜者项目(24 小时内完成),目前处于 POC (proof-of-concept) 阶段,仍需时日以达类库及服务真正地可用状态。开发者:[Indragie Karunaratne](https://github.com/indragiek/Ares) +* [twitterdev/furni-ios](https://github.com/twitterdev/furni-ios):由 Twitter 开发小组 基于其移动应用开发平台 Fabric(SDK 支持 iOS 和 Android,官网首页支持中文)开发的家居商店应用演示。P.S. 该演示己成为 twitterdev 发布在 GitHub 上的最热门应用。值得关注。开发者:[@TwitterDev](https://github.com/twitterdev) +* [gaowanli/PinGo](https://github.com/gaowanli/PinGo):仿“随遇”应用。[@高哥靠脸吃饭](http://weibo.com/u/3441650342) +* [herrkaefer/CaseAssistant](https://github.com/herrkaefer/CaseAssistant):眼科行医手记。开发者:[@HerrKaefer](http://weibo.com/herrkaefer) +* [CatchChat/Yep](https://github.com/CatchChat/Yep):“这两天非常抱歉 Yep 因为 App Store 服务器同步的问题,很多同学没有下载到,Yep 现在已经完全开源,README 里也编写了代码指南,稍后我们会公开我们 Trello 和 Roadmap,欢迎大家参与进来,一起打造一个由天才开发给天才们使用的社交软件。By [@周楷雯Kevin](http://weibo.com/kevinzhow)”。开发者:[Catch](https://github.com/CatchChat) +* [Finb/V2ex-Swift](https://github.com/Finb/V2ex-Swift):“目标是做出一个与V站网页版功能一致的APP”。开发者:[@Finuuid](http://weibo.com/u/3161718545)。 P.S. 如果仅仅实现这个目标,就失去 App 的优势了。 + +## 文档 +> [Swift 文章精选](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md):最近新收录 [轮转式卡片效果 - 个性化UICollectionView Layout](http://www.jianshu.com/p/45f39b70263d),[新手指南:使用 Social Framework 以及 UIActivityViewController](http://swift.gg/2016/02/04/social-framework-introduction/),[SwiftGG 交流分享:Xcode使用技巧](http://www.jianshu.com/p/cda4b0fe07e0),[使用 guard 的正确姿势](http://swift.gg/2016/02/14/swift-guard-radix/),[如何处理 Swift 中的异步错误](http://swift.gg/2016/02/16/async-errors/),《Threading Programming Guide》笔记([1. 初识线程](http://geek.csdn.net/news/detail/54092)、[2. 线程配置与Run Loop](http://geek.csdn.net/news/detail/55617)、[3. Run Loop操作配置实践](http://geek.csdn.net/news/detail/56056)),设计并非艺术([1. 本质区别](http://www.beforweb.com/node/821)、[2. 视觉美学与自我角色](http://www.beforweb.com/node/822)),[如何利用 Github 进行代码审查](https://realm.io/cn/news/codereview-howto/) 等 10 份,合计已收录 173 份。 + +* [轮转式卡片效果 - 个性化UICollectionView Layout](http://www.jianshu.com/p/45f39b70263d):“这篇文是教怎么利用Collection view layout 做出自己喜欢的collection view ,翻译 [Ray Wenderlich](http://www.raywenderlich.com/107687/uicollectionview-custom-layout-tutorial-spinning-wheel) 的文,发现原文在anchor point计算那里有个小bug,所以就改了那里的计算”。译者:[@莫威權在B612等着那阵温柔的风](http://weibo.com/u/1061021332) +* [新手指南:使用 Social Framework 以及 UIActivityViewController](http://swift.gg/2016/02/04/social-framework-introduction/):“Appcoda 的长文来啦!以啰嗦著称的 Appcoda 这次介绍的是如何实现“分享到社交网络”功能”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@wangjianfeng](http://weibo.com/walkingway) +* [在 Swift 结构体中使用 Mutating 函数的最佳时机](http://swift.gg/2016/02/06/when-to-use-mutating-functions-in-swift-structs/):“当我面临要选择 mutating 关键字还是函数式编程时,通常我都会选择函数式编程,但这一些都是有前提的,那就是:不能牺牲可读性!”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@walkingway](http://weibo.com/walkingway) +* [使用 guard 的正确姿势](http://swift.gg/2016/02/14/swift-guard-radix/):“guard 是 Swift 2 中我最喜爱的特性之一。虽然完全不使用 guard 也没有什么影响,它只是给我们提供了更微妙的句法表达,但是如果能够正确使用 guard 语句,无疑是一件令人愉快的事”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@EclipsePrayer](http://weibo.com/EclipsePrayer) +* [如何成为一名入门级 iOS 开发者](http://swift.gg/2016/02/15/how-to-become-a-developer-1/):“别害怕,这不是一篇长文。作者列举了一些关键的技术和工具,可以结合 [@唐巧_boy 的 iOS 技能图谱](https://gist.github.com/tangqiaoboy/5fadd9ba398277680b87) 一起看。译者专门把文章里的视频搬运到了优酷,不用翻墙也可以看啦”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:ray16897188 +* [在 GitHub 上创建一个 Swift 包:其实一点也不简单](http://swift.gg/2016/02/22/creating-a-swift-package-on-github-not-as-easy-as-i-thought/):“Erica 在创建 Swift Package 时发现一个坑,到底是什么呢?一起来看看吧!”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:DianQK +* [如何处理 Swift 中的异步错误](http://swift.gg/2016/02/16/async-errors/):“为什么不能用 throw 处理异步错误?如何正确处理异步错误?什么是 Promise?看完你就全懂了,强烈推荐!”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:ray16897188 +* [更加 Swift 化的 Collection View 和 Table View Cells](http://swift.gg/2016/02/02/being-swifty-with-collection-view-and-table-view-cells/):“这是一个常见的场景:你有一个 tableView 或者一个 collectionView,并且里面含有大量不同种类的内容...”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[CMB](https://github.com/chenmingbiao) +* 《Threading Programming Guide》笔记(作者:[@DevTalking](http://weibo.com/jacefu),来源:[@CSDN移动](http://weibo.com/csdnmobile)) + * [1. 初识线程](http://geek.csdn.net/news/detail/54092):“说到OS X和iOS中的线程技术,就不得不说GNU Mach。Apple操作系统中的线程技术是基于Mach线程技术实现的,所以本身就带有线程基本的特性,比如PEM。” + * [2. 线程配置与Run Loop](http://geek.csdn.net/news/detail/55617):“本文围绕着线程属性配置以及Run Loop Modes展开,作者@DevTalking 表示:如今关于iOS多线程的文章层出不穷,但若想更好的领会各个实践者的文章,应该先仔细读读官方的相关文档,打好基础,定会有更好的效果。” + * [3. Run Loop操作配置实践](http://geek.csdn.net/news/detail/56056):“在对线程技术实践以及Run Loop的相关知识点进行讲解后,作者付宇轩开启了如何具体创建、配置和操作Run Loop的深度实践分享”。 +* [SwiftGG 交流分享:Xcode使用技巧](http://www.jianshu.com/p/cda4b0fe07e0):“本期的分享到此结束,主要介绍了四个方面的内容:断点、内存变量设置、Quick Look 和 代码片段。”,分享者:[@星夜暮晨](http://weibo.com/moonisky) +* [swift函数柯里化介绍及使用场景](http://www.jianshu.com/p/5b27fec8c616):“函数柯里化是函数式编程里的一个重要概念。swift中的柯里化可能很多人都没有了解过,今天给大家介绍一下柯里化的概念和一些使用场景”。作者:[@没故事的卓同学](http://weibo.com/u/1926303682) +* [Swift函数式编程范式下的模板模式实践](http://www.jianshu.com/p/c4f185e4cd72):“这篇讲讲模板模式(Template Method Pattern)在函数式编程里的实现”。作者:[@没故事的卓同学](http://weibo.com/u/1926303682) +* [Swift2.2新特性前瞻](http://www.jianshu.com/p/7a9c60131140):“根据苹果的公开信息,Swift2.2将于今年春季发布,3.0将于今年年末发布。在苹果开源了swift的同时,也把开发计划开源了出来:[swift-evolution](https://github.com/apple/swift-evolution)”。作者:[@没故事的卓同学](http://weibo.com/u/1926303682) +* [Introducing Swift 3.0](http://dev.iachieved.it/iachievedit/):“可以尝试编译安装 Swift 3.0 了” +* [如何利用 Github 进行代码审查](https://realm.io/cn/news/codereview-howto/):这个 GitHub 社区同学都值得看一看。P.S. 俺认为对于商业化用途的代码,未经严格代码审查的发布行为是不负责任的,因为它是项目进程(早期)不可缺少的一部分。来源:[Realm](https://realm.io/cn/news/codereview-howto/) +* 设计并非艺术([1. 本质区别](http://www.beforweb.com/node/821),[2. 视觉美学与自我角色](http://www.beforweb.com/node/822)) : “艺术是主观的,设计是客观的:因为艺术是一种自我表达方式,所以创作内容可以完全来自于艺术家本人。而设计是面向使用的,其内容源自于产品目标及其所服务的对象,这些来源都是外在的”。译者:[@C7210](http://weibo.com/c7210) + diff --git a/weekly/Issue-47.md b/weekly/Issue-47.md new file mode 100644 index 00000000..3791c830 --- /dev/null +++ b/weekly/Issue-47.md @@ -0,0 +1,64 @@ +**[<= 往期回顾](https://github.com/ipader/SwiftGuide/blob/master/weekly/README.md)** +[Swift 语言指南](https://github.com/ipader/SwiftGuide)-Issue 47 +=== +**本期特别推荐** 1. 项目:[Kitura](https://github.com/IBM-Swift/Kitura)(IBM Swift 开发组的开源 Web 服务器) +,[Advance](https://github.com/storehouse/Advance)(侧重在手势交互、帧动画、自定义动画及仿真类型的动画框架库),[PromiseKit](https://github.com/mxcl/PromiseKit)(Swift 化的 Promise 类库)以及 [Zewo](https://github.com/Zewo/Zewo)(底层库组件化超强大中间件框架) +,2. 文档:[ReactiveCocoa 4 官方文档翻译](http://www.jianshu.com/p/fccba7be1ca1),[Swift 性能探索和优化分析](https://onevcat.com/2016/02/swift-performance/),[给 iOS 开发者的 Sketch 入门教程](http://ios.jobbole.com/83865/) 以及 [Perfect 让 Swift 在服务器端跑起来](http://blog.csdn.net/u014388424/article/category/6092861) + +**大声一**:[IBM成为首个支持云端进行 Swift 应用开发的云供应商](http://t.cn/RGj1WYr)。 By [@IBM中国](http://weibo.com/u/1937649537) + +**大声二**:[30 Days of Swift 是如何成为本周 Github 全语言类第一的](http://weibo.com/ttarticle/p/show?id=2309403945025816947755)? By [@Allen朝辉](http://weibo.com/wangchaohui) + +**大声三**:[中国首届 Swift 开发者大会嘉宾现场演讲视频正式上线了](http://www.imooc.com/learn/600)。 By [@慕课网](http://weibo.com/mukewang) + + +## 项目 +> [Swift 项目精选](https://github.com/ipader/SwiftGuide/blob/master/Featured.md):最近新收录 [PromiseKit](https://github.com/mxcl/PromiseKit), [Zewo](https://github.com/Zewo/Zewo), [Kitura](https://github.com/IBM-Swift/Kitura), [TryParsec](https://github.com/inamiy/TryParsec), [Tentacle](https://github.com/mdiep/Tentacle), [Express](https://github.com/crossroadlabs/Express), [Swifton](https://github.com/necolt/Swifton), [VideoSplashKit](https://github.com/movielala/VideoSplashKit), [BTree](https://github.com/lorentey/BTree), [Markoff](https://github.com/thoughtbot/Markoff), [Heimdall](https://github.com/henrinormak/Heimdall), [JWAnimatedImage](https://github.com/wangjwchn/JWAnimatedImage), [Validated](https://github.com/Ben-G/Validated), [RealmIncrementalStore](https://github.com/eure/RealmIncrementalStore), [STLocationRequest](https://github.com/SvenTiigi/STLocationRequest), [AFBrushBoard](https://github.com/AfryMask/AFBrushBoard), [shift-js](https://github.com/shift-js/shift-js) 等 16 个,合计已收录 341 个。 + +* [storehouse/Advance](https://github.com/storehouse/Advance):简单易用、功能强大的动画框架库。在手势交互、帧动画、自定义动画及仿真类型将是不错的选择。开发者:[Storehouse](https://github.com/storehouse) +* [Ben-G/Validated](https://github.com/Ben-G/Validated):通过值验证或限定,快速定义新类型的微类库(约50行代码)。开发者:[Benjamin Encz](https://github.com/Ben-G) +* [inamiy/TryParsec](https://github.com/inamiy/TryParsec):一款组合式解析工具库(支持 CSV, XML, JSON,以及简单算术表达式)。开发者:[Yasuhiro Inami](https://github.com/inamiy) +* [mdiep/Tentacle](https://github.com/mdiep/Tentacle):构建于函数响应式编程框架 ReactiveCocoa 的 GitHub API 封装库。开发者:[Matt Diephouse](https://github.com/mdiep) +* [eure/RealmIncrementalStore](https://github.com/eure/RealmIncrementalStore):集 Realm 数据库和 CoreData 对象模型两者优势的 Realm 数据库访问类库。开发者:[エウレカ](https://github.com/eure) +* [mxcl/PromiseKit](https://github.com/mxcl/PromiseKit):同时支持 Swift 及 Objective-C 的 Promise 类库。这个不收录没天理啊。P.S. 尽然未分享过 Swift 化后的 PromiseKit,失误。开发者:[Max Howell](https://github.com/mxcl) +* [Zewo/Zewo](https://github.com/Zewo/Zewo):“我一直关注的Swift Server开源项目Zewo的官网终于上线了。跟一般Web框架项目不同的是,Zewo提供了一堆Server端基础库,可以帮助你用组件化的思路快速构建产品。By [@叶枫落](http://weibo.com/yefengluo)”。开发者:[Zewo](https://github.com/Zewo) +* [movielala/VideoSplashKit](https://github.com/movielala/VideoSplashKit):基于 UIViewController 的视频播放组件。简单、好用。开发者:[MovieLaLa](https://github.com/movielala)(视频及 tvOS 开发的同学可以关注一下这个开发者发布的开源项目:VideoThumbnailViewKit, VideoSplashKit, TVOSToast, TVOSButton, TVOSSlideViewController, YoutubeSourceParserKit) +* [IBM-Swift/Kitura](https://github.com/IBM-Swift/Kitura):安装、使用步骤及文档最为清晰地来自 IBM Swift 开发组的开源 Web 服务器。此外,IBM 云服务 Bluemix 也为 Swift 打开通路。开发者:[Swift@IBM](https://github.com/IBM-Swift) +* [crossroadlabs/Express](https://github.com/crossroadlabs/Express):Swift 版 Express.js 风格应用服务器。开发者:[Crossroad Labs](crossroadlabs/Express) +* [necolt/Swifton](https://github.com/necolt/Swifton):Ruby on Rails 风格 Web 服务器框架也有了。开发者:[NECOLT](https://github.com/necolt) +* [lorentey/BTree](https://github.com/lorentey/BTree):相对于标准集合类型具有更优执行性能的基于 B-Tree 的优化集合类型实现类库。开发者:[Károly Lőrentey](https://github.com/lorentey/) +* [thoughtbot/Markoff](https://github.com/thoughtbot/Markoff):一款运行于 OS X 轻量级 Markdown(CommonMark)快速预览应用。由于采用了 C 语言基础的 cmark 库,因此,它相较于 Ruby/Javascript 版 Markdown 预览工具更快。开发者:[thoughtbot](https://github.com/thoughtbot) +* [goktugyil/EZText.Space](https://github.com/goktugyil/EZText.Space):图文气泡式语音助理或操作指引类及示例。开发者:[Goktug Yilmaz](https://github.com/goktugyil) +* [henrinormak/Heimdall](https://github.com/henrinormak/Heimdall):简单易用的加、解密安全框架(AES/RSA)库及示例。[Henri Normak](https://github.com/henrinormak) +* [wangjwchn/JWAnimatedImage](https://github.com/wangjwchn/JWAnimatedImage):“集中了目前主流的 GIF 显示库(如 FLAnimatedImage,Gifu 等)的优点,进行重构,代码短小精悍。而且使用了新的 frame 提取算法” P.S. 作者针对 Flipboard/FLAnimatedImage 做了性能比较(详见README)。开发者:[王佳玮](http://weibo.com/u/5228362742) +* [SvenTiigi/STLocationRequest](https://github.com/SvenTiigi/STLocationRequest):提供 13 套著名城市地标的 360 度 3D 俯瞰图,以更优雅地方式请求用户位置(类库调用很方便)。开发者:[SvenTiigi](https://github.com/SvenTiigi) +* [Panl/Gank.lu](https://github.com/Panl/Gank.lu):“gank.io的iOS版客户端来啦,swift编写,项目地址Gank.lu”。开发者:[@SmartTalker](http://weibo.com/smartalker) +* [wx0165927473/WXNearbyRadar](https://github.com/wx0165927473/WXNearbyRadar):雷达动画搜索附近的人的演示程序。P.S. 值得称赞的是开发同学 [@不不不_你听我说](http://weibo.com/u/1068202327) 将调用到的 Objective-C 版基于 CALayer 角度渐变库 [AngleGradientLayer](https://github.com/paiv/AngleGradientLayer) 改写为 Swift 版,值得参考。 +* [AfryMask/AFBrushBoard](https://github.com/AfryMask/AFBrushBoard):基于swift的毛笔画板Demo。包含多阶贝塞尔曲线的抽取、模拟画笔速度等算法。开发者:[@AfryMask](http://weibo.com/u/2233947233) +* [shift-js/shift-js](https://github.com/shift-js/shift-js):Javascript 写的早期阶段 Swift 转 Javascript 工具。目前实现了最基本的语法转换,目标是让 Swift 程序员在写 iOS 和 Web 应用时无需语言切换。开发者:[ShiftJS](https://github.com/shift-js) + +## 文档 +> [Swift 文章精选](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md):最近新收录 [Swift 协议及应许之地](https://realm.io/cn/news/michele-titolo-swift-protocols-promised-land/),[基于DLNA实现iOS,Android投屏](https://eliyar.biz/code/iOS/DLNA_with_iOS_Android/),[ReactiveCocoa 4 官方文档翻译](http://www.jianshu.com/p/fccba7be1ca1),[如何使用 iOS9 中的 Core Spotlight 框架](https://segmentfault.com/a/1190000004502546),[一步步创建自己的 iOS 框架](http://gold.xitu.io/entry/56a5727d128fe10051612147),[给 iOS 开发者的 Sketch 入门教程](http://ios.jobbole.com/83865/),[在 Linux 中使用 Swift 进行 TCP Sockets 编程](http://swift.gg/2016/03/01/tcp-sockets-with-swift-on-linux/),[iOS 下如何自动化打包 App](http://reviewcode.cn/article.html?reviewId=11), [Perfect 让 Swift 在服务器端跑起来](http://blog.csdn.net/u014388424/article/category/6092861),[Swift 性能探索和优化分析](https://onevcat.com/2016/02/swift-performance/),[中国首届 Swift 开发者大会现场视频](http://www.imooc.com/learn/600),[Swift 3.0 介绍](http://swift.gg/2016/02/25/introducing-swift-3-0/),[iOS9-by-Tutorials-学习笔记九:3D Touch 入门教程](http://mengxiangyue.com/2016/02/23/iOS9-by-Tutorials-学习笔记九:3D-Touch/),[iOS开发里的线程安全机制](http://geek.csdn.net/news/detail/56726),[我的开源之旅](http://swift.gg/2016/02/24/the-opensource-experience/),[在 Cocoa 中实现 ICU 文本变换](http://swift.gg/2016/02/23/cocoa-icu-text-transforms/),[Swift GYB 简易教程](http://swift.gg/2016/03/04/a-short-swift-gyb-tutorial/) 等 17 份,合计已收录 190 份。 + +* [Swift 协议及应许之地](https://realm.io/cn/news/michele-titolo-swift-protocols-promised-land/):“对于诸如泛型以及第一成员协议之类的语言特性来说,Swift 的设计使得它们提升为了在应用开发过程中关键的架构组件。然而Swift 的类型系统将会禁止使用某些简单的模式。本次演讲将会重点讲述这些挑战,讨论其根本原因,并评估解决方法”。来源:[RealmChina](http://weibo.com/realmchina),作者:Michele Titolo +* [Protocol Oriented Programming](https://medium.com/swift-programming/protocol-oriented-programming-a3e192f6e8f2#.espgz0svw):“很有意思的一篇关于POP的文章。By [@DevTalking](http://weibo.com/jacefu)” +* [如何使用 iOS9 中的 Core Spotlight 框架](https://segmentfault.com/a/1190000004502546):“Core Spotlight框架是被称为Search APIs这个大集合API中的的一部分。该框架为程序员提供了一个机会来增加他们应用程序可发现性、可见性以及访问的便捷性,并且作为新特性该框架无法在之前版本的iOS中使用的。..”。译者:[BigNerdCoding](http://weibo.com/1314ddml),原文:[How To Use Core Spotlight Framework in iOS 9](http://www.appcoda.com/core-spotlight-framework/) +* [一步步创建自己的 iOS 框架](http://gold.xitu.io/entry/56a5727d128fe10051612147):“如果你曾经试图去创建一个自己的iOS框架的话,你应该知道这件事并不是那些畏惧困难的人能够成功完成的,这篇文章将从开始到最终完成一步步的进行讲解,以便你掌握后可以更好的创建自己的框架”。建议交叉阅读 [@onevcat](http://weibo.com/onevcat) 的《[如何打造一个让人愉快的框架](https://github.com/atConf/atswift-2016-resources)》。原文:[Creating your first iOS Framework](https://robots.thoughtbot.com/creating-your-first-ios-framework) +* [给 iOS 开发者的 Sketch 入门教程](http://ios.jobbole.com/83865/):“作为一名iOS开发者,我经历过几个没有设计师的项目,结果就是,痛苦的一逼。做这种类型的项目,设计是非常重要的,特别是迭代设计。但是怎样才能在没有设计师的前提下设计原型,那就必须用到Sketch这货”。译者:[@Andy矢倉](http://weibo.com/ganmaojijie),来源:[Ray Wenderlich](https://www.raywenderlich.com/117609/sketch-indie-developers) +* [用Swift搭建数据驱动型 iOS 架构](http://mrpeak.cn/blog/swift-dda/):“写了一篇用Swift搭建数据驱动型iOS App架构的文章,有完整的Demo代码,欢迎同行朋友们一起指正交流”。作者:[@愚公编程MrPea](http://weibo.com/u/1993445913) +* [Swift编程的15个技巧](http://geek.csdn.net/news/detail/58593):“本文作者列出了在实践中所获取的一些Swift使用技巧。这些技巧有助于让开发者编写出更纯净的代码,并帮助更熟悉OC的程序员适应Swift编程。By [@CSDN移动](http://weibo.com/csdnmobile)”。译者:孙薇,原文:[15 Tips to Become a Better Swift Developer ](http://savvyapps.com/blog/swift-tips-for-developers) +* [ReactiveCocoa 4 官方文档翻译](http://www.jianshu.com/p/fccba7be1ca1):“因为决定不再支持iOS7,全面使用Swift,RAC也要升级,就把RAC4的文档都读了一遍,翻译出来,希望能给后面要学习的人一些帮助。翻译的不是很好请见谅”。译者:[@没故事的卓同学](http://weibo.com/u/1926303682) +* [基于DLNA实现iOS,Android投屏](https://eliyar.biz/code/iOS/DLNA_with_iOS_Android/):专业、系统化的 DLNA 介绍及实现技术分享。作者:[@艾力亚尔](http://weibo.com/536445669) +* [在 Linux 中使用 Swift 进行 TCP Sockets 编程](http://swift.gg/2016/03/01/tcp-sockets-with-swift-on-linux/):“在 Linux 中使用 Swift 进行 TCP Sockets 编程 看名字就知道了,Socket 编程。C 语言的 Socket 编程应该是不少人的噩梦吧?现在你可以用现代化的 Swift 来编写了,借这个机会认真学一次 Socket”。 译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[shanks](http://codebuild.me) +* [也谈 Swift 日志](http://swift.gg/2016/02/29/another-look-at-swift-logging/):“作者为 Linux 上的 Swift 开发了一个日志记录程序,支持 Swift 包管理程序,支持彩色输出,支持写入文件。如果你准备开发全平台的 Swift 库,来看看这个吧~”。译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@靛青K](http://weibo.com/DianQK) +* [Swift 3.0 介绍](http://swift.gg/2016/02/25/introducing-swift-3-0/):“来自 iAchieved.it 的最新文章,介绍如何在 Linux 系统中安装 Swift 3。没错,你已经可以写 Swift 3 了”。译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@毫无存在感的Cee](http://weibo.com/acgcee) +* [我的开源之旅](http://swift.gg/2016/02/24/the-opensource-experience/):“CocoaPods 的核心开发者 Olivier 讲述他的开源之旅。为什么大家喜欢开源?如何参与开源?参与开源有什么收获?来看看他的故事”。译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@请叫我_小锅_](http://weibo.com/swiftyper) +* [在 Cocoa 中实现 ICU 文本变换](http://swift.gg/2016/02/23/cocoa-icu-text-transforms/):“ICU 全称 International Components for Unicode(Unicode 国际化组件,不是重症监护病房),它能干嘛?举个例子,你可以在 Swift 中用一行代码把“上海”转换成“shàng hǎi”。到底怎么做呢,来看看今天的文章吧!”。译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[aaaron7](http://www.jianshu.com/users/9efd08855d3a/latest_articles) +* [Swift GYB 简易教程](http://swift.gg/2016/03/04/a-short-swift-gyb-tutorial/):“GYB 是 Swift 内部使用的一个工具,可以通过模板来生成类似的代码。如果你的项目中有大量结构相似的代码,可以提取成模板,用 GYB 来统一维护。GYB 的用法非常简单,看完本文就可以去露一手了~”。译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:ahfepj +* [Swift 性能探索和优化分析](https://onevcat.com/2016/02/swift-performance/):“本文将分析一些使用 Swift 进行 iOS/OS X 开发时性能上的考量和做法,同时,笔者结合自己这一年多来使用 Swift 进行开发的经验,也给出了一些对应办法。”。作者:[@onevcat](http://weibo.com/onevcat) +* [Perfect 让 Swift 在服务器端跑起来](http://blog.csdn.net/u014388424/article/category/6092861):“你认识Swift或者是在客户端,因为它是苹果用来开发客户端的新一代语言。在Swift开源后苹果让它不仅在MacOS/iOS上跑,也运行到了Linux ...”。作者:[@kinfey](http://weibo.com/kinfey) +* [iOS开发里的线程安全机制](http://geek.csdn.net/news/detail/56726):“本文为再读苹果《Threading Programming Guide》笔记第四篇,主要分享了包括原子操作、锁机制、Conditions等的线程安全机制,以及设计时所需要注意的事项,比如避免滥用、防止死锁和活锁的发生、正确使用volatile关键字等。”。作者:[@DevTalking](http://weibo.com/jacefu) +* [iOS9-by-Tutorials-学习笔记九:3D Touch 入门教程](http://mengxiangyue.com/2016/02/23/iOS9-by-Tutorials-学习笔记九:3D-Touch/) By [@孟祥月_iOS](http://weibo.com/u/1750643861) +* [开发一款截图类库的各种坑](http://blog.startry.com/2016/02/23/Screenshots-With-SwViewCapture/):“将书写SwViewCapture这个截图小功能库的过程整理成了一篇博文哈, 大家有兴趣的可以看看, 只是截个图, 其实也还是有蛮多坑的~ 有些坑我也还没有找到解决方法哇~ ”。作者:[陈兴Startry](http://weibo.com/chenxingstartry) +* [iOS 下如何自动化打包 App](http://reviewcode.cn/article.html?reviewId=11):“这个话题之前已经在斗鱼直播上讲了一下。直播视频也在 CodeReview 的网站上,[链接](http://reviewcode.cn/video.html?videoId=2)。 Keynote 在 [GitHub](https://github.com/lzwjava/DouyuKeynote) 上。...”。来源:reviewcode.cn,作者:[@lzwjava](http://weibo.com/zhiweilee)。P.S. 另一个简单版本:《[iOS项目自动打包脚本](https://github.com/hades0918/ipapy)》 +* [Ubuntu系统下Swift环境搭建](http://www.bilibili.com/video/av3964608/) By [Guibs82](http://weibo.com/u/2514548137) \ No newline at end of file diff --git a/weekly/Issue-48.md b/weekly/Issue-48.md new file mode 100644 index 00000000..d0ea2081 --- /dev/null +++ b/weekly/Issue-48.md @@ -0,0 +1,40 @@ +**[<= 往期回顾](https://github.com/ipader/SwiftGuide/blob/master/weekly/README.md)** +[Swift 语言指南](https://github.com/ipader/SwiftGuide)-Issue 48 +=== +**本期特别推荐** 1. 项目:[injectionforxcode](https://github.com/johnno1962/injectionforxcode)(修改一个类的代码实现而不用重启整个应用 Xcode 插件),[navigation-stack](https://github.com/Ramotion/navigation-stack)(导航控制器的 Stack 视图模型最佳实践)以及 [WaveLoadingView](https://github.com/liuzhiyi1992/WaveLoadingView)(可配置圆形波浪进度指示器类及演示);2. 文档:[Swift 入门指引](http://dev.swiftguide.cn/archive/getting-started-in-swift_v1.0.html) 和 [iOS 9 人机界面指南](https://isux.tencent.com/?s=iOS+9+人机界面指南)。 + +**大声一**:Apple TV Tech Talks 和 WWDC 2015 的视频 已添加简体中文的字幕,现在开始您可以观看[翻译版的研讨会视频](https://developer.apple.com/videos/)了。 + +**大声二**:终于决定建一个公众服务号了,用途除了方便移动端获取 Swift 优质资源外,同时考虑为不同层级用户提供些个性化定制服务。欢迎关注(公众号:swiftguide)。 + +![](../archive/weixin-swiftlanguage.jpg) + + +## 项目 +> [Swift 项目精选](https://github.com/ipader/SwiftGuide/blob/master/Featured.md):最近新收录 [Log](https://github.com/delba/Log), [navigation-stack](https://github.com/Ramotion/navigation-stack), [SubtleVolume](https://github.com/andreamazz/SubtleVolume), [then](https://github.com/s4cha/then), [SoundCloudSwift](https://github.com/pepibumur/SoundCloudSwift), [WaveLoadingView](https://github.com/liuzhiyi1992/WaveLoadingView), [Nebula](https://github.com/FlexMonkey/Nebula), [turbolinks-ios](https://github.com/turbolinks/turbolinks-ios), [injectionforxcode](https://github.com/johnno1962/injectionforxcode) 等 9 个,合计已收录 350 个。 + +* [delba/Log](https://github.com/delba/Log):灵活、易用,可定制输出格式、主题风格,使用又等同于 print 的日志类。这也许是目前最好用的日志类了。开发者:[Damien](https://github.com/delba) +* [s4cha/then](https://github.com/s4cha/then):相对于 PromiseKit,功能极为简洁单一的 Promise 轻量实现。开发者:[S4cha](https://github.com/s4cha) +* [Ramotion/navigation-stack](https://github.com/Ramotion/navigation-stack):用于导航控制器的 Stack 视图模型最佳实践类库及演示。重磅来袭。开发者:[Ramotion](https://github.com/Ramotion) +* [andreamazz/SubtleVolume](https://github.com/andreamazz/SubtleVolume):更隐蔽的系统音量替代指示器(配合特定应用交互需要)类及演示。开发者:[Andrea Mazzini](https://github.com/andreamazz) +* [pepibumur/SoundCloudSwift](https://github.com/pepibumur/SoundCloudSwift):SoundCloud 苹果全平台客户端,功能完整、易于集成。P.S. soundcloud.com 号称音频分享界 Youtube,可惜也样被咔嚓了。开发者:[Pedro Piñera Buendía](https://github.com/pepibumur) +* [liuzhiyi1992/WaveLoadingView](https://github.com/liuzhiyi1992/WaveLoadingView):圆形波浪进度指示器类及演示(可配置参数丰富)。开发者:[@潜艇_刘智艺Zzz](http://weibo.com/525567789) +* [ronghaopger/EasyPull](https://github.com/ronghaopger/EasyPull):灵活、易用,支持自定义效果的上下拉加载工具库。开发者:[@做梦家荣浩](http://weibo.com/u/1922154151) +* [FengDeng/SwiftNet](https://github.com/FengDeng/SwiftNet):基于 RxSwift 和 Alamofire 的网络请求简易封装库。开发者:[@FengDeng_iOS](http://weibo.com/FengDeng1219) +* [FlexMonkey/Nebula](https://github.com/FlexMonkey/Nebula):调用 GLSL(OpenGL Shading Language)在 iOS 中渲染星云变化图(iPad Pro 中达 30fps)演示。着色器代码来自[glslsandbox](http://glslsandbox.com/e#31308.0)。开发者:[simon gladman](https://github.com/FlexMonkey) +* [turbolinks/turbolinks-ios](https://github.com/turbolinks/turbolinks-ios):Turbolinks 5 为 iOS 提供了本地适配。不仅提供编写多页面导航效率更高的 hybrid 应用方案,同时提供有效地交叉管理本地视图与 WKWebView 解决方案。开发者:[Turbolinks](https://github.com/turbolinks) +* [johnno1962/injectionforxcode](https://github.com/johnno1962/injectionforxcode):“Injection 是一个 Xcode 的扩展插件,可以让你修改一个类的代码实现而不用重启整个应用...”。[中文介绍](http://www.jianshu.com/p/27be46d5e5d4) By [@没故事的卓同学](http://weibo.com/u/1926303682) +[dealforest/Cichlid](https://github.com/dealforest/Cichlid):Xcode 插件用于自动删除当前项目 DerivedData 目录。开发者:[Toshihiro Morimoto](https://github.com/dealforest) + +## 文档 +> [Swift 文章精选](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md):最近新收录 [Swift 入门指引](http://dev.swiftguide.cn/archive/getting-started-in-swift_v1.0.html),[iOS 9 人机界面指南](https://isux.tencent.com/?s=iOS+9+人机界面指南),[iOS 开发中设计并发任务技术与注意事项](http://geek.csdn.net/news/detail/60236),[发现循环引用的方法](http://swift.gg/2016/03/09/a-trick-to-discover-retain-cycles/),[初探 Swift Sequences 和 Generators](http://swift.gg/2016/03/10/experimenting-with-swift-2-sequencetype-generatortype/),[使用 Swift 的面向协议编程定义 Segue 标识](http://swift.gg/2016/02/01/protocol-oriented-segue-identifiers-swift/),[别让双手闲下来,来做一些练手项目吧](http://swift.gg/2016/03/08/how-to-start-an-ios-app-portfolio/),[在iOS开发中如何优雅地进行图片缩放?](http://www.jianshu.com/p/af2d471f7b9c) 等 8 份,合计已收录 198 份。 + +* [Swift 入门指引](http://dev.swiftguide.cn/archive/getting-started-in-swift_v1.0.html):以官方文档为基础结合已有中译版,整了一份简版 Swift 入门指引。作者:[@SwiftLanugage](http://weibo.com/swiftlanguage) +* [Swift 开源项目精选-v1.0](http://dev.swiftguide.cn/archive/featured-open-source-projects-in-swift_v1.0.html):341 个 Swift 开源项目,相比 2015 初收录的 43 个,增加了近 300 个。作者:[@SwiftLanugage](http://weibo.com/swiftlanguage) +* [iOS 9 人机界面指南](https://isux.tencent.com/?s=iOS+9+人机界面指南)([PDF 版](http://ixdc.org/2016/files/ISUX[译]iOS9%20human%20Interface%20Guideline.pdf))By [@腾讯ISUX](http://weibo.com/txisux) +* [iOS 开发中设计并发任务技术与注意事项](http://geek.csdn.net/news/detail/60236):“本文为读《Concurrency Programming Guide》笔记第一篇,并发执行任务的解决方案从最初的在程序中创建多个线程来实现,却极大地降低了应用程序的性能...”。作者:[@DevTalking](http://weibo.com/jacefu) +* [发现循环引用的方法](http://swift.gg/2016/03/09/a-trick-to-discover-retain-cycles/):“本文讲了一种简单有效的检测方法,目前的第三方检测工具也大多采用这种方法,强烈推荐”。译者:[@靛青K](http://weibo.com/DianQK) +* [初探 Swift Sequences 和 Generators](http://swift.gg/2016/03/10/experimenting-with-swift-2-sequencetype-generatortype/):“如果你还不了解序列和生成器,那一定要看下这篇文章...”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[CoderAFI](http://coderafi.github.io) +* [使用 Swift 的面向协议编程定义 Segue 标识](http://swift.gg/2016/02/01/protocol-oriented-segue-identifiers-swift/):“这次,我准备写的是:处理多个 segue 标识的优雅解决方案。你猜对了!就是使用协议...”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@请叫我_小锅_](http://weibo.com/swiftyper) +* [别让双手闲下来,来做一些练手项目吧](http://swift.gg/2016/03/08/how-to-start-an-ios-app-portfolio/):很接地气的初级学习实践。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@saitjr](http://weibo.com/u/1918545437) +* [在iOS开发中如何优雅地进行图片缩放?](http://www.jianshu.com/p/af2d471f7b9c):图片缩放开发技巧及经验分享。作者:[@Martin_wjl](http://weibo.com/u/5419850564) \ No newline at end of file diff --git a/weekly/Issue-49.md b/weekly/Issue-49.md new file mode 100644 index 00000000..50ce3ec0 --- /dev/null +++ b/weekly/Issue-49.md @@ -0,0 +1,40 @@ +![](http://dulema.sinaapp.com/logo/sl-banner.png) + +**[<= 往期回顾](https://github.com/ipader/SwiftGuide/blob/master/weekly/README.md)** +[Swift 语言指南](https://github.com/ipader/SwiftGuide)-Issue 49 +=== +**本期特别推荐** 1. 项目:[ReplaceAnimation](https://github.com/fruitcoder/ReplaceAnimation)(创意下拉刷新动画实现)、[Bolts-Swift](https://github.com/BoltsFramework/Bolts-Swift)(任务管理 futures/promises 异步实现)及 [PeekPop](https://github.com/marmelroy/PeekPop)(新特性 Peek/Pop 图片预览);2. 文档:[Swift 通知推送新手指南](http://swift.gg/2016/03/15/push-notification-ios/) 和 [ENJOY 的 Apple Pay 应用内支付接入实践](http://geek.csdn.net/news/detail/60849)。 + +**大声一**:[Swift 现在可用于所有的 ARMv6 树莓派 (1,Zero)](http://swift.gg/2016/03/18/swift-available-on-armv6-raspberry-1-zero/) + +**大声二**:为了便于新手有效获取 Swift 学习资源,新建小站 [Swift 学习指引](http://swiftguide.cn)。 + +**大声三**:[本指南](https://github.com/ipader/SwiftGuide) Google 中文搜索关键字([swift](https://www.google.com.hk/search?q=swift))排名第一(首次超过 Apple 官网) + + +## 项目 +> [Swift 项目精选](https://github.com/ipader/SwiftGuide/blob/master/Featured.md):最近新收录 [Duration](https://github.com/SwiftStudies/Duration), [Bolts-Swift](https://github.com/BoltsFramework/Bolts-Swift), [Fusuma](https://github.com/ytakzk/Fusuma), [sweetcorn](https://github.com/FlexMonkey/sweetcorn), [Kingsroad](https://github.com/ricebook/Kingsroad), [react-native-ios-charts](https://github.com/Jpadilla1/react-native-ios-charts), [PeekPop](https://github.com/marmelroy/PeekPop), [ReplaceAnimation](https://github.com/fruitcoder/ReplaceAnimation), [boilerplate](https://github.com/tailec/boilerplate) 等 9 个,合计已收录 359 个。 + +* [SwiftStudies/Duration](https://github.com/SwiftStudies/Duration):多种方法测量代码片段执行时间工具类库。为了测量准确性,还提供多计次重复执行求平均方案。开发者:[Swift Studies](https://github.com/SwiftStudies) +* [BoltsFramework/Bolts-Swift](https://github.com/BoltsFramework/Bolts-Swift):全平台(所有支持 Swift 的设备)任务管理 futures/promises 异步实现类库。开发者:[BoltsFramework](https://github.com/BoltsFramework) +* [ytakzk/Fusuma](https://github.com/ytakzk/Fusuma):类似 Instagram 风格图片浏览及相机拍照功能(使用时,很少的代码就完整功能整合)。唯一欠缺特性可能是 3D Touch 的配合使用。开发者:[Yuta Akizuki](https://github.com/ytakzk) +* [marmelroy/PeekPop](https://github.com/marmelroy/PeekPop):基于 3D Touch 且向后兼容的苹果新特性 Peek/Pop 图片预览功能。这应该是预览功能的一揽子解决方案了。开发者:[Roy Marmelstein](https://github.com/marmelroy) +* [fruitcoder/ReplaceAnimation](https://github.com/fruitcoder/ReplaceAnimation):基于 [@ZeeYoung欧阳哲](http://weibo.com/zeeya) 同学的创意下拉刷新动画实现。值得称赞还有额外增加了“取消及滚动”效果支持。开发者:[Alex](https://github.com/fruitcoder) +* [FlexMonkey/sweetcorn](https://github.com/FlexMonkey/sweetcorn):一款 UI 配置生成图像滤镜代码的 OS X 应用。特点是节点式配置生成 CIKernel 基础的高性能图像滤镜代码。目前支持 CIColorKernel 基础的滤镜库,后续会支持 CIWarpKernel 。开发者:[simon gladman](https://github.com/FlexMonkey) +* [ricebook/Kingsroad](https://github.com/ricebook/Kingsroad):“hybrid 框架,特点是使用 WKWebView,兼容 Cordova 的 JS 接口”。开发者:[ENJOY](https://github.com/ricebook) +* [Jpadilla1/react-native-ios-charts](https://github.com/Jpadilla1/react-native-ios-charts):将 [ios-charts](https://github.com/danielgindi/ios-charts) 引入 React Native 的图表组件库。RN 在可复用组件上又下一城,貌似已经没有什么跨平台框架可以阻止 RN 的前进步伐了。开发者:[Jose Padilla](https://github.com/Jpadilla1) +* [tailec/boilerplate](https://github.com/tailec/boilerplate):通过亲历开发典型应用案例,探索如何选用合适的架构及主流框架。涉及框架包括 MVVM, RxSwift, ReactiveCocoa, SwiftBond, VIPER 及 ReSwift。开发者:[Pawel Krawiec](https://github.com/tailec) + +## 文档 +> [Swift 文章精选](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md):最近新收录 [Swift 通知推送新手指南](http://swift.gg/2016/03/15/push-notification-ios/),[ENJOY 的 Apple Pay 应用内支付接入实践](http://geek.csdn.net/news/detail/60849),[一步步教你实现类似于格瓦拉启动页中的放大转场动画](http://www.jianshu.com/p/8c29fce5a994),[Hirundo:在 OS X 上轻松获取 Swift 邮件列表](http://swift.gg/2016/03/14/hirundo-mac-app-swift-mailing-lists/) 等 4 份,合计已收录 202 份。 + +* [ENJOY 的 Apple Pay 应用内支付接入实践](http://geek.csdn.net/news/detail/60849):Apple Pay 集成解决方案及开发最佳实践。作者:[webfrogs](http://weibo.com/u/1713195262) +* [一步步教你实现类似于格瓦拉启动页中的放大转场动画](http://www.jianshu.com/p/8c29fce5a994):“用过格瓦拉电影,或者其他app可能都知道,一种点击按钮用放大效果实现转场的动画现在很流行,效果大致如下...”。作者:[@HenryCheng](http://weibo.com/L0veway) +* [Swift 现在可用于所有的 ARMv6 树莓派 (1,Zero)](http://swift.gg/2016/03/18/swift-available-on-armv6-raspberry-1-zero/):Swift 在开源硬件上又下一城,不断拉低其使用门槛。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@zltunes](http://weibo.com/u/5019335381) +* [Hirundo:在 OS X 上轻松获取 Swift 邮件列表](http://swift.gg/2016/03/14/hirundo-mac-app-swift-mailing-lists/):“Swift 邮件列表由 Apple 官方维护,包括 Chris Lattner 在内的各位大牛都在这里和开发者交流讨论。本文作者开发了一个 Mac 客户端,如果你想了解最新进展并且不喜欢查看邮箱的话,这是个不错的选择。”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[CoderAFI](http://coderafi.github.io) +* [Swift 通知推送新手指南](http://swift.gg/2016/03/15/push-notification-ios/):“推送通知已经成为绝大多数应用的标配功能,技术上并不复杂,实现起来却有不少坑。今天这篇长文手把手教你实现通知推送,AppCoda 出品,强烈推荐”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide),译者:[@bestswifter](http://weibo.com/bestswifter) +* [Fuse 与 React Native 或者 NativeScript 比有什么区别?](https://segmentfault.com/a/1190000004591845):“你可以说 RN & NS 是自顶向下的:它们先用 JavaScript 完成需求,然后把其他东西填充进去。而 Fuse 是自底向上的,我们先从跨平台的原生代码和 UI 开始,然后再加入 JavaScript 代码,来轻松地完成一个应用。”。来源:[Medium](https://medium.com/@fusetools/how-fuse-differs-from-react-native-and-nativescript-525344f02aaf),译者:[leozdgao](https://segmentfault.com/u/leozdgao) +* [优化一个 Swift 语言 Github API 第三方 SDK ](http://reviewcode.cn/article.html?reviewId=18):“这是一个 Github API 的 Swift 版,可以视作一个 ‘Github API 第三方 SDK’”。作者:[@吕文翰_JohnLui](http://weibo.com/balishengmuyuan) +* [如何正确理解 Bitcode](http://mp.weixin.qq.com/s?__biz=MzIwMTYzMzcwOQ==&mid=403331342&idx=1&sn=c0e2b6d127060a802a6f6668e60cabb7#rd):“我发现绝大多数 iOS 开发者都理解错了 bitcode 的真正意思..”。作者:[@糖炒小虾_txx](http://weibo.com/rpplusplus) +* [UX设计新晋工具 Experience Design 抢先学!](http://meia.me/course/168452):“因为扁平化在设计圈成为主宰,Adobe已经被Affinity Designer、sketch这些交互与视觉兼具的后起之秀压的喘不过气,现在他们终于反击了,发布首个将UI和UX合二为一的软件Adobe Experience Design CC,快来先睹为快吧”。来源:[@IXDC](http://weibo.com/ixdc) +* [故事:Injection Plugin for Xcode](http://geek.csdn.net/news/detail/61133):“CocoaPods 主要贡献者且拥有约 10年编程经验的 Orta Therox 总是会花费很长时间来坐等程序编译,而在将项目向 Swift 迁移的过程中愈发严重,由此撰文并录制视频分享了自己是如何使用 Injection Plugin for Xcode 来解决这一问题的”。来源:[@CSDN移动](http://weibo.com/csdnmobile) \ No newline at end of file diff --git a/weekly/Issue-50.md b/weekly/Issue-50.md new file mode 100644 index 00000000..b99a3fd3 --- /dev/null +++ b/weekly/Issue-50.md @@ -0,0 +1,49 @@ +![](http://dulema.sinaapp.com/logo/sl-banner.png) + +**[<= 往期回顾](https://github.com/ipader/SwiftGuide/blob/master/weekly/README.md)** +[Swift 语言指南](https://github.com/ipader/SwiftGuide)-Issue 50 +=== +**本期特别推荐** 1. 项目:[Permission](https://github.com/delba/Permission)(统一的 API 请求 iOS 本地设备及资源权限类库),[SwipeViewController](https://github.com/fortmarek/SwipeViewController)(页面滑动和标签选项卡);2. 文档:[我的 iOS 开发入门自学路径](http://www.jianshu.com/p/4be17ec40cfc),[iOS Core Animation: Advanced Techniques 中文译本](https://zsisme.gitbooks.io/ios-/content/),[Medium - Swift Programming](https://medium.com/swift-programming)。 + +**大声一**: “[IBAnimatable 2.0 发布了!](https://github.com/JakeLin/IBAnimatable/releases)” By [@林永坚Jake](http://weibo.com/yongjianlin) + +**大声二**: [Free iOS 9.3 iPhone UI Kit for Illustrator and Sketch](http://mercury.io/blog/free-ios-9-3-iphone-ui-kit-for-illustrator-and-sketch) + +## 项目 +> [Swift 项目精选](https://github.com/ipader/SwiftGuide/blob/master/Featured.md):最近新收录 [RxGesture](https://github.com/icanzilb/RxGesture), [SwiftyStoreKit](https://github.com/bizz84/SwiftyStoreKit), [SwipeViewController](https://github.com/fortmarek/SwipeViewController), [XLPagerTabStrip](https://github.com/xmartlabs/XLPagerTabStrip), [Permission](https://github.com/delba/Permission), [Appz](https://github.com/SwiftKitz/Appz), [Countdown](https://github.com/soffes/Countdown), [TextKitAndAnimationEffect](https://github.com/morpheus1984/TextKitAndAnimationEffect) 等 8 个,合计已收录 367 个。 + + +* [icanzilb/RxGesture](https://github.com/icanzilb/RxGesture):基于响应式编程的手势视图类库,又一款基于 RxSwift 编程利器。开发者:[Marin Todorov](https://github.com/icanzilb) +* [delba/Permission](https://github.com/delba/Permission):统一的 API 请求 iOS 本地设备及资源权限类库。这款实在太好用了。开发者 Damien 总能发布短小精悍的工具库,值得关注。开发者:[Damien](https://github.com/delba) +* [bizz84/SwiftyStoreKit](https://github.com/bizz84/SwiftyStoreKit):轻量、易用的极简购买框架库。开发者:[Andrea Bizzotto](https://github.com/bizz84) +* [fortmarek/SwipeViewController](https://github.com/fortmarek/SwipeViewController):又一款好用的页面滑动和标签选项卡类库及示例。功能相当于 Objective-C 版 RKSwipeBetweenViewControllers。开发者:[Marek Fořt](https://github.com/fortmarek) +* [xmartlabs/XLPagerTabStrip](https://github.com/xmartlabs/XLPagerTabStrip):Android 上最常用、好用的 PagerTabStrip(页面滑动和标签选项卡) 在 iOS 中的实现类库及丰富示例。开发者:[xmartlabs](https://github.com/xmartlabs) +* [maxkonovalov/MKRingProgressView](https://github.com/maxkonovalov/MKRingProgressView):类似 Apple Watch 活动圆环可定制进程条。开发者:[Max Konovalov](https://github.com/maxkonovalov)。P.S. iOS 9.3 后有原版 HKActivityRingView。 +* [wenghengcong/Coderpursue](https://github.com/wenghengcong/Coderpursue):“Github 第三方客户端,使用最新的 Swift 语言编写,目前已开源。”。开发者:[@翁恒丛](http://weibo.com/735929774) +* [SwiftKitz/Appz](https://github.com/SwiftKitz/Appz):深入参数级别的外部应用启动器。支持主流应用,或自定义应用。可以运行于 Playground。开发者:[Kitz](https://github.com/SwiftKitz) +* [soffes/Countdown](https://github.com/soffes/Countdown):设置任意日期的倒计时 OS X 屏保。同一开发者另一款“兄弟”屏保还有动态年龄增长 [Motivation](https://github.com/soffes/Motivation)。开发者:[Sam Soffes](https://github.com/soffes) +* [morpheus1984/TextKitAndAnimationEffect](https://github.com/morpheus1984/TextKitAndAnimationEffect):文字下坠动画变化效果实现及示例([开发过程详解](http://www.ismash.cn/post/ru-he-shi-xian-zi-ji-mei-shi-xian-guo-de-xu-qiu-zhi-wen-ben-dong-hua-pian))。开发者:[@我在罪恶坑的日子](http://weibo.com/u/1660258615) +* [muukii/NextGrowingTextView](https://github.com/muukii/NextGrowingTextView):自适应高度的多行文本输入框扩展组件和使用演示。开发者:[Hiroshi Kimura](muukii/NextGrowingTextView)。P.S. “不建议用任何第三方库,AutoLayout+TextView就能实现的东西,代码不超过10行 By [@王小贤放弃治疗](http://weibo.com/weetom)” + + +## 文档 +> [Swift 文章精选](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md):最近新收录 [Swift 2.2 的新特性](http://swift.gg/2016/03/23/swift-22-new-features/),[Medium - Swift Programming](https://medium.com/swift-programming),[使用 SwiftyDB 来管理 SQLite 数据库](https://segmentfault.com/a/1190000004670954),[iOS并发编程中Operation与Dispatch Queues实践](http://geek.csdn.net/news/detail/63001), [iOS-Note: CoreData, Photos, View Controller Transition](https://github.com/seedante/iOS-Note),[我的iOS开发入门自学路径](http://www.jianshu.com/p/4be17ec40cfc),[国外iOS大牛的分享经验和对Swift的看法](http://mp.weixin.qq.com/s?__biz=MzA3ODg4MDk0Ng==&mid=402947148&idx=1&sn=cd80fce3738d9d4b0037f38070b89c0f#rd),[iOS 架构模式 - 简述 MVC, MVP, MVVM 和 VIPER](https://blog.coding.net/blog/ios-architecture-patterns), [构建 Swift 框架所面临的挑战](https://realm.io/cn/news/marius-rackwitz-challenges-building-swift-framework/),[Swift 编程思想系列文章](http://swift.gg/tags/Crunchy-Development/),[iOS Core Animation: Advanced Techniques 中文译本](https://zsisme.gitbooks.io/ios-/content/),[Free iOS 9.3 iPhone UI Kit for Illustrator and Sketch](http://mercury.io/blog/free-ios-9-3-iphone-ui-kit-for-illustrator-and-sketch) 等 11 份,合计已收录 213 份。 + +* [Swift 2.2 的新特性](http://swift.gg/2016/03/23/swift-22-new-features/):优化的不少细节提升了友好性。译者:[@walkingway](http://weibo.com/walkingway) +* [Swift 3.0:你的代码即将崩坏](http://swift.gg/2016/03/22/getting-ready-for-swift-to-stop-breaking-code/):“Swift 3.0 已经确定了大量破坏性的改动,官方开发团队计划将所有破坏性改动都集中到版本 3,从而减少之后版本的破坏性。这篇文章是一个预警,请各位开发者做好加班准备。”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide)。P.S. Swift 发展速度有极客精神(推动力来源于社区),是过去任何一门编程语言没有过的。 +* [Swift 编程思想,第一部分(补遗):牺牲小马](http://swift.gg/2016/03/21/thinking-in-swift-1-addendum/):“[Swift 编程思想系列文章](http://swift.gg/tags/Crunchy-Development/) 是 SwiftGG 最受欢迎的系列文章之一。作者写完整个系列之后又补充了一些内容,深入讨论强制解析(!)的正确用法。”。来源:[@SwiftGG翻译组](http://weibo.com/swiftguide)。P.S. 有人认为细节决定成败,也有人认为不要过分细节。无论哪一种,都不能丢失全局观(与文章无关)。 +* [Medium - Swift Programming](https://medium.com/swift-programming):好多编程技巧和文章,更新及时效性还不错,值得常关注。来源:Medium +* [iOS并发编程中Operation与Dispatch Queues实践](http://geek.csdn.net/news/detail/63001):“本文为读《Concurrency Programming Guide》笔记第二篇,在分享了OS X和iOS应用开发中实现任务异步执行的技术以及应注意的事项之后,作者[@DevTalking](http://weibo.com/jacefu) 对 Operation 对象的设置执行,以及 Dispatch Queues 的创建管理进行了实践总结。”。来源:[@CSDN移动](http://weibo.com/csdnmobile) +* [使用 react-hot-loader](https://segmentfault.com/a/1190000004660311):短又精炼的 react-hot-loader 应用技巧。来源:[@SegmentFault](http://weibo.com/segmentfault),作者:[@孙恒哲](http://weibo.com/u/3025220401) +* [iOS-Note](https://github.com/seedante/iOS-Note):这里有 CoreData, Photos, 转场动画等实用、详细的笔记。作者:[@seedante](http://weibo.com/u/1815689155) +* [使用 SwiftyDB 来管理 SQLite 数据库](https://segmentfault.com/a/1190000004670954):“从开发者的角度来说,对一个SQLite中的数据进行插入、更新、检索本身就是一件容易的事...”。原文来源:[App Coda](http://www.appcoda.com/swiftydb/),译者:[@BigNerdCoding](http://weibo.com/1314ddml) +* [Hacking With Swift](https://www.hackingwithswift.com):“一个完整的 Swift 培训课程,36个动手项目免费教你应用程序开发。并且所有项目也都对 Swift 2 写了。学习Swift的童鞋,开启学习之旅吧!By [@慕课网](http://weibo.com/mukewang)”。P.S. hackingwithswift.com 是一个优秀、自成一体的 Swift 学习教程网站,非常适合初学者(即便你是零基础学习者)。 +* [AutoLayout:constraint priority 约束优先级(九宫格续,一个更优方案)](https://segmentfault.com/a/1190000004650551):拟定开发案例方向后,在排错中积累经验、完善方案。顺附连载上一篇《[AutoLayout:UITableViewCell 自适应高度的一个例子](http://cheng-kang.github.io/2016/03/19/AutoLayout:UITableViewCell%20自适应高度的一个例子/)》。作者:[@雷森图喵喜客](http://weibo.com/progrant) +* [国外iOS大牛的分享经验和对Swift的看法](http://mp.weixin.qq.com/s?__biz=MzA3ODg4MDk0Ng==&mid=402947148&idx=1&sn=cd80fce3738d9d4b0037f38070b89c0f#rd):“今年1月,我参加了由梁杰组织的Swift大会,这是国内首次由社区组织的移动技术大会,来自国内外的iOS开发大牛为大家奉献了精彩演讲。大会期间我采访了国外讲师Chris和Greg,他们分享了平时是如何工作,如何做分享,以及对Swift的看法。”。来源:[@移动开发前线](http://weibo.com/bornmobile) +* [我的 iOS 开发入门自学路径](http://www.jianshu.com/p/4be17ec40cfc):如此清晰、有效的学习路径,非常值得新手看齐、学习。By [@游薪渝](http://weibo.com/u/5639257977) +* [iOS 架构模式 - 简述 MVC, MVP, MVVM 和 VIPER](https://blog.coding.net/blog/ios-architecture-patterns):归纳简洁、清晰又完整,集图文和 Swift 示例代码结合的框架介绍。非常值得阅读的好译文。译文来源:[@Coding](http://weibo.com/clouddevelopment),译者:王哼哼 +* [构建 Swift 框架所面临的挑战](https://realm.io/cn/news/marius-rackwitz-challenges-building-swift-framework/):“在 Realm 在构建 Swift 动态框架的过程中,仍然存在着不少的挑战。在这个 MBLTDev 2015 的演讲中,Marius 总结了团队的相关经验,指出需要避免的陷阱,并且给予相应的提示,以便帮助您找到在快速发展的 Swift 生态系统中进行开发的舒适点。”。来源:Realm +* [Swift 开源周刊#14](http://www.jianshu.com/p/f31ec42120db) By [@PPPPPPMST](http://weibo.com/u/2085734687) +* [typealias理解小误区](http://shellhue.github.io/2016/03/26/typealias/) By [@黄泽宇ShellHue](http://weibo.com/u/5707174464) +* [iOS Core Animation: Advanced Techniques 中文译本](https://zsisme.gitbooks.io/ios-/content/) By [钟声](https://github.com/ZsIsMe)。原文:[Core Animation Advanced Techniques](http://www.amazon.com/iOS-Core-Animation-Advanced-Techniques-ebook/dp/B00EHJCORC/ref=sr_1_1?ie=UTF8&qid=1423192842&sr=8-1&keywords=Core+Animation+Advanced+Techniques),译者:[FeiXu](https://github.com/AttackOnDobby), [even](https://github.com/evenluo/) +* [Free iOS 9.3 iPhone UI Kit for Illustrator and Sketch](http://mercury.io/blog/free-ios-9-3-iphone-ui-kit-for-illustrator-and-sketch):“来自Mercury.io的iOS 9 UIKit,提供Sketch与Ai两种格式。官网有言:“你已经在用Facebook和MengTo大人出品的UI模板套装了?为什么还要再下载一套?答案很简单:我们的更好。” 亲测,市面上最全最细的UIKit,确实蛮霸道的,拿去做交互稿也不坏。By [@C7210](http://weibo.com/c7210)” \ No newline at end of file diff --git a/weekly/Issue-51.md b/weekly/Issue-51.md new file mode 100644 index 00000000..fbfa4319 --- /dev/null +++ b/weekly/Issue-51.md @@ -0,0 +1,69 @@ +![](http://dulema.sinaapp.com/logo/sl-banner.png) + +**[<= 往期回顾](https://github.com/ipader/SwiftGuide/blob/master/weekly/README.md)** +[Swift 语言指南](https://github.com/ipader/SwiftGuide)-Issue 51 +=== +**本期特别推荐** 1. 项目:[SkyFloatingLabelTextField](https://github.com/Skyscanner/SkyFloatingLabelTextField)(带图标显示浮动标签组件库)、[NumberMorphView](https://github.com/me-abhinav/NumberMorphView)(可爱的数字补间(变身)动画类库)、[SwiftSVG](https://github.com/mchoe/SwiftSVG)(支持多种接口绘制 SVG);2. 文档:[拥抱未来:更优雅的 Swift 写法](https://realm.io/cn/news/doios-daniel-steinberg-ready-for-the-future/),[iOS主流动画开源库深入分析(一):IBAnimatable](http://www.jianshu.com/p/5faf36e1f700),[面向协议的 MVVM 架构介绍](https://realm.io/cn/news/doios-natasha-murashev-protocol-oriented-mvvm/)。 + +**大声一**: [IBM 为可穿戴设备提供开源框架(SDK)及示例](https://github.com/ibm-wearables-sdk-for-mobile/ibm-wearables-swift-sdk) + +**大声二**: [拥抱未来:更优雅的 Swift 写法](https://realm.io/cn/news/doios-daniel-steinberg-ready-for-the-future/) By realm.io + + +## 项目 +> [Swift 项目精选](https://github.com/ipader/SwiftGuide/blob/master/Featured.md):最近新收录 [Cache](https://github.com/hyperoslo/Cache), [SwiftSVG](https://github.com/mchoe/SwiftSVG), [BCColor](https://github.com/boycechang/BCColor), [Sensitive](https://github.com/igormatyushkin014/Sensitive), [NiceGesture](https://github.com/lacklock/NiceGesture), [MetalAcc](https://github.com/wangjwchn/MetalAcc), [WKZombie](https://github.com/mkoehnke/WKZombie), [ibm-wearables-swift-sdk](https://github.com/ibm-wearables-sdk-for-mobile/ibm-wearables-swift-sdk), [SwiftyMarkdown](https://github.com/SimonFairbairn/SwiftyMarkdown), [cleartext-mac](https://github.com/mortenjust/cleartext-mac), [BetterSegmentedControl](https://github.com/gmarm/BetterSegmentedControl), [JDAnimationKit](https://github.com/JellyDevelopment/JDAnimationKit), [SkyFloatingLabelTextField](https://github.com/Skyscanner/SkyFloatingLabelTextField), [NumberMorphView](https://github.com/me-abhinav/NumberMorphView), [DisplaySwitcher](https://github.com/Yalantis/DisplaySwitcher), [DynamicButton](https://github.com/yannickl/DynamicButton), [SwiftyGPIO](https://github.com/uraimo/SwiftyGPIO) 等 17 个,合计已收录 384 个。 + + +* [cleartext-mac](https://github.com/mortenjust/cleartext-mac):提供一千个常用单词的编辑器。应用灵感来源于 Randall Munroe 新书《Thing Explainer:Complicated Stuff in Simple Words》。作者避免复杂、晦涩语言、尽可能使用通俗(1000 单词)术语、词句、插图来诠释我们的世界。开发者:[Morten Just](https://github.com/mortenjust) +* [Sensitive](https://github.com/igormatyushkin014/Sensitive):一套使用更简单、直观的手势识别库。开发者:[Igor Matyushkin](https://github.com/igormatyushkin014) +* [ZYThumbnailTableView](https://github.com/liuzhiyi1992/ZYThumbnailTableView):可展开型预览TableView,开放接口,完全自由定制。开发者:[liuzhiyi1992](https://github.com/liuzhiyi1992) +* [NearBT](https://github.com/guoc/nearbt):通过蓝牙由 iOS 设备免密码解锁 OS X 屏幕。开发者:[Chen Guo](https://github.com/guoc) +* [iOS 9 GUI](https://designcode.io/ios9),[iOS 9 GUI for iPad](https://designcode.io/ios9-ipad),[Apple Watch GUI](https://designcode.io/watch):之前推介 Mercury 的 iOS 9.3 Sketch UIKit 时提到 Mengto 出品的经典资源。开发者:Meng To +* [URLEmbeddedView](https://github.com/szk-atmosphere/URLEmbeddedView):基于 URL 的数据和图像装载、缓存及视图工具库。开发者:[Taiki Suzuki](https://github.com/szk-atmosphere) +* [IBAnimatable](https://github.com/JakeLin/IBAnimatable):IBAnimatable 2.1又 release 了,加了一些转场动画,支持 Swift 2.2,修正一些 bugs。开发者:[Jake Lin](https://github.com/JakeLin) +* [MetalAcc](https://github.com/wangjwchn/MetalAcc):基于 GPU 的多媒体处理库,使用了 Apple 最新的图像处理接口"Metal",Swift 编写。API 仿照 GPUImage。开发者:[王佳玮](http://weibo.com/u/5228362742) +* [SwiftyGPIO](https://github.com/uraimo/SwiftyGPIO):通过 Swift 语言去控制基于 Linux 主板(比如:C.H.I.P. 和 树莓派) 的 GPIO(General Purpose Input Output ),去完成简单的工控功能(比如 LED 灯的显示)。开发者:[Umberto Raimondi](https://github.com/uraimo) +* [WKZombie](https://github.com/mkoehnke/WKZombie):不需要通过界面和 API 在浏览器内快速、直接导航或切换到指定数据页面(类设计采用了直观、易用的链式调用)。开发者主要应用于网页功能的自动测试。很有新意的实验性项目。开发者:[Mathias Köhnke](https://github.com/mkoehnke) +* [Cache](https://github.com/hyperoslo/Cache):可以为多类型(或定制类型)数据提供缓存功能的混合缓存库。开发者:[Hyper](https://github.com/hyperoslo) +* [KSHObjcUML](https://github.com/kimsungwhee/KSHObjcUML):Xcode 插件 KSHObjcUML 2.0。开发者:[Sungwhee Kim](https://github.com/kimsungwhee) +* [BetterSegmentedControl](https://github.com/gmarm/BetterSegmentedControl):易用、可定制的替换 UISegmentedControl & UISwitch 组件。开发者:[George Marmaridis](https://github.com/gmarm) +* [SwiftyMarkdown](https://github.com/SimonFairbairn/SwiftyMarkdown):Swift 版 Markdown 解析器(解析到 NSAttributedString )。开发者:[Simon Fairbairn](https://github.com/SimonFairbairn) +* [JDAnimationKit](https://github.com/JellyDevelopment/JDAnimationKit):一套简单、易用的动画库。开发者:[Jelly Development](https://github.com/JellyDevelopment) +* [NiceGesture](https://github.com/lacklock/NiceGesture):一个愉快使用UIGesture的库。开发者:[@没故事的卓同学](http://weibo.com/u/1926303682) +* [timer-app](https://github.com/michaelvillar/timer-app):一款简单、漂亮的 Mac定时器应用。开发者:[Michael Villar](https://github.com/michaelvillar) +* [SkyFloatingLabelTextField](https://github.com/Skyscanner/SkyFloatingLabelTextField):功能及使用介绍均完整带图标显示浮动标签组件库。这或许是 Floating Label Patten首选库了。开发者:[Skyscanner](https://github.com/Skyscanner) +* [YPDropMenuViewDemo](https://github.com/MakeBetterMe/YPDropMenuViewDemo):swift实现的一款DropMenu,menuView,类似之前美团的下拉菜单。开发者:[Pony](https://github.com/MakeBetterMe) +* [NumberMorphView](https://github.com/me-abhinav/NumberMorphView):可爱的数字补间(变身)动画类库。开发者:[Abhinav Chauhan](https://github.com/me-abhinav) +* [TKDotSegment](https://github.com/TBXark/TKDotSegment):封装圆点动画 Segment。开发者:[TBXark](https://github.com/TBXark) +* [SwiftSVG](https://github.com/mchoe/SwiftSVG):支持多种接口(String, NS/UIBezierPath, CAShapeLayer, and NS/UIView)绘制 SVG 类库。开发者:[Michael Choe](https://github.com/mchoe) +* [DisplaySwitcher](https://github.com/Yalantis/DisplaySwitcher):两个集合视图在不同布局(平铺和列表)间平滑切换。Yalantis 出品。开发者:[Yalantis](https://github.com/Yalantis) +* [BCColor](https://github.com/boycechang/BCColor):开源的轻量而强大的颜色处理库,纯 Swift 版。 支持从图片拾取一套主题色,类似AppleMusic;支持图片黑白化、对颜色的加深和变浅、生成渐变颜色等。开发者:[@Boyce_Chang](http://weibo.com/u/1897577113) +* [ibm-wearables-swift-sdk](https://github.com/ibm-wearables-sdk-for-mobile/ibm-wearables-swift-sdk):IBM 为 Gemsense、MicrosoftBand 等可穿戴设备提供了一个 Swift 编写的框架以让 iOS 开发者更容易上手,而且目前手势识别部分的代码开源。开发者:[IBM Wearables SDK for Mobile](https://github.com/ibm-wearables-sdk-for-mobile) +* [EasyPeasy](https://github.com/nakiostudio/EasyPeasy):编程方式自动布局框架库。开发者:[Carlos Vidal](https://github.com/nakiostudio) +* [InkKit](https://github.com/shaps80/InkKit):该类库帮助开发者绘制简单图形更容易。开发者:[Shaps M](https://github.com/shaps80) +* [DynamicButton](https://github.com/yannickl/DynamicButton):完整、且带动画过渡的图标按钮库。开发者:[Yannick Loriot](https://github.com/yannickl) +* [TextAttributes](https://github.com/delba/TextAttributes):设置 UILabel 显示格式更容易。开发者:[Damien](https://github.com/delba) + + +## 文档 +> [Swift 文章精选](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md):最近新收录 [面向协议的 MVVM 架构介绍](https://realm.io/cn/news/doios-natasha-murashev-protocol-oriented-mvvm/),[Swift 2 throws 全解析](https://onevcat.com/2016/03/swift-throws/),[Swift Runtime分析:还像OC Runtime一样吗?](http://mp.weixin.qq.com/s?__biz=MzA3ODg4MDk0Ng==&mid=403153173&idx=1&sn=c631f95b28a0eb4b842a9494e43a30e5#rd),[如何使用Instruments诊断App(Swift版):起步](http://www.cocoachina.com/ios/20150623/12237.html), [React-Native痛点解析之开发环境搭建及扩展](http://mp.weixin.qq.com/s?__biz=MzA3ODg4MDk0Ng==&mid=403225766&idx=1&sn=acd8e3ab7f234b97827c3e210c2d8673#rd),[iOS主流动画开源库深入分析(一):IBAnimatable](http://www.jianshu.com/p/5faf36e1f700),[拥抱未来:更优雅的 Swift 写法](https://realm.io/cn/news/doios-daniel-steinberg-ready-for-the-future/),[使用React Native开发F8 App实战教程(一)](http://mp.weixin.qq.com/s?__biz=MzA3ODg4MDk0Ng==&mid=403628431&idx=1&sn=8384dc0956e12dbbbce3982bb2a85cee#rd), [iOS并发(concurrency)概念浅析](http://shellhue.github.io/2016/03/29/concurrency/) 等 9 份,合计已收录 222 份。 + +* [面向协议的 MVVM 架构介绍](https://realm.io/cn/news/doios-natasha-murashev-protocol-oriented-mvvm/):在 Swift 中用值类型来代替引用类型,比以前在 Obj-C 中要容易许多,这可以让您的代码更简洁。然而当需要在多个类型当中共享代码时,许多人往往会回避使用值类型而转为使用继承实现。通过 Natasha 的介绍,您可以学习到如何使用协议来实现这个功能。作者:Natasha,来源:[@RealmChina](http://weibo.com/realmchina?refer_flag=1005055013_&is_hot=1) +* [用 Swift 来写命令行程序](http://swift.gg/2016/03/28/command-line-utilities-in-swift/):一篇轻松有趣的入门级文章,用 Swift 写一个小程序吧!作者:Joe,译者:[aaaron7](http://www.jianshu.com/users/9efd08855d3a/latest_articles),来源:[SwiftGG](http://swift.gg/) +* [翻转二叉树之 Swift 实践](http://shellhue.github.io/2016/03/27/reverseBinaryTree/):用 Swift 翻转了二叉树。By [@黄泽宇ShellHue](http://weibo.com/u/5707174464?refer_flag=1005055013_&is_hot=1) +* [Swift Runtime分析:还像OC Runtime一样吗?](http://mp.weixin.qq.com/s?__biz=MzA3ODg4MDk0Ng==&mid=403153173&idx=1&sn=c631f95b28a0eb4b842a9494e43a30e5#rd):Swift已经开源,目前最新版本为2.2。我们知道 Objective-C 是具有动态性的,能够通过 runtime API 调用和替换任意方法,那Swift也具有这些动态性吗?作者:[@尹峥伟](http://weibo.com/yzwaizxh?refer_flag=1001030102_&is_all=1) +* [Swift 2 throws 全解析](https://onevcat.com/2016/03/swift-throws/):Swift 2 throws 全解析 - 从原理到实践。By [onecat](https://onevcat.com/#blog) +* [排序算法之Swift实践](http://shellhue.github.io/2016/03/29/sortAlgorithm/):每一种算法都代表着一种不同的思路,甚至是一种思想,如归并排序代表着分治的思想,堆排序代表着堆的思想。思想的变化,看待问题角度的转换,总是给人无数的乐趣。By [@黄泽宇ShellHue](http://weibo.com/u/5707174464?refer_flag=1005055013_&is_hot=1) +* [Swift 中的位操作](http://swift.gg/2016/03/30/Dealing-With-Bit-Sets-In-Swift/):大部分情况下我们不需要自己做位操作,不过多掌握一些知识总是有好处。作者:uraimo,译者:[@Lanford3_3](http://weibo.com/accoropitor?from=feed&loc=at&nick=Lanford3_3),来源:[SwiftGG](http://swift.gg/) +* [如何使用Instruments诊断App(Swift版):起步](http://www.cocoachina.com/ios/20150623/12237.html):这篇文章不错《Instruments Tutorial with Swift: Getting Started》作者很有心地给出了一个卡顿(主线程阻塞)的 Demo,还教了下如何用 Instruments 检测并修复,业界良心!作者:[James Frost](https://www.raywenderlich.com/u/frosty),译者:[Mr_cyz](http://blog.csdn.net/u013604612) +* [iOS 单例 ViewController 与 UIImage 对象内存优化](http://toutiao.io/posts/wjhu0g):本文由 Swift 语言做示例,由于 Objective-C 和 Swift 均使用 ARC 方式管理内存,所以优化思路和方式完全相同,只是相关方法的使用稍有不同。作者:[@Swain](http://weibo.com/u/5852333225?from=feed&loc=at&nick=Swain&is_all=1) +* [RxSwift 学习指导索引](http://t.swift.gg/d/2-rxswift):想学习 RxSwift 的同学看这里。作者:[@靛青K](http://weibo.com/DianQK?from=feed&loc=at&nick=%E9%9D%9B%E9%9D%92K&is_all=1) +* [React-Native痛点解析之开发环境搭建及扩展](http://mp.weixin.qq.com/s?__biz=MzA3ODg4MDk0Ng==&mid=403225766&idx=1&sn=acd8e3ab7f234b97827c3e210c2d8673#rd):解析 RN 开发中的痛点。本文分享的是在环境搭建和扩展中会遇到的问题与解决方案。作者:携程高级研发经理魏晓军 +* [树莓派2 GPIO 和 SwiftyGPIO](http://swift.gg/2016/04/01/raspberry-pi-2-gpio-with-swiftygpio/):通过 Swift 语言去控制基于 Linux 主板(比如:C.H.I.P. 和 树莓派) 的 GPIO(General Purpose Input Output ),去完成简单的工控功能(比如 LED 灯的显示)。作者:Joe,译者:[Crystal Sun](http://www.jianshu.com/users/7a2d2cc38444/latest_articles),来源:[SwiftGG](http://swift.gg/) +* [iOS主流动画开源库深入分析(一):IBAnimatable](http://www.jianshu.com/p/5faf36e1f700):分三篇深入介绍三个流行的 swift 开源动画库。作者:[没故事的卓同学](http://www.jianshu.com/users/88a056103c02/latest_articles) +* [Swift中被忽略的@noescape](http://www.jianshu.com/p/26877bca5319):介绍 escape 的概念,noescape 闭包后进行一些内存的优化。作者:[没故事的卓同学](http://www.jianshu.com/users/88a056103c02/latest_articles) +* [iOS9 UIStackView 简介](https://segmentfault.com/a/1190000004828070):iOS9 新加入了一个非常易用的布局控件 UIStackView,它可以将一组 UIView 视图进行垂直或水平方向的排列,用来替换手工使用 Auto Layout 对视图进行布局。作者:Umberto Raimondi,译者:[CoderAFI](http://coderafi.github.io/),来源:[SwiftGG](http://swift.gg/) +* [两周 React Native 开发小结](https://lex.sh/2weeks-react-native/):两周 React Native 开发小结。作者:[@汤圣罡](http://weibo.com/lexrus?refer_flag=1005055013_&is_hot=1) +* [拥抱未来:更优雅的 Swift 写法](https://realm.io/cn/news/doios-daniel-steinberg-ready-for-the-future/):在这个 Daniel Steinberg 的演讲中,我们在 Obj-C 以及其他之前出现的语言的基础之上,学习如何才能够写出让别人乐意去阅读的代码。作者:Daniel Steinberg,来源:[@RealmChina](http://weibo.com/realmchina?refer_flag=1005055013_&is_hot=1) +* [使用React Native开发F8 App实战教程(一)](http://mp.weixin.qq.com/s?__biz=MzA3ODg4MDk0Ng==&mid=403628431&idx=1&sn=8384dc0956e12dbbbce3982bb2a85cee#rd):F8 开发者大会上,Facebook 宣布与微软和三星合作,为 React Native 在 Windows UWP 平台和 Tizen 系统提供支持,并且还放出了RN的新的系列教程,这是第一篇。作者:Facebook,译者:[@移动开发前线](http://weibo.com/bornmobile?refer_flag=1005055013_&is_all=1) +* [iOS并发(concurrency)概念浅析](http://shellhue.github.io/2016/03/29/concurrency/):解析并发涉及串行、并发、并行、同步、异步、多线程、GCD、NSOperation 和 NSOperationQueue 等诸多容易混淆的概念。By [@黄泽宇ShellHue](http://weibo.com/u/5707174464?refer_flag=1005055013_&is_hot=1) \ No newline at end of file diff --git a/weekly/Issue-52.md b/weekly/Issue-52.md new file mode 100644 index 00000000..07500f3e --- /dev/null +++ b/weekly/Issue-52.md @@ -0,0 +1,74 @@ +![](http://dulema.sinaapp.com/logo/sl-banner.png) + +**[<= 往期回顾](https://github.com/ipader/SwiftGuide/blob/master/weekly/README.md)** +[Swift 语言指南](https://github.com/ipader/SwiftGuide)-Issue 52 +=== +**本期特别推荐** 1. 项目:[GPUImage2](https://github.com/BradLarson/GPUImage2)(基于 GPU 图像和视频处理框架库),[Peek](https://github.com/shaps80/Peek)(更友好、手势方式检查界面内组件布局信息),[SwiftyGif](https://github.com/kirualex/SwiftyGif)(高性能 Gif 播放引擎),[JASON](https://github.com/delba/JASON)(高速 JSON 解析类库);2. 文档:[Swift Strings](http://andybargh.com/swift-strings/),[Stanford 公开课中文字幕翻译](https://github.com/X140Yu/Developing-iOS-9-Apps-with-Swift),[React Native 的官方最佳实践翻译](http://f8-app.liaohuqiu.net/),[浅谈 iOS 中的视图优化](http://www.jianshu.com/p/5c968a240e27?utm_campaign=hugo&utm_medium=reader_share&utm_content=note&utm_source=weibo)。 + +**大声一**:[SwiftCon 2016 参会感想](http://blog.devtang.com/2016/04/25/swiftcon-2016-notes/) By [@唐巧](http://weibo.com/tangqiaoboy) + +**大声二**:[MShare 第一期(iOS 专场相关 Keynote、代码和视频的 Github 仓库)](https://github.com/mengxiangyue/MShare_Salon) By [@孟祥月](http://weibo.com/u/1750643861) + + +## 项目 +> [Swift 项目精选](https://github.com/ipader/SwiftGuide/blob/master/Featured.md):最近新收录 [Peek](https://github.com/shaps80/Peek), [CocoaMQTT](https://github.com/emqtt/CocoaMQTT), [AIToolbox](https://github.com/KevinCoble/AIToolbox), [SwiftyGif](https://github.com/kirualex/SwiftyGif), [FlowingMenu](https://github.com/yannickl/FlowingMenu), [swift-summary](https://github.com/jakarmy/swift-summary), [iconMaker](https://github.com/kaphacius/IconMaker), [JASON](https://github.com/delba/JASON), [producthunt-osx](https://github.com/producthunt/producthunt-osx), [SwiftyDown](https://github.com/aaaron7/SwiftyDown), [Smile-Lock](https://github.com/liu044100/Smile-Lock), [GlitchLabel](https://github.com/kciter/GlitchLabel), [MessageBalloon](https://github.com/caiobzen/MessageBalloon), [RxBluetoothKit](https://github.com/Polidea/RxBluetoothKit), [xi-editor](https://github.com/google/xi-editor), [jchat-swift](https://github.com/jpush/jchat-swift), [Caishen](https://github.com/prolificinteractive/Caishen), [ConsistencyManager-iOS](https://github.com/linkedin/ConsistencyManager-iOS), [Reductio](https://github.com/fdzsergio/Reductio), [TabDrawer](https://github.com/winslowdibona/TabDrawer), [StateView](https://github.com/sahandnayebaziz/StateView), [StackViewController](https://github.com/seedco/StackViewController), [LeeGo](https://github.com/wangshengjia/LeeGo), [OnOffButton](https://github.com/rakaramos/OnOffButton), [Reddit-MVVM-Benchmark](https://github.com/ivanbruel/Reddit-MVVM-Benchmark), [SwiftOCR](https://github.com/garnele007/SwiftOCR) 等 26 个,合计已收录 412 个。 + +* [GPUImage2](https://github.com/BradLarson/GPUImage2):Swift 版基于 GPU 图像和视频处理框架库。P.S. 上一代是 Objective-C 版 [GPUImage](https://github.com/BradLarson/GPUImage)。开发者:[Brad Larson](https://github.com/BradLarson) +* [Peek](https://github.com/shaps80/Peek):更友好、手势方式检查界面内组件布局信息(相当于浏览器元素检查功能),界面调试利器。开发者:[Shaps M](https://github.com/shaps80) +* [CocoaMQTT](https://github.com/emqtt/CocoaMQTT):Swift 2 版 MQTT v3.1.1 客户端库。P.S. MQTT是专门针对物联网开发的轻量级传输协议(发布和订阅式消息)。开发者:[emqtt](https://github.com/emqtt) +* [AIToolbox](https://github.com/KevinCoble/AIToolbox):AI 主流模块集工具箱库。其中涉及 AI 知识实在广阔又高端。当然,作者应该是业内人士。正式发布要 Swift 3.0 后,先膜拜。开发者:[Kevin Coble](https://github.com/KevinCoble) +* [SwiftyGif](https://github.com/kirualex/SwiftyGif):高性能 Gif 播放引擎。开发者:[Alexis Creuzot](https://github.com/kirualex) +* [FlowingMenu](https://github.com/yannickl/FlowingMenu):菜单如此出场方式(皮筋弹跳式动画)好玩又有趣。开发者:[Yannick Loriot](https://github.com/yannickl) +* [swift-summary](https://github.com/jakarmy/swift-summary):用 Playground 来概述 Swift 语言特性。相比官方文档,更直观、有效。开发者:[Juan Antonio Karmy](https://github.com/jakarmy/) +* [iconMaker](https://github.com/kaphacius/IconMaker):Xcode插件,只需要一步,自动生成不同尺寸的应用图标。超级方便。开发者:[Yurii](https://github.com/kaphacius/) +* [JASON](https://github.com/delba/JASON):高速 JSON 解析类库。有用户 Swapcard 评价其为最快、最好的 JSON 框架。开发者:[Damien](https://github.com/delba/) +* [producthunt-osx](https://github.com/producthunt/producthunt-osx):硅谷最受产品人欢迎、关注的产品分享及发布平台 Product Hunt 开源 Mac 客户端。作者:[Product Hunt](https://github.com/producthunt/) +* [SwiftyDown](https://github.com/aaaron7/SwiftyDown):Markdown 解析更强库。相较于 [SwiftyMarkdown](https://github.com/SimonFairbairn/SwiftyMarkdown) ,优势有 1. 支持嵌套标签(比如:**[bold links]()**);2. 支持更完整的语法(比如:删除线,引用块,代码块)。开发者:[@aaaron7](http://weibo.com/roseofsharon) +* [NavTopImage](https://github.com/itjhDev/NavTopImage):Swift实现的动态缩放titleView。作者:[itjhDev](https://github.com/itjhDev/) +* [Smile-Lock](https://github.com/liu044100/Smile-Lock):一款高仿、可定制密码锁组件(暂不支持 TouchID)。开发者:[Rain](https://github.com/liu044100) +* [GlitchLabel](https://github.com/kciter/GlitchLabel):可定制“黑(故障)文字标签”类库,俗称晃瞎你的眼文字标签。友情提示:小心看瞎。G..lit...c...hing UILa..bel fo..r iO...S。开发者:[Lee Sun-Hyoup](https://github.com/kciter) +* [MessageBalloon](https://github.com/caiobzen/MessageBalloon):清新、直接,适用于消息类应用的信息加载动画类(支持 storyboard)。开发者:[Carlos Corrêa da Silva](https://github.com/caiobzen) +* [RxBluetoothKit](https://github.com/Polidea/RxBluetoothKit):基于 RxSwift 的蓝牙通讯库。P.S. 另一款 CoreBluetooth API 基础的蓝牙通讯库是 BluetoothKit。开发者:[Polidea](https://github.com/Polidea/) +* [xi-editor](https://github.com/google/xi-editor):Google 某员工开源了一个编辑器:前端用基于 Swift+Cocoa 的原生 UI,后端(处理 buffer 的核心逻辑)基于 Rust。主要诉求是渲染质量和性能。开发者:[Google](https://github.com/google/) +* [jchat-swift](https://github.com/jpush/jchat-swift):这是一个开源项目,简单几步,换一个logo和名字即可拥有自己的IM。开发者:[JPush](https://github.com/jpush/) +* [Caishen](https://github.com/prolificinteractive/Caishen):简易、实用的信用卡号输入及校验 UI 组件。它允许你方便地与 CardIO 集成,使之成为独立完整的付款功能组件。开发者:[Prolific Interactive](https://github.com/prolificinteractive/) +* [ConsistencyManager-iOS](https://github.com/linkedin/ConsistencyManager-iOS):该类库使同一标识 ID 数据在多个模型内保持一致性。比如:两个视图模型中都有 Person 数据,当 Person 信息发布变化时, ConsistencyManager 可以通知两个视图模型更新 Person 数据。作者:[LinkedIn](https://github.com/linkedin/) +* [Reductio](https://github.com/fdzsergio/Reductio):基于 TextRank 算法针对英文文章或段落的关键词和总结提取工具库。实际用处有多少不确定,不过,如此思路的开发一定很有意思。开发者:[Sergio Fernández](https://github.com/fdzsergio) +* [TabDrawer](https://github.com/winslowdibona/TabDrawer):更适合单手操作的可定制 Tab Bar 组件库。P.S. 自动布局选择了 EasyPeasy ,示例中所用图标来自 icons8。开发者:[Winslow DiBona](https://github.com/winslowdibona) +* [StateView](https://github.com/sahandnayebaziz/StateView):当有数据更新时自动更新 UIView。使视图更新更方便、简单。开发者:[Sahand Nayebaziz](https://github.com/sahandnayebaziz) +* [StackViewController](https://github.com/seedco/StackViewController):提供更易用的 UIStackView 组件功能,为 UIStackView 提供 缺失的、而在 UITableView 常见功能或特性,比如滚动支持、单元格分割器以及其它 UITableView 常见友好特性。开发者:[Seed](https://github.com/seedco) +* [LeeGo](https://github.com/wangshengjia/LeeGo):LeeGo 是一个 Swift 框架,旨在带来更声明式的,可配置的和易复用的 UI 开发方式,让 UI 开发变得像玩乐高积木一样简单直观,某种程度上取代 ComponentKit。开发者:[@ShengjiaWANG](http://weibo.com/u/1739447693) +* [OnOffButton](https://github.com/rakaramos/OnOffButton):极简、带动画平滑过渡(单选)按钮组件(支持 IB)。与之类似的 TKAnimatedCheckButton,可以择优选用。开发者:[Rafael Ramos](https://github.com/rakaramos/) +* [Reddit-MVVM-Benchmark](https://github.com/ivanbruel/Reddit-MVVM-Benchmark):通过开发一款简版 Reddit 应用比较 MVVM + FRP 与 MVC 给定指标(附图)优劣。P.S. 值得一提的还有,作者开发文档功底非常扎实。条理清晰,堪称典范。开发者:[Ivan Bruel](https://github.com/ivanbruel/) +* [SwiftOCR](https://github.com/garnele007/SwiftOCR):识别字母和数字相较于 Tesseract 有压倒性优势(附图)的 OCR 类库。P.S. 对于文章或整段文本,建议还是选用 Tesseract。开发者:[Nicolas Camenisch](https://github.com/garnele007/) + + +## 文档 +> [Swift 文章精选](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md):最近新收录 [Swift Strings](http://andybargh.com/swift-strings/),[Stanford 公开课中文字幕翻译](https://github.com/X140Yu/Developing-iOS-9-Apps-with-Swift),[iOS 资源大全中文版](https://github.com/jobbole/awesome-ios-cn),[React Native 的官方最佳实践翻译](http://f8-app.liaohuqiu.net/),[Swift 运算符重载简介](http://swift.gg/2016/04/19/operator-overloading-swift/),[iOS 原生库对 https 的处理](http://swiftcafe.io/2016/04/16/swift-https/?hmsr=toutiao.io&utm_medium=toutiao.io&utm_source=toutiao.io),[浅谈 iOS 中的视图优化](http://www.jianshu.com/p/5c968a240e27?utm_campaign=hugo&utm_medium=reader_share&utm_content=note&utm_source=weibo),[【Swift 脑洞系列】轻松无痛实现异步操作串行](http://www.jianshu.com/p/168f92164f06),[iOS 并发编程指南:Dispatch Queue 任务执行与 Dispatch Source](http://geek.csdn.net/news/detail/69122),[探索 Swift 中的 MVC-N 模式](https://realm.io/cn/news/slug-marcus-zarra-exploring-mvcn-swift/),[使用 Xcode 的 Target 区分开发和生产环境](http://swift.gg/2016/04/22/using-xcode-targets/),[闭包捕捉(closure capture)深入](http://shellhue.github.io/2016/04/22/closureCapture/),[模式匹配第一弹: switch, enums & where 子句](http://swift.gg/2016/04/26/pattern-matching-1/),[模式匹配第二弹:元组,range 和类型](http://swift.gg/2016/04/27/pattern-matching-2/),[模式匹配第三弹: 自定义的模式匹配和语法糖](http://swift.gg/2016/04/28/pattern-matching-3/)、[离屏渲染优化](http://mp.weixin.qq.com/s?__biz=MjM5NTIyNTUyMQ==&mid=2709544818&idx=1&sn=62d0d2e9a363d250beb2d6887dca54b3#rd),[文化碰撞:函数式、面向协议、面向对象编程的最佳实践 ](https://realm.io/cn/news/tryswift-daniel-steinberg-blending-cultures/),[使用 Quick Look 框架对文件进行预览](https://segmentfault.com/a/1190000005010273) 等 16 份,合计已收录 238 份。 + +* [Swift Strings](http://andybargh.com/swift-strings/) 一个真正的百科全书式的全方位解析Swift的String的好文。 +* [Stanford 公开课中文字幕翻译](https://github.com/X140Yu/Developing-iOS-9-Apps-with-Swift):Developing iOS 9 Apps with Swift 字幕翻译。维护者:[X140Yu](https://github.com/X140Yu) +* [awesome-ios-cn](https://github.com/jobbole/awesome-ios-cn):内容包括:框架、组件、测试、Apple Store、SDK、XCode、网站、书籍等 +。维护者:[@唐尤华](http://weibo.com/tangyouhua?is_hot=1) +* [React Native 的官方最佳实践翻译](http://f8-app.liaohuqiu.net/):应该是最好的 React Native 学习资料了. Facebook 2016 F8 App 的教程,从服务器端到 App,包括 Redux,Relay,GraphQL。教程涵盖:如何进行 app 技术选型,如何做跨平台设计,如何做 React Native 的测试。译者:[@廖祜秋liaohuqiu_秋百万](http://weibo.com/liaohuqiu?refer_flag=1005055013_&is_hot=1) +* [Swift 运算符重载简介](http://swift.gg/2016/04/19/operator-overloading-swift/):运算符重载是一个非常强力的技能,用好了可以极大优化代码。不过运算符重载使用时也有很多注意事项,用不好会让代码更难维护。到底如何做运算符重载?来看看今天这篇 AppCoda 的教程吧。译者:[@SwiftGG翻译组](http://weibo.com/swiftguide?refer_flag=1005055013_&is_all=1) +* [iOS 原生库对 https 的处理](http://swiftcafe.io/2016/04/16/swift-https/?hmsr=toutiao.io&utm_medium=toutiao.io&utm_source=toutiao.io):https 作为一个相对安全的协议,正在被越来越多的站点和 app 所应用,这次咱们就实际的来看一下,如何使用 swift 在 iOS 环境下处理 https 请求。作者:[@SwiftCafe](http://weibo.com/u/5721760998?from=feed&loc=at&nick=SwiftCafe&is_hot=1) +* [浅谈 iOS 中的视图优化](http://www.jianshu.com/p/5c968a240e27?utm_campaign=hugo&utm_medium=reader_share&utm_content=note&utm_source=weibo):让我们来思考几个问题,你开发过的产品,它还有可以优化的地方吗?能增加它的帧率吗?能减少多余的 CPU 计算吗?是不是存在多余的GPU渲染?业务这点工作量对于越来越强大的设备面前显得微不足道,但作为一个细心的开发者,我觉得很有必要来谈谈iOS中的视图优化。作者:[kuailejim](http://www.jianshu.com/users/40e4dced948f/latest_articles) +* [【Swift 脑洞系列】轻松无痛实现异步操作串行](http://www.jianshu.com/p/168f92164f06):主要尝试使用 Swift 本身的函数式特性实现了串行执行多个异步操作,同时也探索了函数作为一等公民 这个 feature 和reduce 组合起来使用可以有多爽 ~~~。作者:[aaaron7](http://www.jianshu.com/users/9efd08855d3a/latest_articles) +* 读《Concurrency Programming Guide》笔记三篇:以各个知识点讲解与具体操作实现的 Swift 代码片段相结合,着重分享了让 Dispatch Queue 执行任务的那些事儿,以及 Dispatch Source 到底该怎么用。[第一篇:iOS开发中设计并发任务技术与注意事项](http://geek.csdn.net/news/detail/60236);[第二篇:iOS 并发编程中 Operation 与 Dispatch Queues 实践](http://geek.csdn.net/news/detail/63001);[第三篇:iOS 并发编程指南:Dispatch Queue 任务执行与 Dispatch Source](http://geek.csdn.net/news/detail/69122)。作者:[@DevTalking +](http://weibo.com/jacefu?from=feed&loc=at&nick=DevTalking) +* [探索 Swift 中的 MVC-N 模式](https://realm.io/cn/news/slug-marcus-zarra-exploring-mvcn-swift/):Marcus 将会为大家介绍一种设计模式,他曾经在那些需要从互联网进行大量频繁数据请求的 iOS 应用当中使用此设计模式。这个设计采用了著名的 MVC 模式,并且在此基础之上对其进行了扩展,从而允许使用异步网络调用并与用户界面控制器相互隔离。。作者:[@mzarra +](https://twitter.com/mzarra) +* [使用 Xcode 的 Target 区分开发和生产环境](http://swift.gg/2016/04/22/using-xcode-targets/):很实用的开发部署最佳实践。P.S. 当项目规模较大时,除了开发和生产环境,中间还要有 SIT(系统集成测试)和 UAT(用户验收测试)环境。译者:[@SwiftGG翻译组](http://weibo.com/swiftguide?refer_flag=1005055013_&is_all=1) +* [闭包捕捉(closure capture)深入](http://shellhue.github.io/2016/04/22/closureCapture/):闭包捕捉不算是 Swift 坑中常客,但如果概念不清晰,使用闭包也难以挥洒自如,该文章详细介绍闭包相关知识。作者:[@黄泽宇ShellHue](http://weibo.com/u/5707174464?refer_flag=1005055013_&is_hot=1) +* 模式匹配系列文章:模式匹配的一个新系列,SwiftGG 会同步更新,这一次彻底掌握模式匹配!第一弹:[模式匹配第一弹: switch, enums & where 子句](http://swift.gg/2016/04/26/pattern-matching-1/);第二弹:[模式匹配第二弹:元组,range 和类型](http://swift.gg/2016/04/27/pattern-matching-2/);[模式匹配第三弹: 自定义的模式匹配和语法糖](http://swift.gg/2016/04/28/pattern-matching-3/)。译者:[@SwiftGG翻译组](http://weibo.com/swiftguide?refer_flag=1005055013_&is_all=1) +* [离屏渲染优化](http://mp.weixin.qq.com/s?__biz=MjM5NTIyNTUyMQ==&mid=2709544818&idx=1&sn=62d0d2e9a363d250beb2d6887dca54b3#rd):本文介绍了关于 iOS 中离屏渲染的相关知识,建议认真阅读以下。作者:[seedante](https://github.com/seedante) +* [文化碰撞:函数式、面向协议、面向对象编程的最佳实践 ](https://realm.io/cn/news/tryswift-daniel-steinberg-blending-cultures/):编写一个 Swift 应用不仅仅是将某个 Objective-C 应用翻译为 Swift,我们还需要采纳 Swift 语言的特点和思想。我们从一个翻译为 Swift 的标准 MVC 表视图应用开始,逐步让这个应用符合 Swift 的语言习惯。作者:[@dimsumthinking](https://twitter.com/dimsumthinking) +* [使用 Quick Look 框架对文件进行预览](https://segmentfault.com/a/1190000005010273):实用的 Quick Look Framework(iOS SDK)使用教程。译者:BigNerdCoding +* [iOS移动端架构的那些事](http://www.jianshu.com/p/15e5b83ab70e) By [@kuailejim](http://weibo.com/huangjim) + + + + + + diff --git a/weekly/Issue-53.md b/weekly/Issue-53.md new file mode 100644 index 00000000..69a72fb0 --- /dev/null +++ b/weekly/Issue-53.md @@ -0,0 +1,119 @@ +![](http://dulema.sinaapp.com/logo/sl-banner.png) + +**[<= 往期回顾](https://github.com/ipader/SwiftGuide/blob/master/weekly/README.md)** +[Swift 语言指南](https://github.com/ipader/SwiftGuide)-Issue 53 +=== +**本期特别推荐** 1. 项目:[SwiftTweaks:不用重新编译即可调整 UI 配置](https://github.com/Khan/SwiftTweaks),[Material:Swift 版 Material Design 动画及图形框架库](https://github.com/CosmicMind/Material),[Networking:使用简单、功能惊喜的网络封装库](https://github.com/3lvis/Networking),[Interpolate:手势驱动交互式转场动画框架库](https://github.com/marmelroy/Interpolate);2. 文章:[Artsy 的测试之旅](https://realm.io/cn/news/tryswift-ash-furrow-artsy-testing-tour/),[分类、整理、归纳非常清晰的开源 iOS 应用集合](https://github.com/dkhamsing/open-source-ios-apps),[用 HealthKit 来开发一个健身 App](http://swift.gg/2016/05/13/healthkit-introduction/)。 + +**大声一:**[Swift 官方文档中文版已经同步到 Swift 2.2](https://github.com/numbbbbb/the-swift-programming-language-in-chinese/releases/tag/v2.2)([@SwiftGG翻译组](http://weibo.com/swiftguide)) + +**大声二:**[Swift 开发者、项目、最佳实践:由 Swift 开发者自己的维护的干货](https://github.com/ipader/SwiftGuide/wiki/%E5%BC%80%E5%8F%91%E8%80%85%E3%80%81%E9%A1%B9%E7%9B%AE%E3%80%81%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5)([@SwiftLanguage](http://weibo.com/swiftlanguage)) + +## 项目 +> [Swift 项目精选](https://github.com/ipader/SwiftGuide/blob/master/Featured.md) 最近新收录 28 个(标注 ⭐️ 表示收录),合计已收录 439 个。 + +* [SwiftTweaks:不用重新编译即可调整 UI 配置](https://github.com/Khan/SwiftTweaks)([Khan Academy](https://github.com/Khan)) ⭐️ + + 不用重新编译即可调整 UI 配置(按钮颜色、背景、动画延迟,简单布局等)的解决方案库。实现了发布生产版本前 UI 的简单配置,省却反复调试代码的麻烦。类似 OC 版 Facebook Tweats。 + +* [PatronKit:应用内购及赞助管理框架库](https://github.com/MosheBerman/PatronKit)([Moshe](https://github.com/MosheBerman)) ⭐️ + + 应用内购及赞助管理框架库。P.S. 这种方式比应用商店购买更人性化,具有更明显的个性化应用价值体现。 +* [Toast-Swift:高可定制、易用的 Toast 通知组件](https://github.com/scalessec/Toast-Swift)([Charles Scalesse](https://github.com/scalessec)) ⭐️ + + 高可定制、轻量、易用的 Toast 弹出信息或通知用户界面组件类。 +* [Material:Swift 版 Material Design 动画及图形框架库](https://github.com/CosmicMind/Material)([CosmicMind](https://github.com/CosmicMind)) ⭐️ + + 不论 Material Design 在 iOS 中是否违合感,也无法掩盖这套 Material Design 动画及图形框架库的优秀。 +* [Render:启发自 React 的函数版 UIKit 封装库](https://github.com/alexdrone/Render)([Alex Usbergo](https://github.com/alexdrone)) ⭐️ + + 启发自 React 的纯 Swift 函数版基于 UIKit 封装类库。这种结构是否似曾相识。 +* [Interpolate:手势驱动交互式转场动画框架库](https://github.com/marmelroy/Interpolate)([Roy Marmelstein](https://github.com/marmelroy)) ⭐️ + + 这个很专业,且非常有意思 +* [Networking:使用简单、功能惊喜的网络封装库](https://github.com/3lvis/Networking)([Elvis Nuñez](https://github.com/3lvis)) ⭐️ + + 使用简单、功能惊喜,基于 NSURLSession 的网络封装库。功能包括带身份验证请求,支持单元测试(mocking/stubbing),异步执行,图片下载及缓存等实用特性。 +* [DynamicMaskSegmentSwitch:一个简单有趣的 SegmentedControl](https://github.com/KittenYang/DynamicMaskSegmentSwitch)([Kitten Yang](https://github.com/KittenYang)) ⭐️ + + 动画效果具有一种简单、直接的美感。P.S. 演示采用中文标签很亲切。 +* [BMPlayer:封装了 AVPlayer,相当于 Swift 版 ZFPlayer](https://github.com/BrikerMan/BMPlayer)([BrikerMan](https://github.com/BrikerMan)) ⭐️ + + 完整的视频播放组件,其特点是更自然的手势操控及交互。有需要的同学可以试用一下。 +* [SMSegmentView:可定制图文 Segment Control 组件](https://github.com/sima-11/SMSegmentView)([Si](https://github.com/sima-11)) ⭐️ + + 高可定制化,既支持横向,也支持纵向布局的图文 Segment Control 组件。 +* [paper-onboarding:漂亮的 Material Design 风格页面滑块](https://github.com/Ramotion/paper-onboarding)([Ramotion](https://github.com/Ramotion)) ⭐️ +* [UIImageView-BetterFace-Swift:预览照片时,让脸部显示在更恰当的预览区域](https://github.com/croath/UIImageView-BetterFace-Swift)([Croath Liu](https://github.com/croath)) ⭐️ +* [YGHorizontalScroller:灵活可定制水平滚动组件库](https://github.com/soapyigu/YGHorizontalScroller)([Yi](https://github.com/soapyigu)) +* [Wizardry:可重用的方法和框架实现向导式用户界面管理](https://github.com/ijoshsmith/Wizardry)([Josh Smith](https://github.com/ijoshsmith)) ⭐️ +* [JKBlurPopup:弹出视图的同时模糊化背景类及演示](https://github.com/Jinkeycode/JKBlurPopup)([Jinkeycode](https://github.com/Jinkeycode)) +* [PHImageKit:带下载及缓存的 GIF 播放组件库](https://github.com/producthunt/PHImageKit)([Product Hunt](https://github.com/producthunt)) ⭐️ + + 出自 Product Hunt 开发小组,使用简单又方便。 +* [15DaysofAnimationsinSwift](https://github.com/larrynatalicio/15DaysofAnimationsinSwift)([Larry Natalicio](https://github.com/larrynatalicio)) ⭐️ + + 从 100 Days of Swift 到 30 Days of Swift,再到 15 Days of Animations in Swift,真是前赴后继啊。 +* [swift-pons:面向协议的不受长度限制数字类型及数学计算扩充类库](https://github.com/dankogai/swift-pons)([Dan Kogai](https://github.com/dankogai)) ⭐️ + + 用它做一款最牛科学计算器妥妥地。 +* [Unbox:极为易用、轻量,更少辅助代码的 JSON 解析类](https://github.com/JohnSundell/Unbox)([John Sundell](https://github.com/JohnSundell)) ⭐️ +* [Lyft:面向 Lyft 开发者的 Swift API](https://github.com/genadyo/Lyft)([Genady Okrain](https://github.com/genadyo)) ⭐️ + + 一套面向 Lyft 开发者的 Swift API 类库。P.S. 滴滴是 Lyft 的战略合作伙伴,也是投资者。 +* [Venice:让 Swift 3 提前支持协程](https://github.com/VeniceX/Venice)([Venice](https://github.com/VeniceX)) ⭐️ + + 让 Swift 3 提前支持协程(Coroutine)。P.S. Chris 曾答疑过,Coroutine 不在 Swift 3 支持范围中,将在更晚时候讨论语言级支持。 +* [SwiftNotificationCenter:面向协议、安全可靠的通知中心实用封装库](https://github.com/100mango/SwiftNotificationCenter)([100mango](https://github.com/100mango)) ⭐️ +* [ClosuresKit:启发自 BlocksKit 的实用工具库](https://github.com/lacklock/ClosuresKit)([Zhuo](https://github.com/lacklock)) ⭐️ +* [TempiBeatDetection:音乐节奏节拍检测库](https://github.com/jscalo/TempiBeatDetection)([John Scalo](https://github.com/jscalo)) ⭐️ +* [SwiftyOAuth:极为小巧、易用的 OAuth 授权类库](https://github.com/delba/SwiftyOAuth)([Damien](https://github.com/delba)) ⭐️ +* [Github.swift:一款功能相对完整的 Github API 客户端](https://github.com/onmyway133/Github.swift)([Khoa Pham](https://github.com/onmyway133)) ⭐️ +* [BuildTimeAnalyzer-for-Xcode:实用的编译时间分析 Xcode 插件](https://github.com/RobertGummesson/BuildTimeAnalyzer-for-Xcode)([Robert Gummesson](https://github.com/RobertGummesson)) ⭐️ +* [QBlocker:不再因为手误意外地退出应用](https://github.com/steve228uk/QBlocker)([Stephen Radford](https://github.com/steve228uk)) ⭐️ + + 这个 OS X 应用服务,让你不再因为手误(当键入 CMD+Tab,手误触到 CMD+Q 时)意外地退出应用。 +* [RealmVideo:同步播放 realm.io 网站上的演讲视频和 slides](https://github.com/BalestraPatrick/RealmVideo)([Patrick Balestra](https://github.com/BalestraPatrick)) ⭐️ + + 自动同步 realm.io 网站上的演讲视频和 slides 并播放的 iOS 应用。P.S. 只看有中译演讲稿的只需要在 RealmParser.swift 内改个 URL 就可以了。 +* [PodcastMenu:便捷地收听广播 Overcast.fm](https://github.com/insidegui/PodcastMenu)([Guilherme Rambo](https://github.com/insidegui)) ⭐️ + + 非常便捷地(OS X 菜单栏)收听广播 Overcast.fm 开源 OS X 应用。 + +## 文章 +> [Swift 文章精选](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md) 最近新收录 9 份(标注 ⭐️ 表示收录),合计已收录 247 份。 + +* [Artsy 的测试之旅](https://realm.io/cn/news/tryswift-ash-furrow-artsy-testing-tour/)(来源:[Realm](https://realm.io/cn/news/)) ⭐️ + + 认识、实践并掌握不同的测试方法,是学好编程的关键步骤,是软件开发成熟度的重要组成。“不同的测试技术在各种的情况下的优劣各有不同。Ash Furrow 讨论了 Artsy iOS 团队做出这种决策背后的动机,谈论了他们所遇见到的问题,以及他们是如何克服这些困难的。” + +* [Swift 的响应式编程革命](http://mp.weixin.qq.com/s?__biz=MzA3ODg4MDk0Ng==&mid=2651112245&idx=1&sn=6536b90c09651380ec2009eb46ed9281#rd)(来源:[@移动开发前线](http://weibo.com/u/5861126740)) ⭐️ + + 本文以 RxSwift 为例介绍响应式编程:“Rx 的面具下没有魔法,RxSwift 所用到的都是一些既有的东西,它只是建立概念,用聪明的方法将这些东西粘在一起,来创建一个强大的异步计算的抽象概念。” + +* [GCD 使用指南](http://swift.gg/2016/05/05/the-gcd-handbook/)(译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide)) ⭐️ + + 深入浅出 GCD,看完就能直接实践,GCD 没你想得那么难。 +* [用 HealthKit 来开发一个健身 App](http://swift.gg/2016/05/13/healthkit-introduction/)(译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide)) ⭐️ + + 学习做一款简单又不失人性化的健身应用。 +* [“错误”的使用 Swift 中的 Extension](http://swift.gg/2016/05/16/using-swift-extensions/)(译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide)) ⭐️ + + 这篇文章通过场景及解读教你如何用对 extension。 +* [UIText​Checker](http://nshipster.com/uitextchecker/)(作者:[Croath Liu](https://github.com/croath)) + + NSHipster 近期新文,探讨如何有效使用拼写检查类 UITextChecker。 +* [用 SwiftyDB 管理 SQLite 数据库](http://swift.gg/2016/05/17/swiftydb/)(译文来源:[@SwiftGG翻译组](http://weibo.com/swiftguide)) ⭐️ + + “SwiftyDB 是一个第三方 SQLite 工具,能够大大简化数据库操作。如果你不放心 Realm,那就用 SwiftyDB 吧。” +* [Grand Central Dispatch 最全入门手册](http://gold.xitu.io/entry/57393f8271cfe4005707c98e)(作者:[@Cyandev](http://weibo.com/u/2834711045)) + + “Grand Central Dispatch 也就是我们常说的 GCD 是苹果为多核心处理器开发的一套异步调度机制。” +* [Swift 算法实战之路(一)](http://www.jianshu.com/p/ee16bcf50a59)(作者:[@故胤道长](http://weibo.com/soapyigu)) ⭐️ + + 活学活用,编程小技。 +* [分类、整理、归纳非常清晰的开源 iOS 应用集合](https://github.com/dkhamsing/open-source-ios-apps) |(作者:[dkhamsing](https://github.com/dkhamsing)) ⭐️ +* [Swift 没有了 BlocksKit,我忍不住自己写了个 ClosuresKit](http://www.jianshu.com/p/c32a8f69c7ab)(作者:[@没故事的卓同学](http://weibo.com/u/1926303682)) ⭐️ +* [移动端数据库新王者:Realm](http://www.jianshu.com/p/2b4388cf2a2d)(作者:[@没故事的卓同学](http://weibo.com/u/1926303682)) +* [SwiftCon 大会视频放出来了](http://t.cn/RqdeNW5)(来源:[@唐巧_boy](http://weibo.com/u/1708947107)) ⭐️ + diff --git a/weekly/Issue-54.md b/weekly/Issue-54.md new file mode 100644 index 00000000..fb5f5890 --- /dev/null +++ b/weekly/Issue-54.md @@ -0,0 +1,116 @@ +![](http://dulema.sinaapp.com/logo/sl-banner.png) + +**[<= 往期回顾](https://github.com/ipader/SwiftGuide/blob/master/weekly/README.md)** +[Swift 语言指南](https://github.com/ipader/SwiftGuide)-Issue 54 +=== +**本期特别推荐** 1. 项目:[Clipy(强大到变态的 OS X 剪贴板扩展应用开源)](https://github.com/Clipy/Clipy),[expanding-collection(也许是展开、查看列表项最浑然天成的 Peek/Pop 用法及动画效果)](https://github.com/Ramotion/expanding-collection),[Scrollable-GraphView(灵动感十足的自适应、可定制滚动曲(折)线图表库)](https://github.com/philackm/Scrollable-GraphView);2. 文章:[Swift 算法实战之路(二):数组,字符串,集合,与字典](http://www.jianshu.com/p/977736b08bd7),[Swift 中的尾递归和弹床](http://swift.gg/2016/05/27/recursive-tail-calls-and-trampolines-in-swift/)。 + +**大声一:** [Realm 1.0.0 版本发布!](https://realm.io/cn/news/realm-1.0/)([中文文档](https://realm.io/cn/docs/swift/latest/)) + +**大声二:** [创建你所了解的知名 Swift 开发者个人资料页](https://github.com/ipader/SwiftGuide/wiki) + +## 项目 +> [Swift 项目精选](https://github.com/ipader/SwiftGuide/blob/master/Featured.md) 最近新收录 23 个(标注 ⭐️ 表示收录),合计已收录 462 个。 + +* [FlatBuffersSwift:Swift 版 FlatBuffers 实现类](https://github.com/mzaks/FlatBuffersSwift)([Myaxim Zaks](https://github.com/mzaks)) ⭐️ + + FlatBuffers 是跨平台、高效,提供了 C++/Java 接口的序列化开源工具库。 + +* [PMAlertController:可定制弹窗组件替代官版不可定制的 UIAlertController](https://github.com/Codeido/PMAlertController)([Paolo Musolino](https://github.com/Codeido)) ⭐️ + + 两者实现功能及展现效果基本一致。 + +* [采用 SnapKit DSL 实现思路让 NSPredicate 多一种使用选项](https://github.com/KrakenDev/PrediKit)([Hector Matos](https://github.com/KrakenDev/)) ⭐️ + + 假如你在使用 NSPredicate 中不喜欢 SQL 风格过滤或查询数据,这个库就是你的最佳选择,同时它也解决了 NSPredicate 若干不友好性。 + +* [ParticlesLoadingView:通过 SpriteKit 内置工具粒子发射器实现酷炫的可定制装载动画](https://github.com/BalestraPatrick/ParticlesLoadingView)([Patrick Balestra](https://github.com/BalestraPatrick)) ⭐️ + + +* [preview-transition:向导式代码步骤,实现自然流畅的图片预览及转场功能](https://github.com/Ramotion/preview-transition) ⭐️ + +* [Clipy:强大到变态的 OS X 剪贴板扩展应用开源](https://github.com/Clipy/Clipy)([Clipy Project](https://github.com/Clipy)) ⭐️ + +* [Simplicity:用最简单的方法实现 Facebook 和 Google 授权登录](https://github.com/SimplicityMobile/Simplicity)([Simplicity Mobile](https://github.com/SimplicityMobile)) ⭐️ + +* [Marklight:Markdown 语法高亮显示编辑库](https://github.com/macteo/Marklight)([Matteo Gavagnin](https://github.com/macteo)) ⭐️ + +* [CartoonEyes:Core Image 脸部识别结合漫画效果滤镜复合出卡通效果眼睛](https://github.com/FlexMonkey/CartoonEyes)([Simon Gladman](https://github.com/FlexMonkey)) ⭐️ + + 前置摄像头捕获图像后,采用 Core Image 脸部识别 CIDetector 和漫画效果滤镜复合出卡通效果眼睛。 + +* [MessageKit:消息 UI 库 JSQMessagesViewController 的 Swift 版](https://github.com/MessageKit/MessageKit)([Jesse Squires](https://github.com/jessesquires)) + + 优雅的消息 UI 框架库 JSQMessagesViewController(OC) 的 Swift 版。 + +* [EPSignature:通过手触或 Apple Pencil 签名的组件](https://github.com/ipraba/EPSignature)([Praba](https://github.com/ipraba)) ⭐️ + +* [Spots:将 view models 存储于云端的 view controller 框架库](https://github.com/hyperoslo/Spots)([Hyper](https://github.com/hyperoslo)) ⭐️ + + 一套为了加速开发效率、将 view models 采用 JSON 格式存储于云端 view controller 框架库。 + +* [AlamofireObjectMapper:Alamofire 网络请求 JSON 返回数据自动转换、映射至对象](https://github.com/tristanhimmelman/AlamofireObjectMapper)([Tristan Himmelman](https://github.com/tristanhimmelman)) ⭐️ + + Alamofire 网络请求 JSON 数据返回采用 ObjectMapper 自动转换、映射至对象。P.S. 若仅返回 JSON 可以采用 Alamofire-SwiftyJSON + +* [Scrollable-GraphView:灵动感十足的自适应、可定制滚动曲(折)线图表库](https://github.com/philackm/Scrollable-GraphView)([Phillip](https://github.com/philackm)) ⭐️ + +* [Cacao:跨平台 UIKit(Cocoa Touch)实现(支持 Linux)](https://github.com/PureSwift/Cacao)([PureSwift](https://github.com/PureSwift)) ⭐️ + +* [expanding-collection:也许是展开、查看列表项最浑然天成的 Peek/Pop 用法及动画效果](https://github.com/Ramotion/expanding-collection)([Ramotion](https://github.com/Ramotion)) ⭐️ + +* [Up-Down:在 OS X 菜单栏上实时显示网络上传和下载速度小工具](https://github.com/gjiazhe/Up-Down)([郭佳哲](https://github.com/gjiazhe)) + +* [pull-to-refresh:是一款非常易于开发者使用的下拉刷新和加载更多组件](https://github.com/eggswift/pull-to-refresh)([@李昊_____](http://weibo.com/u/5120522686)) ⭐️ + + “通过一个 UIScrollView 的扩展,可以轻松为 UIScrollView 的所有子类添加下拉刷新功能。 如果你想定制组件的 UI 样式,只要实现指定的协议方法即可”。 + +* [ESTabBarController:自定义TabBarController组件](https://github.com/eggswift/ESTabBarController) + + 继承自 UITabBarControlle,可添加动画和自定义样式。[开发文档](http://www.jianshu.com/p/9e52630e7368) + +* [Underscore:知名函数式编程库 underscore 的 Swift 版](https://github.com/JakeLin/Underscore)([Jake Lin](https://github.com/JakeLin)) ⭐️ + + “Code coverage 100% 支持 MacOS, iOS, WatchOS, tvOS 以及 Linux 的开源 Swift 项目 ” + +* [SwiftTheme:主题/换肤, 夜间模式 UI 扩展框架库。功能明确、具体又实用](https://github.com/jiecao-fm/SwiftTheme)([节操精选](https://github.com/jiecao-fm)) ⭐️ + +* [Cache:一款简单、易用的缓存库](https://github.com/soffes/Cache)([Sam Soffes](https://github.com/soffes)) ⭐️ + + 支持 MemoryCache, DiskCache 以及前两项组合的 MultiCache。 + +* [Track:基于文件系统和链表的 Cache](https://github.com/maquannene/Track)([maquannene](https://github.com/maquannene)) ⭐️ + + “最近写东西需要用到 Cache,看了几个 Swift 的 Cache 没有找到像 YYCache 或者 PINCache 那样纯粹而且功能齐全的库。所以撸了一个基于文件系统和链表的 Cache。分为 Disk 和 Memory,线程安全,支持 LRU 淘汰,性能尚可,还需要更多实践检验。” + +* [Wrap:方便、易用的对象转 JSON 类库 ](https://github.com/JohnSundell/Wrap)([John Sundell](https://github.com/JohnSundell)) ⭐️ +* [AlecrimAsyncKit:一款很优雅的异步执行框架库](https://github.com/Alecrim/AlecrimAsyncKit)([Vanderlei Martinelli](https://github.com/vmartinelli)) ⭐️ + +* [RxPermission:通过绑定 RxSwift 实现的 Permission](https://github.com/sunshinejr/RxPermission)([Luke](https://github.com/sunshinejr)) ⭐️ + +## 文章 +> [Swift 文章精选](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md) 最近新收录 7 份(标注 ⭐️ 表示收录),合计已收录 250 份。 + +* [用 struct 和 enum 来构建你的整套 UI](http://allblue.me/swift/2016/05/26/LeeGo-chinese-version/) ⭐️ + + “之前分享过一次 LeeGo,有同学说不是很明白什么时候用,具体有什么好处。感觉有必要再安利一次,其实好处往简单了说就一句话:可以让大家「脱离UIView做UI开发」。其他的诸如声明式,高可用性,可远程更新等等一切好处都是源于这一条。写了篇博客来说明” + +* [Swift 中的尾递归和弹床](http://swift.gg/2016/05/27/recursive-tail-calls-and-trampolines-in-swift/)(来源:[SwiftGG翻译组](http://weibo.com/swiftguide)) ⭐️ + + “Swift 中到底有没有‘尾递归’?如何手动实现‘尾递归’?” + +* [API Design Guidelines](https://swift.org/documentation/api-design-guidelines/)([中文版](http://swift.gg/2016/05/18/api-design-guidelines/) By [@SwiftGG翻译组](http://weibo.com/u/5174822990)) ⭐️ + +* [Swift2-同时解包多个可选值(Optionals)](http://www.jianshu.com/p/1dad8c98baf5)(来源:[@rayjuneWu](http://weibo.com/rayjuneWu)) + +* [Swift 算法实战之路(二):数组,字符串,集合,与字典](http://www.jianshu.com/p/977736b08bd7)([@故胤道长](http://weibo.com/soapyigu)) ⭐️ + +* [使用 Go 语言开发 iOS 应用(Swift版)](http://www.ituring.com.cn/article/215762) + +* [React Native痛点解析之性能调优](http://t.cn/R57rfid)(来源:[@移动开发前线](http://weibo.com/bornmobile)) ⭐️ + + “自从React Native出世,虽然官方一直尽可能的优化其性能,为了能让其媲美原生App的速度,但是现实感觉有点不尽人意。本文会介绍下实践中遇到的一些性能问题以及优化方案”。上一篇《[React Native 痛点解析之开发环境搭建及扩展](http://t.cn/R57ed70)》 + +* [Realm 中文参考](https://realm.io/cn/docs/swift/latest/)(来源:[Realm](https://realm.io/)) ⭐️ + +* [fantastic-ios-animation:基于 UI 类别分类,且带精彩动画效果的 iOS 组件库集合](https://github.com/onmyway133/fantastic-ios-animation)([Khoa Pham](https://github.com/onmyway133)) ⭐️ diff --git a/weekly/Issue-55.md b/weekly/Issue-55.md new file mode 100644 index 00000000..3bc91b3f --- /dev/null +++ b/weekly/Issue-55.md @@ -0,0 +1,70 @@ +![](http://dulema.sinaapp.com/logo/sl-banner.png) + +**[<= 往期回顾](https://github.com/ipader/SwiftGuide/blob/master/weekly/README.md)** +[Swift 语言指南](https://github.com/ipader/SwiftGuide)-Issue 55 +=== +**本期特别推荐** 1. 项目: [Stellar(通过物理引擎 UIDynamic 实现超酷物理动画类库](https://github.com/AugustRush/Stellar)),[Floater_(加一个浮动指尖图标到你的演示应用)](https://github.com/Buglife/Floater_),[OOD-Principles-In-Swift(基于 Bob 大叔 OOD 经典 Swift 实现示例)](https://github.com/ochococo/OOD-Principles-In-Swift);2. 文章:[Swift:Selector 语法糖](http://swift.gg/2016/06/02/swift-selector-syntax-sugar/),[Swift 算法实战之路:链表](http://www.jianshu.com/p/cf962aeff643),[用 Swift 编写面向协议的视图](http://swift.gg/2016/06/01/protocol-oriented-views-in-swift/)。 + +**大声一:**[十二位优秀的 Swift 开发者个人资料页](https://github.com/ipader/SwiftGuide/wiki/开发者个人资料页) + +**大声二:**[Squall - Convert AE animations to iOS code and preview them instantly! ](http://www.marcuseckert.com/squall/) + +## 项目 +> [Swift 项目精选](https://github.com/ipader/SwiftGuide/blob/master/Featured.md) 最近新收录 10 个(标注 ⭐️ 表示收录),合计已收录 472 个。 + +* [tween-controller:易用、强大的交互式菜单及教程创建工具包类库](https://github.com/daltonclaybrook/tween-controller)([Dalton Claybrook](https://github.com/daltonclaybrook)) ⭐️ + +* [Stellar:通过物理引擎 UIDynamic 实现超酷物理动画类库](https://github.com/AugustRush/Stellar)([August](https://github.com/AugustRush)) ⭐️ + +* [BaoKanIOS:适合 Swift 新手参考的新闻资讯类应用](https://github.com/6ag/BaoKanIOS)([六阿哥](https://github.com/6ag)) ⭐️ + +* [URITemplate.swift:方便实用的 URI 模式匹配库](https://github.com/kylef/URITemplate.swift)([Kyle Fuller](https://github.com/kylef)) ⭐️ + +* [OOD-Principles-In-Swift:基于 Bob 大叔 OOD 经典(S.O.L.I.D.) Swift 实现示例](https://github.com/ochococo/OOD-Principles-In-Swift)([Oktawian Chojnacki](https://github.com/ochococo)) ⭐️ + +* [ios-swift-collapsible-table-section:逐步骤教授如何实现可折叠表格区域及演示](https://github.com/jeantimex/ios-swift-collapsible-table-section)([Su](https://github.com/jeantimex)) ⭐️ + +* [Host.swift:小巧实用的主机信息(主机名,网络地址等)捕获类](https://github.com/rjstelling/Host.swift)([Richard Stelling](https://github.com/rjstelling)) ⭐️ + + 喜欢老版 NSHost 的同学看过来。 + +* [Floater_:加一个浮动指尖图标到你的演示应用](https://github.com/Buglife/Floater_)([Buglife](https://github.com/Buglife)) ⭐️ + + 如何安装、使用步骤都写的比较清楚。 + +* [ello-ios:ello.co 官方 iOS 开源应用](https://github.com/ello/ello-ios)([Ello](https://github.com/ello)) ⭐️ + + ello.co 是一家反广告,相比 Facebook 更简洁、清新的全新社交网站。 + +* [NoChat:基于轻量级聊天框架 Chatto 的二次开发库](https://github.com/little2s/NoChat)([Yinglun Duan](https://github.com/little2s)) ⭐️ + + “旨在轻量、易定制。Demo简单仿写了流行的消息应用Telegram, WeChat, Slack。语言版本Swift 2.2。” + +## 文章 +> [Swift 文章精选](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md) 最近新收录 6 份(标注 ⭐️ 表示收录),合计已收录 256 份。 + +* [Swift:Selector 语法糖](http://swift.gg/2016/06/02/swift-selector-syntax-sugar/)(来源:[@SwiftGG翻译组](http://weibo.com/swiftguide)) ⭐️ + + 精简代码从此类语法糖开始。“今天要发的这篇来头很大,Chris Lattner 亲自转发过,就冲这个也必须读一读了。” + +* [Swift 2.0 :揭秘 Map 和 FlatMap](http://swift.gg/2016/05/30/swift2-map-flatmap-demystified/)(来源:[@SwiftGG翻译组](http://weibo.com/swiftguide)) ⭐️ + + “这篇文章有点旧,还好赶在 3.0 之前发出来了。关于 map 和 flatmap 已经有太多太多文章,如果你还没有掌握,那一定不要错过这篇。” + +* [用 Swift 编写面向协议的视图](http://swift.gg/2016/06/01/protocol-oriented-views-in-swift/)(来源:[@SwiftGG翻译组](http://weibo.com/swiftguide)) ⭐️ + + 实战好文。协议解决 shake 动画代码,让主程序代码更简洁。 + +* [Swift 利用协议优化 NSNotificationCenter](http://weibo.com/u/1926303682)(译者:[@没故事的卓同学]) ⭐️ + +* [Swift 算法实战之路:链表](http://www.jianshu.com/p/cf962aeff643)(作者:[@故胤道长](http://weibo.com/soapyigu)) ⭐️ + +* [Swift 网络安全原理及实践](http://weibo.com/u/5732374415)(作者:[@我偏笑_NSNirvana](http://weibo.com/u/5732374415)) ⭐️ + +* [App:PaintCode 新出了一个可将 Sketch 3 图形自动转换为 Swift 或 Objective-C 代码的收费插件](http://www.paintcodeapp.com/sketch) + + 代码实现上可以斟酌,比如采用更好的框架代码。 + +* [App:Squall - Convert AE animations to iOS code and preview them instantly! ](http://www.marcuseckert.com/squall/) + + 动画这类专业设计工作,通过工具转代码是正道。 diff --git a/weekly/README.md b/weekly/README.md index ca72eec4..ed1162eb 100644 --- a/weekly/README.md +++ b/weekly/README.md @@ -1,17 +1,110 @@ ## [Swift 语言指南](https://github.com/ipader/SwiftGuide) - 收录周报 +> 考虑到此项工作的长期可持续性,已启用[志愿者服务](Volunteers.md)。 -## [Issue 44](Issue-44.md) -> **本期特别推荐** 1. 项目:[FolioReaderKit](https://github.com/FolioReader/FolioReaderKit)(ePub 阅读器及框架库), [Zip](https://github.com/marmelroy/Zip)(基于 [minizip](https://github.com/nmoinvaz/minizip) 的解压缩类库)及 [IBAnimatable](https://github.com/JakeLin/IBAnimatable)(基于 Xcode 插件技术快速原型开发工具) 2. 文档:[RxSwift 函数响应式编程](https://realm.io/cn/news/slug-max-alexander-functional-reactive-rxswift/), [Typed, yet Flexible Table View Controller](http://holko.pl/2016/01/05/typed-table-view-controller/) 及 [Top 100 Best Blogs for iOS Developers to Learn and Gain Insights](http://www.softwarehow.com/best-blogs-for-ios-developers/) +## [Issue 54](Issue-54.md) -> 大声:“在TIOBE编程语言排行榜2016年1月的榜单上超过了Objective-C,排在第14位,Objective-C第18位。By [@崔康总编](http://weibo.com/cuikang82)” +**本期特别推荐** 1. 项目:[Clipy(强大到变态的 OS X 剪贴板扩展应用开源)](https://github.com/Clipy/Clipy),[expanding-collection(也许是展开、查看列表项最浑然天成的 Peek/Pop 用法及动画效果)](https://github.com/Ramotion/expanding-collection),[Scrollable-GraphView(灵动感十足的自适应、可定制滚动曲(折)线图表库)](https://github.com/philackm/Scrollable-GraphView);2. 文章:[Swift 算法实战之路(二):数组,字符串,集合,与字典](http://www.jianshu.com/p/977736b08bd7),[Swift 中的尾递归和弹床](http://swift.gg/2016/05/27/recursive-tail-calls-and-trampolines-in-swift/)。 + +**大声一:** [Realm 1.0.0 版本发布!](https://realm.io/cn/news/realm-1.0/)([中文文档](https://realm.io/cn/docs/swift/latest/)) + +**大声二:** [创建你所了解的知名 Swift 开发者个人资料页](https://github.com/ipader/SwiftGuide/wiki) + + +> ![](../archive/weixin-swiftlanguage.jpg) ## 往期回顾 +* [Issue 53](Issue-53.md) + + > **本期特别推荐** 1. 项目:[SwiftTweaks:不用重新编译即可调整 UI 配置](https://github.com/Khan/SwiftTweaks),[Material:Swift 版 Material Design 动画及图形框架库](https://github.com/CosmicMind/Material),[Networking:使用简单、功能惊喜的网络封装库](https://github.com/3lvis/Networking),[Interpolate:手势驱动交互式转场动画框架库](https://github.com/marmelroy/Interpolate);2. 文章:[Artsy 的测试之旅](https://realm.io/cn/news/tryswift-ash-furrow-artsy-testing-tour/),[分类、整理、归纳非常清晰的开源 iOS 应用集合](https://github.com/dkhamsing/open-source-ios-apps),[用 HealthKit 来开发一个健身 App](http://swift.gg/2016/05/13/healthkit-introduction/)。 + + > **大声一:**[Swift 官方文档中文版已经同步到 Swift 2.2](https://github.com/numbbbbb/the-swift-programming-language-in-chinese/releases/tag/v2.2)([@SwiftGG翻译组](http://weibo.com/swiftguide)) + + > **大声二:**[Swift 开发者、项目、最佳实践:由 Swift 开发者自己的维护的干货](https://github.com/ipader/SwiftGuide/wiki/%E5%BC%80%E5%8F%91%E8%80%85%E3%80%81%E9%A1%B9%E7%9B%AE%E3%80%81%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5)([@SwiftLanguage](http://weibo.com/swiftlanguage)) + +* [Issue 52](Issue-52.md) + + + > **本期特别推荐** 1. 项目:[GPUImage2](https://github.com/BradLarson/GPUImage2)(基于 GPU 图像和视频处理框架库),[Peek](https://github.com/shaps80/Peek)(更友好、手势方式检查界面内组件布局信息),[SwiftyGif](https://github.com/kirualex/SwiftyGif)(高性能 Gif 播放引擎),[JASON](https://github.com/delba/JASON)(高速 JSON 解析类库);2. 文档:[Swift Strings](http://andybargh.com/swift-strings/),[Stanford 公开课中文字幕翻译](https://github.com/X140Yu/Developing-iOS-9-Apps-with-Swift),[React Native 的官方最佳实践翻译](http://f8-app.liaohuqiu.net/),[浅谈 iOS 中的视图优化](http://www.jianshu.com/p/5c968a240e27?utm_campaign=hugo&utm_medium=reader_share&utm_content=note&utm_source=weibo)。 + + > **大声一**:[SwiftCon 2016 参会感想](http://blog.devtang.com/2016/04/25/swiftcon-2016-notes/) By [@唐巧](http://weibo.com/tangqiaoboy) + + > **大声二**:[MShare 第一期(iOS 专场相关 Keynote、代码和视频的 Github 仓库)](https://github.com/mengxiangyue/MShare_Salon) By [@孟祥月](http://weibo.com/u/1750643861) + +* [Issue 51](Issue-51.md) + + > **本期特别推荐** 1. 项目:[SkyFloatingLabelTextField](https://github.com/Skyscanner/SkyFloatingLabelTextField)(带图标显示浮动标签组件库)、[NumberMorphView](https://github.com/me-abhinav/NumberMorphView)(可爱的数字补间(变身)动画类库)、[SwiftSVG](https://github.com/mchoe/SwiftSVG)(支持多种接口绘制 SVG);2. 文档:[拥抱未来:更优雅的 Swift 写法](https://realm.io/cn/news/doios-daniel-steinberg-ready-for-the-future/),[iOS主流动画开源库深入分析(一):IBAnimatable](http://www.jianshu.com/p/5faf36e1f700),[面向协议的 MVVM 架构介绍](https://realm.io/cn/news/doios-natasha-murashev-protocol-oriented-mvvm/)。 + + > **大声一**: [IBM 为可穿戴设备提供开源框架(SDK)及示例](https://github.com/ibm-wearables-sdk-for-mobile/ibm-wearables-swift-sdk) + + > **大声二**: [拥抱未来:更优雅的 Swift 写法](https://realm.io/cn/news/doios-daniel-steinberg-ready-for-the-future/) By realm.io + +* [Issue 50](Issue-50.md) + + > **本期特别推荐** 1. 项目: [Permission](https://github.com/delba/Permission) (统一的 API 请求 iOS 本地设备及资源权限类库) ,[SwipeViewController](https://github.com/fortmarek/SwipeViewController) (页面滑动和标签选项卡) ;2. 文档:[我的 iOS 开发入门自学路径](http://www.jianshu.com/p/4be17ec40cfc),[iOS Core Animation: Advanced Techniques 中文译本](https://zsisme.gitbooks.io/ios-/content/) 以及 [Medium - Swift Programming](https://medium.com/swift-programming)。 + + > **大声一**: “[IBAnimatable 2.0 发布了!](https://github.com/JakeLin/IBAnimatable/releases)” By [@林永坚Jake](http://weibo.com/yongjianlin) + + > **大声二**: [Free iOS 9.3 iPhone UI Kit for Illustrator and Sketch](http://mercury.io/blog/free-ios-9-3-iphone-ui-kit-for-illustrator-and-sketch) + + +* [Issue 49](Issue-49.md) + + > **本期特别推荐** 1. 项目:[ReplaceAnimation](https://github.com/fruitcoder/ReplaceAnimation)(创意下拉刷新动画实现)、[Bolts-Swift](https://github.com/BoltsFramework/Bolts-Swift)(任务管理 futures/promises 异步实现)及 [PeekPop](https://github.com/marmelroy/PeekPop)(新特性 Peek/Pop 图片预览);2. 文档:[Swift 通知推送新手指南](http://swift.gg/2016/03/15/push-notification-ios/) 和 [ENJOY 的 Apple Pay 应用内支付接入实践](http://geek.csdn.net/news/detail/60849)。 + + > **大声一**:[Swift 现在可用于所有的 ARMv6 树莓派 (1,Zero)](http://swift.gg/2016/03/18/swift-available-on-armv6-raspberry-1-zero/) + + > **大声二**:为了便于新手有效获取 Swift 学习资源,新建小站 [Swift 学习指引](http://swiftguide.cn)。 + + > **大声三**:[本指南](https://github.com/ipader/SwiftGuide) Google 中文搜索关键字([swift](https://www.google.com.hk/search?q=swift))排名第一(首次超过 Apple 官网) + + +* [Issue 48](Issue-48.md) + + > **本期特别推荐** 1. 项目:[injectionforxcode](https://github.com/johnno1962/injectionforxcode)(修改一个类的代码实现而不用重启整个应用 Xcode 插件),[navigation-stack](https://github.com/Ramotion/navigation-stack)(导航控制器的 Stack 视图模型最佳实践)以及 [WaveLoadingView](https://github.com/liuzhiyi1992/WaveLoadingView)(可配置圆形波浪进度指示器类及演示);2. 文档:[Swift 入门指引](http://dev.swiftguide.cn/archive/getting-started-in-swift_v1.0.html) 和 [iOS 9 人机界面指南](https://isux.tencent.com/?s=iOS+9+人机界面指南)。 + + > **大声一**:Apple TV Tech Talks 和 WWDC 2015 的视频 已添加简体中文的字幕,现在开始您可以观看[翻译版的研讨会视频](https://developer.apple.com/videos/)了。 + + > **大声二**:终于决定建一个公众服务号了,用途除了方便移动端获取 Swift 优质资源外,同时考虑为不同层级用户提供些个性化定制服务。欢迎关注(公众号:swiftguide)。 + +* [Issue 47](Issue-47.md) + + > **本期特别推荐** 1. 项目:[Kitura](https://github.com/IBM-Swift/Kitura)(IBM Swift 开发组的开源 Web 服务器) +,[Advance](https://github.com/storehouse/Advance)(侧重在手势交互、帧动画、自定义动画及仿真类型的动画框架库),[PromiseKit](https://github.com/mxcl/PromiseKit)(Swift 化的 Promise 类库)以及 [Zewo](https://github.com/Zewo/Zewo)(底层库组件化超强大中间件框架) +,2. 文档:[ReactiveCocoa 4 官方文档翻译](http://www.jianshu.com/p/fccba7be1ca1),[Swift 性能探索和优化分析](https://onevcat.com/2016/02/swift-performance/),[给 iOS 开发者的 Sketch 入门教程](http://ios.jobbole.com/83865/) 以及 [Perfect 让 Swift 在服务器端跑起来](http://blog.csdn.net/u014388424/article/category/6092861) + + > **大声一**:[IBM成为首个支持云端进行 Swift 应用开发的云供应商](http://t.cn/RGj1WYr)。 By [@IBM中国](http://weibo.com/u/1937649537) + + > **大声二**:[30 Days of Swift 是如何成为本周 Github 全语言类第一的](http://weibo.com/ttarticle/p/show?id=2309403945025816947755)? By [@Allen朝辉](http://weibo.com/wangchaohui) + + > **大声三**:[中国首届 Swift 开发者大会嘉宾现场演讲视频正式上线了](http://www.imooc.com/learn/600)。 By [@慕课网](http://weibo.com/mukewang) + + +* [Issue 46](Issue-46.md) + + > **本期特别推荐** 1. 项目:[30DaysofSwift](https://github.com/allenwong/30DaysofSwift)(相比 [100 Days of Swift](http://samvlu.com/index.html),一样的赏心悦目),[Tactile](https://github.com/delba/Tactile)(让手势识别如虎添翼),[folding-cell](https://github.com/Ramotion/folding-cell)(自然流畅、清新的单元格折叠动画类及演示),[Yep](https://github.com/CatchChat/Yep)(“打造由天才开发给天才们使用的社交软件”);2. 文档:[新手指南:使用 Social Framework 以及 UIActivityViewController](http://swift.gg/2016/02/04/social-framework-introduction/),《Threading Programming Guide》笔记([1. 初识线程](http://geek.csdn.net/news/detail/54092)、[2. 线程配置与Run Loop](http://geek.csdn.net/news/detail/55617)、[3. Run Loop操作配置实践](http://geek.csdn.net/news/detail/56056)) + + > 大声1:“[苹果开源 Swift 基准测试套件](http://www.infoq.com/cn/news/2016/02/swift-benchmarking-suite)。在向 Swift 语言添加新特性时,它是跟踪 Swift 性能及捕获性能衰退的一个重要部分。By [@InfoQ](http://weibo.com/infoqchina)”。 + + > 大声2:“[@叶孤城](http://weibo.com/u/1438670852):2016,我们为大家做了一点小事. CodeReview, 简单来说,你可以提交自己的代码给大神审核.网站在这里,www.reviewcode.cn ”。 + +* [Issue 45](Issue-45.md) + + > **本期特别推荐** 1. 项目:[Localize-Swift](https://github.com/marmelroy/Localize-Swift)(国际化及本地化字符串框架库),[AudioKit](https://github.com/audiokit/AudioKit)(音频合成、加工及分析平台框架库)以及 [swift-algorithm-club](https://github.com/hollance/swift-algorithm-club)(Swift 算法俱乐部学习库);2. 文档:[用 Swift 中的单向数据流来替代臃肿的视图控制器](https://realm.io/cn/news/benji-encz-unidirectional-data-flow-swift/) 和 [Swift中的7个陷阱与如何避免它们](https://developer.ibm.com/swift/2016/01/27/seven-swift-snares-how-to-avoid-them/) + + > 大声:[Kingfisher 2.0 版](https://github.com/onevcat/Kingfisher/releases):“OS X,watchOS,tvOS 全面支持,重写了 Option 设置部分使其扩展性更佳,Swift Package Ma + +* [Issue 44](Issue-44.md) + + > **本期特别推荐** 1. 项目:[FolioReaderKit](https://github.com/FolioReader/FolioReaderKit)(ePub 阅读器及框架库), [Zip](https://github.com/marmelroy/Zip)(基于 [minizip](https://github.com/nmoinvaz/minizip) 的解压缩类库)及 [IBAnimatable](https://github.com/JakeLin/IBAnimatable)(基于 Xcode 插件技术快速原型开发工具) 2. 文档:[RxSwift 函数响应式编程](https://realm.io/cn/news/slug-max-alexander-functional-reactive-rxswift/), [Typed, yet Flexible Table View Controller](http://holko.pl/2016/01/05/typed-table-view-controller/) 及 [Top 100 Best Blogs for iOS Developers to Learn and Gain Insights](http://www.softwarehow.com/best-blogs-for-ios-developers/) + + > 大声:“在TIOBE编程语言排行榜2016年1月的榜单上超过了Objective-C,排在第14位,Objective-C第18位。By [@崔康总编](http://weibo.com/cuikang82)” + * [Issue 43](Issue-43.md) > **本期特别推荐** 1. 项目:[Filterpedia](https://github.com/FlexMonkey/Filterpedia)(完整、强大的图片滤镜类库)、[ElasticTransition](https://github.com/lkzhao/ElasticTransition)(畅快、无违和感的皮筋式动画转场)以及 [VWInstantRun](https://github.com/wangshengjia/VWInstantRun)(Xcode 高效调试插件); 2. 文章:[如何在Swift中调用 C 库](http://hearrain.com/2015/12/850) 和 [如何使用 Swift、Foursquare API 及 Realm 构建一款 Coffee Shop 应用](http://swift.gg/2015/12/29/foursquare-realm-swift/) -* [Issue 42](Issue-33.md) +* [Issue 42](Issue-42.md) > **本期特别推荐** 1. [C4Framework/C4iOS](https://github.com/C4Framework/C4iOS):用更少的代码,创建最佳应用体验库。2. [NSCache 源码分析](https://github.com/nixzhu/dev-blog/blob/master/2015-12-09-nscache.md):读好代码是一个技能。 @@ -19,30 +112,30 @@ > 大声2:俺在 [GitHub Awards](http://github-awards.com/users?utf8=✓&type=world&language=Swift) 上 Swift 语言开发者影响力排名又提升了一位,挤身前六。😀 -* [Issue 41](Issue-34.md) +* [Issue 41](Issue-41.md) > **本期特别推荐** 开放平台项目 [编程基础库 SwiftFoundation](https://github.com/PureSwift/SwiftFoundation)、[应用中间件 Perfect](https://github.com/PerfectlySoft/Perfect) 及 [AI 及机器学习库 Swift-AI](https://github.com/collinhundley/Swift-AI)。 > 重要事件(2015-12-4):围绕 [Swift 开源](https://swift.org/) 及开放平台(支持 Linux 平台),苹果公布了 [GitHub 系列开源项目](https://github.com/apple)。 -* [Issue 40](Issue-35.md) +* [Issue 40](Issue-40.md) > **本期特别推荐** 1. 瞬间崩塌为小方块动画效果 [StarWars.iOS](https://github.com/Yalantis/StarWars.iOS);2. 功能强大的表单组件库 [Eureka](https://github.com/xmartlabs/Eureka);3. 皮筋式弹性下拉即刷新组件及演示 [DGElasticPullToRefresh](https://github.com/gontovnik/DGElasticPullToRefresh) -* [Issue 39](Issue-33.md) +* [Issue 39](Issue-39.md) > **本期特别推荐** [CALayer Animation 实践-Loading Indicator](http://www.devtalking.com/articles/calayer-animation-loading-lndicator/),[Replicator Animation](http://www.devtalking.com/articles/calayer-animation-replicator-animation/):“本文作者以实战示例为引,对CALayer动画进行了初步的介绍,详解CALayer是如何让动画灵动起来。By [@CSDN移动](http://weibo.com/csdnmobile)”。作者:[@DevTalking](http://weibo.com/jacefu) -* [Issue 38](Issue-33.md) +* [Issue 38](Issue-38.md) > **本期特别推荐** [yoavlt/LiquidFloatingActionButton](https://github.com/yoavlt/LiquidFloatingActionButton):可定制水滴型浮动动态按钮组件及演示。 -* [Issue 37](Issue-33.md) +* [Issue 37](Issue-37.md) > **本期特别推荐** [《The Swift Programming Language》中文版全新发布](http://wiki.jikexueyuan.com/project/swift/):“37个章节全部完成更新!从这次开始我们将组建长期维护团队,一起努力,让这个项目可以走的更远,可以帮助更多读者。” 转自 [@SwiftGG翻译组](http://weibo.com/swiftguide)。 -* [Issue 36](Issue-33.md) +* [Issue 36](Issue-36.md) > **本期特别推荐** [ninjaprox/NVActivityIndicatorView](https://github.com/ninjaprox/NVActivityIndicatorView):酷炫的装载动画库及演示。如此丰富的 Swift 装载动画集合,史无前例。 -* [Issue 35](Issue-33.md) +* [Issue 35](Issue-35.md) > **本期特别推荐** [Tesseract OCR(光学字符识别)教程](http://www.cocoachina.com/ios/20150708/12463.html):“你之前肯定已经见过,OCR技术被应用于在平板电脑上将扫描文件处理成手写字迹,还被应用于谷歌最近添加到他们的Translate app上的"Word Len"功能。现在你将学习在自己的iPhone app上使用OCR,非常酷,不是吗?”。原文:[Tesseract OCR Tutorial](http://www.raywenderlich.com/93276/implementing-tesseract-ocr-ios),作者:[Lyndsey Scott](http://www.raywenderlich.com/u/Lyndsey),译者:[@CocoaChina](http://weibo.com/cocoachina) 翻译组 [Mr_cyz](http://blog.csdn.net/u013604612) -* [Issue 34](Issue-33.md) +* [Issue 34](Issue-34.md) > **本期特别推荐** [Yalantis/Koloda](https://github.com/Yalantis/Koloda):基于卡片的 Tinder-style 动画效果示例。精细绝人。更赞的是额外附了详细开发教程 [How We Built Tinder-Like Koloda Animation in Swift](https://yalantis.com/blog/how-we-built-tinder-like-koloda-in-swift/)。Yalantis 出品动画程序款款精品。 * [Issue 33](Issue-33.md) @@ -50,7 +143,7 @@ > [Swift 2.0 翻译启动](https://github.com/numbbbbb/the-swift-programming-language-in-chinese/issues/383) By [@梁杰_numbbbbb](http://weibo.com/numbbbbb) -* [Issue 32](Issue-33.md) +* [Issue 32](Issue-32.md) > **本期特别推荐** [Swift 2.0 初探](http://www.devtalking.com/articles/what-is-new-in-swift/):言简意赅、示例并茂地讲了若干关键新语法功能及用途。作者:[@DevTalking](http://weibo.com/jacefu) * [Issue 31](Issue-31.md) diff --git a/weekly/Volunteers.md b/weekly/Volunteers.md new file mode 100644 index 00000000..838a4c16 --- /dev/null +++ b/weekly/Volunteers.md @@ -0,0 +1,20 @@ +### [Swift 语言指南](https://github.com/ipader/SwiftGuide) - [收录周报](https://github.com/ipader/SwiftGuide/blob/master/weekly/README.md) - 志愿者 + + +志愿者|负责期报 +------------ | ------------- +[@孟祥月_iOS](http://weibo.com/u/1750643861)|[Issue 52](Issue-52.md) +[@钱强今年25](http://weibo.com/u/5266911162)|[Issue 51](Issue-51.md) + + +### 整理步骤 + +1. 从上一期后发布后的[微博](http://weibo.com/swiftlanguage),按项目和文章逐条整理至当期([模板](template.md)) + + >收录链接采用原始链接,非微博短链;项目开发者使用 Github 中作者名字,非用户名 +2. 挑选项目和文章分别按类别收录至《[Swift 项目精选](https://github.com/ipader/SwiftGuide/blob/master/Featured.md)》和 《[Swift 文章精选](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md)》 + + >收录标准较为主观,基于 Star 数和 GitHub 作者权重,微博转发、评论数等因子 +3. 更新 [weekly/README.md](README.md) + +4. 更新 [ipader/SwiftGuide - README.md](https://github.com/ipader/SwiftGuide/blob/master/README.md) diff --git a/weekly/template.md b/weekly/template.md new file mode 100644 index 00000000..e74939ad --- /dev/null +++ b/weekly/template.md @@ -0,0 +1,19 @@ +![](http://dulema.sinaapp.com/logo/sl-banner.png) + +**[<= 往期回顾](https://github.com/ipader/SwiftGuide/blob/master/weekly/README.md)** +[Swift 语言指南](https://github.com/ipader/SwiftGuide)-Issue XX +=== +**本期特别推荐** 1. 项目:2. 文章: + +**大声一:** + +## 项目 +> [Swift 项目精选](https://github.com/ipader/SwiftGuide/blob/master/Featured.md) 最近新收录 XX 个(标注 ⭐️ 表示收录),合计已收录 XXX 个。 + +* + +## 文章 +> [Swift 文章精选](https://github.com/ipader/SwiftGuide/blob/master/Featured-Articles.md) 最近新收录 XX 份(标注 ⭐️ 表示收录),合计已收录 XXX 份。 + +* +