- Reactive Programming with Swift 4
- Navdeep Singh
- 53字
- 2021-06-24 18:58:01
Directly access unicode scalars of characters
Swift 4 allows direct access to unicode scalars associated with characters:
let character: Character = “A”
let unicodeScalar = character.unicodeScalars
Done! Easy, isn’t it? Before you would have to convert the character to a String first and then try to access unicode scalar.
推薦閱讀
- C++程序設計(第3版)
- PyQt從入門到精通
- PowerCLI Cookbook
- Web全棧工程師的自我修養(yǎng)
- 信息技術應用基礎
- SQL Server實用教程(SQL Server 2008版)
- Mastering ArcGIS Enterprise Administration
- Python入門很輕松(微課超值版)
- 30天學通C#項目案例開發(fā)
- Scrapy網(wǎng)絡爬蟲實戰(zhàn)
- 深入淺出 HTTPS:從原理到實戰(zhàn)
- Java RESTful Web Service實戰(zhàn)
- Clojure Data Structures and Algorithms Cookbook
- Python高性能編程(第2版)
- H5匠人手冊:霸屏H5實戰(zhàn)解密