
- English
- ePUB (mobile friendly)
- Available on iOS & Android
About this book
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.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Cover
- Front Matter
- 1. Introduction
- 2. Organized Mess
- 3. Swift Package to Rescue
- 4. Design and Link Our First Package
- 5. All About Dependencies
- 6. And Sharing for All
- 7. Testing Is Caring
- 8. Spicing Up with Resources
- 9. XCFrameworks
- Back Matter