cocoachina-editors / welcome-to-swift Goto Github PK
View Code? Open in Web Editor NEWSwift中文文档
Swift中文文档
Look:
通过扩展为上一节中提到的Dice类遵循TextRepresentable协议
extension Dice: TextRepresentable {
cun asText() -> String {
return "A (sides)-sided dice"
}
}
02-18类型转换(Type Casting)翻译完成
第一本书**《The Swift Programming Language》**目前基本已经翻译和校对结束,无论译者和校对者来自@numbbbbb负责的翻译小组,还是来自cocoachina组织的翻译小组,我们并肩作战,终于完成了该书的中文版,只有短短9天。我们为自己喝彩!
但这场仗还没打完!
第二本书《Using Swift with Cocoa and Objective-C》目前第二章第三小节还未翻译,我们需要志愿者领取该小节。其他朋友对这本书进行校正。
一如既往的,按照@numbbbbb提出的这个标准《Using Swift with Cocoa and Objective C》校对要求来进行校正。
第一本书着重介绍了Swift语言部分,而这本书着重介绍了Swift和Objective-C的混合编程,目前而言,实用性很强。希望通过大伙的努力,让该书中文版尽快面世:)
同样的,留言回复领取,大概格式如下:
Unified translation style.
大帝,鉴于@numbbbbbb已经翻译完,就先使用他的翻译了。一起再校正下。第一大章基本OK了。
Import into Swift
Import into Objective-C
Swift code
No import statement
Objective-C code
No import statement; Objective-C bridging header required
导入到 Swift 导入到 Swift
Swift 代码 不需要import语句 #import
Objective-C 代码 不需要import语句;需要 Objective-C `umbrella头文件
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.