Variables and constants for Swift's development base
Today I learned a bit about Swift language feeling iOS has taken its own step code to simplify a lot, and can use playground a real-time preview of the effect
Note: Constants can be used directly if you re-assign values to the above constants. No type Required
Variable directly with var can be assigned multiple times can be formulated type or can not make type feel very intelligent can be re-assigned multiple times
Finally, the problem of a variable overlay is just a plus and a number.
Playground Advantages and Disadvantages: You can preview the results in real time later can be bold to design and confirm the convenience of our future testing
Cons: Not yet mature commercial projects can not be used just for the convenience of developers to test
Variables and constants for Swift's development base