Swift Recipes for IOS Developers: Real-Life Code from App Store Apps

Nekrasov, Alexander

  • 出版商: Apress
  • 出版日期: 2022-09-30
  • 售價: $2,330
  • 貴賓價: 9.5$2,214
  • 語言: 英文
  • 頁數: 348
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484280970
  • ISBN-13: 9781484280973
  • 相關分類: Apple Developer
  • 海外代購書籍(需單獨結帳)

商品描述

Boost your iOS developer career by learning from real-life examples and start writing code for one of the most successful platforms ever. No matter if you're an experienced developer or just a beginner, you'll find something new and something useful for your future projects here.
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開發者職業生涯,並開始為這個最成功的平台之一撰寫程式碼。無論你是有經驗的開發者還是初學者,你都能在這裡找到一些新的和有用的東西,適用於你未來的專案。

本書中的所有範例都來自於已經獲得蘋果批准並在App Store上發布的實際商業專案。你不會寫「Hello, world!」和類似的程式。相反,你將學習如何解析不同的資料格式;在你的iOS應用程式中執行JavaScript程式碼;以及使用幾行程式碼來增強Storyboard編輯器。你將能夠製作出具有模糊效果、陰影和圓角的美觀現代對話框,並在分析文本字串後安全地轉換資料。你還可以為你的佈局添加動畫效果,並盡量減少應用程式的崩潰。

每個範例都提供一段程式碼片段,可以複製並貼上到你的專案中,作為提升你知識的工具,同時也可以創建即插即用的功能。每個範例都會顯示每行程式碼的描述,解釋其邏輯,並提供相關的文件參考,讓你有機會修改或編寫適合你專案的類似程式碼。一段好的程式碼不僅應該能運行,還應該簡潔、清晰和穩定。這些程式碼範例將以此為優先考慮。這些編寫良好的程式碼片段應該能在任何環境中運行,並且可以輕鬆地從一個專案轉移到另一個專案。大部分提供的範例在不需要或只需要很少修改的情況下就可以從一個專案遷移到另一個專案,並且在多年的實際應用中已被證明是有用且穩定的。深入iOS開發的世界,寫出清晰、功能完善且安全的Swift程式碼!

你將學到什麼:
- 解析、轉換和列印Swift資料
- 快速開發令人驚豔的使用者介面
- 編寫有效且可移植的Swift擴展
- 使你的程式碼更乾淨和更安全

適合閱讀對象:
- iOS開發的初學者,希望通過實際案例來提升自己的技能
- 從其他領域轉換到移動開發的開發者
- 所有尋找程式碼範例的iOS開發者

作者簡介

Alex Nekrasov wrote his first line of code 27 years ago when he was 8 years old and could see himself thriving as a software developer ever since. In 2008, he graduated from university with a diploma with honors as a System Engineer. By that point, he had already been working in the IT field for 3 years. In 2013, he wrote his first iOS app and, in 2014, he switched completely to mobile development. Almost 10 years of freelance experience has given Alex an opportunity to work on many interesting projects and earn real-life experience. Alex runs a succesful blog where he writes about mobile development.

作者簡介(中文翻譯)

Alex Nekrasov 在27年前,也就是他8歲時寫下了他的第一行程式碼,從那時起,他就能夠看到自己在軟體開發領域蓬勃發展。在2008年,他以系統工程師的優異成績從大學畢業。在那個時候,他已經在IT領域工作了3年。在2013年,他寫下了他的第一個iOS應用程式,並在2014年完全轉向了移動開發領域。近10年的自由工作經驗讓Alex有機會參與許多有趣的專案並獲得實際經驗。Alex經營著一個成功的部落格,他在其中寫著關於移動開發的文章。