Mastering Swift Package Manager
eBook - ePub

Mastering Swift Package Manager

Build and Test Modular Apps Using Xcode

  1. English
  2. ePUB (mobile friendly)
  3. Only available on web
eBook - ePub

Mastering Swift Package Manager

Build and Test Modular Apps Using Xcode

Book details
Table of contents
Citations

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

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Mastering Swift Package Manager by Avi Tsadok in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Apress
Year
2021
ISBN
9781484270493

Table of contents

  1. Cover
  2. Front Matter
  3. 1. Introduction
  4. 2. Organized Mess
  5. 3. Swift Package to Rescue
  6. 4. Design and Link Our First Package
  7. 5. All About Dependencies
  8. 6. And Sharing for All
  9. 7. Testing Is Caring
  10. 8. Spicing Up with Resources
  11. 9. XCFrameworks
  12. Back Matter