Programming Languages67k+ stars
Swift
A powerful and intuitive programming language from Apple
Commit Details
- Message
- "first commit"
- Author
- Chris Lattner
- Date
- 2010-07-17
- Hash
- 18844bc65229786b96b89a9fc7739c0fc897f6ab
Fun Fact
Chris Lattner started Swift as a personal project in 2010. Apple kept it secret for 4 years before announcing it at WWDC 2014.
</>First Code
Swift
// Swift Programming Language
// Copyright (c) 2014 Apple Inc.
func main() {
println("Hello, World!")
}
// The journey of a thousand miles begins with a single step.
// - Lao Tzu
class Object {
var description: String { return "Object" }
}
protocol Printable {
var description: String { get }
}← All Projects
11 of 48