- 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
- Dynamics 365 for Finance and Operations Development Cookbook(Fourth Edition)
- Redis Applied Design Patterns
- Java Web基礎與實例教程(第2版·微課版)
- Git高手之路
- The Complete Coding Interview Guide in Java
- Node.js全程實例
- Node.js Design Patterns
- 運用后端技術處理業務邏輯(藍橋杯軟件大賽培訓教材-Java方向)
- 零基礎Java學習筆記
- Java語言程序設計教程
- 零代碼實戰:企業級應用搭建與案例詳解
- Android移動應用開發項目教程
- Learning C++ by Creating Games with UE4
- Android Application Programming with OpenCV 3
- Python深度學習實戰:基于TensorFlow和Keras的聊天機器人以及人臉、物體和語音識別