Mastering Swift Package Manager
Build and Test Modular Apps Using Xcode
Seiten
2021
|
1st ed.
Apress (Verlag)
978-1-4842-7048-6 (ISBN)
Apress (Verlag)
978-1-4842-7048-6 (ISBN)
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.
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.
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.
Chapter 1 – Introduction.- Chapter 2 – Organized Mess.- Chapter 3 – Swift Package to the Rescue.- Chapter 4 – Design and Link Our First Package.- Chapter 5 – All About Dependencies.- Chapter 6 – And Sharing for All.- Chapter 7 – Testing is Caring.- Chapter 8 – Spicing up with Resources.- Chapter 9 - XCFrameworks.
Erscheinungsdatum | 07.06.2021 |
---|---|
Zusatzinfo | 66 Illustrations, black and white; XI, 211 p. 66 illus. |
Verlagsort | Berkley |
Sprache | englisch |
Maße | 155 x 235 mm |
Themenwelt | Informatik ► Betriebssysteme / Server ► Macintosh / Mac OS X |
Informatik ► Programmiersprachen / -werkzeuge ► Mac / Cocoa Programmierung | |
ISBN-10 | 1-4842-7048-7 / 1484270487 |
ISBN-13 | 978-1-4842-7048-6 / 9781484270486 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
Mehr entdecken
aus dem Bereich
aus dem Bereich
das Handbuch für iMac, Mac mini und MacBook
Buch | Softcover (2023)
dpunkt (Verlag)
26,90 €
Der richtige Umgang mit Apples Tablet
Buch | Softcover (2021)
dpunkt (Verlag)
26,90 €
Schritt für Schritt einfach erklärt
Buch | Softcover (2023)
Markt + Technik (Verlag)
19,95 €