- iOS Programming Cookbook
- Hossam Ghareeb
- 84字
- 2021-07-09 18:29:38
Getting ready
Now, we will pe into enumerations and get our hands dirty with it. To do so, we will create a new playground file in Xcode called Enumerations so that we can practice how to use enumerations and also see how it works.
Writing enumerations is meant to be easy, readable, and straightforward in syntax writing in Swift. Let's see how enum syntax goes:
enum EnumName{ }
You see how it's easy to create enums; your enumeration definition goes inside the curly braces.
推薦閱讀
- Persistence in PHP with the Doctrine ORM
- WindowsServer2012Hyper-V虛擬化部署與管理指南
- RESS Essentials
- 深入理解eBPF與可觀測性
- Linux自動化運維:Shell與Ansible(微課版)
- Linux內核觀測技術BPF
- Linux內核設計的藝術:圖解Linux操作系統架構設計與實現原理
- Vim 8文本處理實戰
- Linux系統最佳實踐工具:命令行技術
- Linux應用大全 基礎與管理
- 鴻蒙HarmonyOS手機應用開發實戰
- 大規模分布式系統架構與設計實戰
- Windows網絡編程(第2版)
- Docker容器技術與運維
- Hadoop Operations and Cluster Management Cookbook