1. What is Swift?
Go to Baidu! Du Niang tells you that it is Apple's latest programming language, which is more efficient and simple than c, c ++, and objc. Able to develop ios and mac-related apps! It is a language that Apple will vigorously promote in the future!
2. What opportunities does Swift bring to you?
At the beginning, you thought it was too difficult for objc to learn about ios and give up pulling, or everyone in the it industry is engaged in android, and you are also engaged in android. Now you finally have the opportunity to start with ios! Swift legends are easy to learn. Do you want to increase your skills for android? Raise your salary? Come on!
3. Install the Swift environment!
1. You need an Apple Computer. (Small threshold)
2. Your system must be 10.9.3 or above. (Upgrade slowly)
3. You need to download xcode 6.0 beta. (Download it from the Developer Center! Threshold)
Xcode 6.0 beta
: Http://adcdownload.apple.com//wwdc_2014/xcode_6_beta_ie8g3n/xcode_6_beta.dmg
The above three are required! Other diaosi systems such as xp, win7, and ubuntu have nothing to do with Swift. I love the threshold.
4. Simple Swift code writing and running!
If your xcode6.0beta installation is complete, open xcode and choose "playgroud" to create a project name.
Then write down the following code to run:
See? All are displayed in real time! Great!
Create a Swift Technology Discussion QQ group: 107800925. Welcome to join! Learning and improving together!