- Swift Essentials(Second Edition)
- Dr Alex Blewitt
- 187字
- 2021-07-23 14:34:23
Chapter 1. Exploring Swift
Apple announced Swift at WWDC 2014 as a new programming language that combines experience with the Objective-C platform and advances in dynamic and statically typed languages over the last few decades. Before Swift, most code written for iOS and OS X applications was in Objective-C, a set of object-oriented extensions to the C programming language. Swift aims to build upon patterns and frameworks of Objective-C but with a more modern runtime and automatic memory management. In December 2015, Apple open sourced Swift at https://swift.org and made binaries available for Linux as well as OS X. The content in this chapter can be run on either Linux or OS X, but the remainder of the book is either Xcode-specific or depends on iOS frameworks that are not open source. Developing iOS applications requires Xcode and OS X.
This chapter will present the following topics:
- How to use the Swift REPL to evaluate Swift code
- The different types of Swift literals
- How to use arrays and dictionaries
- Functions and the different types of function arguments
- Compiling and running Swift from the command line
- ASP.NET Core:Cloud-ready,Enterprise Web Application Development
- C語言程序設(shè)計(jì)(第3版)
- Java系統(tǒng)分析與架構(gòu)設(shè)計(jì)
- SOA實(shí)踐
- Mastering Selenium WebDriver
- HTML5 移動(dòng)Web開發(fā)從入門到精通(微課精編版)
- 機(jī)器人Python青少年編程開發(fā)實(shí)例
- Bootstrap Essentials
- Learning Unity 2D Game Development by Example
- C語言程序設(shè)計(jì)實(shí)驗(yàn)指導(dǎo) (第2版)
- 從零開始學(xué)C語言
- Mastering ROS for Robotics Programming
- R語言數(shù)據(jù)可視化:科技圖表繪制
- Access 2010數(shù)據(jù)庫應(yīng)用技術(shù)實(shí)驗(yàn)指導(dǎo)與習(xí)題選解(第2版)
- Nagios Core Administration Cookbook(Second Edition)