Mastering Swift Package Manager: Build and Test Modular Apps Using Xcode
暫譯: 精通 Swift Package Manager:使用 Xcode 建立與測試模組化應用程式

Tsadok, Avi

  • 出版商: Apress
  • 出版日期: 2021-05-28
  • 售價: $2,350
  • 貴賓價: 9.5$2,233
  • 語言: 英文
  • 頁數: 211
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484270487
  • ISBN-13: 9781484270486
  • 相關分類: Apple Developer
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Maintaining an iOS project often results in thousands of code files scattered around your folders. Did you ever wanted to reuse those files with other projects but found yourself making copies of Swift files? You are not alone! Many iOS developers struggle with this issue as well--unorganized projects, duplicated files, difficulty in testing, and long complication times. This book will show how Swift Package Manager can help you handle these problems by restructuring your project to make it efficient and straightforward.
Swift Package Manager isn't magic, but you'll likely need a little guidance in using this nifty tool. You'll see how to reorganize projects smartly and efficiently, create your first Swift package, and learn what libraries are in this context. Then share your package with the rest of your projects. Next test your library's quality. And then take your library to the next level of power by including files that go beyond just code.

By going over the methodology of big project organization, you will have the ability to extend your project into the future as Apple sees it. Make no mistake--the path for a modular and flexible project is not easy. With the help of Swift Package Manager, it becomes possible and worth it.
What You'll Learn

  • Create a Swift package both from the command line and from Xcode
  • Manage Swift packages in public and private Git repositories
  • Build test suites to test integrations between packages

Who This Book Is For
Senior iOS developers and team leaders who already have professional experience with Swift.

商品描述(中文翻譯)

維護一個 iOS 專案通常會導致數千個程式碼檔案散落在你的資料夾中。你是否曾經想要將這些檔案重複使用於其他專案,但卻發現自己不斷複製 Swift 檔案?你並不孤單!許多 iOS 開發者也面臨這個問題——專案無組織、檔案重複、測試困難以及長時間的編譯。這本書將展示如何利用 Swift Package Manager 來解決這些問題,通過重組你的專案,使其高效且簡單明瞭。

Swift Package Manager 不是魔法,但你可能需要一些指導來使用這個方便的工具。你將學會如何聰明且高效地重新組織專案,創建你的第一個 Swift 套件,並了解在這個上下文中有哪些庫。然後將你的套件與其他專案分享。接下來測試你的庫的質量。然後通過包含超越單純程式碼的檔案,將你的庫提升到更高的層次。

通過了解大型專案組織的方法論,你將能夠將你的專案延伸到未來,正如 Apple 所見。不要誤會——模組化和靈活專案的道路並不容易。在 Swift Package Manager 的幫助下,這變得可能且值得。

你將學到的內容:
- 從命令行和 Xcode 創建 Swift 套件
- 在公共和私有 Git 儲存庫中管理 Swift 套件
- 建立測試套件以測試套件之間的整合

本書適合對象:
已經具備 Swift 專業經驗的資深 iOS 開發者和團隊領導。

作者簡介

Avi Tsadok is an accomplished iOS Developer with almost a decade of experience. He currently heads mobile developemnt at Any.do, a leading productivity app. He's also a regular contributor to "Better Programming" and has an active presence on Medium. He uses writing to combine his passion for helping educate the development community while working on refining his own skills in developing.

作者簡介(中文翻譯)

Avi Tsadok 是一位成就卓越的 iOS 開發者,擁有近十年的經驗。他目前負責 Any.do 的行動開發,這是一款領先的生產力應用程式。他也是「Better Programming」的定期貢獻者,並在 Medium 上活躍。他利用寫作結合自己對於幫助教育開發社群的熱情,同時精進自己的開發技能。