Swift Recipes for IOS Developers: Real-Life Code from App Store Apps
暫譯: iOS 開發者的 Swift 食譜:來自 App Store 應用的實際代碼
Nekrasov, Alexander
- 出版商: Apress
- 出版日期: 2022-09-30
- 售價: $2,350
- 貴賓價: 9.5 折 $2,233
- 語言: 英文
- 頁數: 348
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1484280970
- ISBN-13: 9781484280973
-
相關分類:
Apple Developer
海外代購書籍(需單獨結帳)
商品描述
All of the recipes in this book are taken from real-life commercial projects that have been approved by Apple and published on the App Store. You won't write "Hello, world!" and similar programs. Instead you'll see how to parse different data formats; run JavaScript code right inside your iOS app; and enhance storyboard editor with several simple extensions. You'll make beautiful modern-looking dialogs with blurs, shadows and rounded corners using only a few lines of code, and safely convert data after analyzing text strings. Go on to animate your layout and get your app shored up to crash as little as possible
Each recipe offers a code snippet to copy and paste to your project as a tool to boost your knowledge, as well as, create plug-and-play features. Each of recipe shows the description for each line of code while explaining the logic of it, contains references to documentation, and gives you an opportunity to modify or write something similar that fits your project better.
A good piece of code should not work but also be short, clear, and stable. And that combo will be our priority in these code recipes. Well-written code snippets must run in any environment and be easily transferrable from one project to another. Most of the provided recipes will migrate from one project to another with little to no changes at all, and with years of real-world application have proven themselves to be useful and stable. Dive into the world of iOS development and write clear, functioning, and safe Swift code!
What You'll Learn
- Parse, convert, and print Swift data
- Develop stunning UIs quickly
- Write effective and portable Swift extensions
- Make your code cleaner and safer
Who This Book Is For
Beginners in iOS development who want to improve their skills with real-life examples. Developers switching to mobile development from other areas. All iOS developers looking for code recipes.
商品描述(中文翻譯)
提升您的 iOS 開發者職涯,透過真實案例學習,開始為這個最成功的平台之一編寫程式碼。無論您是經驗豐富的開發者還是剛入門的初學者,您都會在這裡找到新的知識和對未來專案有用的內容。
本書中的所有範例均來自已獲得 Apple 批准並在 App Store 上發佈的真實商業專案。您不會編寫「Hello, world!」及類似的程式。相反,您將學會如何解析不同的數據格式;在您的 iOS 應用程式中直接運行 JavaScript 代碼;以及使用幾個簡單的擴展來增強 storyboard 編輯器。您將僅用幾行程式碼製作出美觀的現代對話框,並在分析文本字符串後安全地轉換數據。接著,您將為佈局添加動畫,並使您的應用程式盡可能少崩潰。
每個範例都提供了一段程式碼片段,您可以複製並粘貼到您的專案中,以增強您的知識,並創建即插即用的功能。每個範例都會對每行程式碼進行描述,解釋其邏輯,包含文檔參考,並給您機會修改或編寫更適合您專案的類似內容。
一段好的程式碼不僅要能運行,還應該簡短、清晰且穩定。這種組合將是我們在這些程式碼範例中的優先考量。編寫良好的程式碼片段必須能在任何環境中運行,並且能夠輕鬆地從一個專案轉移到另一個專案。大多數提供的範例將幾乎不需要任何更改即可從一個專案遷移到另一個專案,並且經過多年的實際應用已證明其有用且穩定。深入 iOS 開發的世界,編寫清晰、可運行且安全的 Swift 代碼!
您將學到的內容
- 解析、轉換和打印 Swift 數據
- 快速開發驚人的用戶界面
- 編寫有效且可攜帶的 Swift 擴展
- 使您的程式碼更清晰和安全
本書適合誰
希望透過真實案例提升技能的 iOS 開發初學者。從其他領域轉向移動開發的開發者。所有尋找程式碼範例的 iOS 開發者。
作者簡介
作者簡介(中文翻譯)
亞歷克斯·內克拉索夫在27年前,8歲時寫下了他的第一行程式碼,從那時起,他就能想像自己作為一名軟體開發者的成功。2008年,他以榮譽學位畢業於大學,專業為系統工程師。到那時為止,他已經在資訊科技領域工作了3年。2013年,他寫下了他的第一個iOS應用程式,並在2014年完全轉向行動開發。近10年的自由職業經驗讓亞歷克斯有機會參與許多有趣的專案並獲得實際經驗。亞歷克斯經營著一個成功的部落格,專門撰寫有關行動開發的內容。