最終更新:2017-05-18 (木) 03:06:51 (71d)  

Swift はてなブックマークを見る
Top / Swift

https://developer.apple.com/swift/

https://developer.apple.com/library/prerelease/content/documentation/Swift/Conceptual/Swift_Programming_Language/index.html#//apple_ref/doc/uid/TP40014097-CH3-ID0

https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/GuidedTour.html#//apple_ref/doc/uid/TP40014097-CH2-XID_1

Swift/バージョン

Swift/文法とか

よく使う関数

よく使う型

Hello World

  • import UIKit
    
    class ViewController: UIViewController {
    
        override func viewDidLoad() {
            println("HelloWorld!")
            super.viewDidLoad()
            // Do any additional setup after loading the view, typically from a nib.
        }
    
        override func didReceiveMemoryWarning() {
            super.didReceiveMemoryWarning()
            // Dispose of any resources that can be recreated.
        }
    }