NEW: My new book Pro SwiftUI is out now – level up your SwiftUI skills today! >>

How to upgrade to modern app infrastructure

Add tests, use CocoaPods, get continuous integration, and more!

Paul Hudson       @twostraws

It's easy to look at your project and think, "I could have done this better," but what does it take to really fix things? I wrote a series of articles showing exactly how to upgrade your projects for modern app infrastructure: getting great unit tests where you had none before, adopting smart coding conventions to make your work easier to read, streamlining tedious work using Fastlane, and more.

These articles all build upon the same example project from GitHub, but you can apply their principles anywhere else. If you're using my project then you should follow the articles sequentially, but if you just want to upgrade your own projects then you can read whichever articles you like – just skip to the part that interests you.

Here are direct links to the various parts:

  1. How to refactor your code to add tests
  2. How to add CocoaPods to your project
  3. How to clean up your code formatting with SwiftLint
  4. How to streamline your development with Fastlane
  5. How to save and share your work with GitHub
  6. How to validate code changes using CircleCI
Hacking with Swift is sponsored by RevenueCat

SPONSORED In-app subscriptions are a pain to implement, hard to test, and full of edge cases. RevenueCat makes it straightforward and reliable so you can get back to building your app. Oh, and it's free if your app makes less than $10k/mo.

Learn more

Sponsor Hacking with Swift and reach the world's largest Swift community!

BUY OUR BOOKS
Buy Pro Swift Buy Pro SwiftUI Buy Swift Design Patterns Buy Testing Swift Buy Hacking with iOS Buy Swift Coding Challenges Buy Swift on Sundays Volume One Buy Server-Side Swift Buy Advanced iOS Volume One Buy Advanced iOS Volume Two Buy Advanced iOS Volume Three Buy Hacking with watchOS Buy Hacking with tvOS Buy Hacking with macOS Buy Dive Into SpriteKit Buy Swift in Sixty Seconds Buy Objective-C for Swift Developers Buy Beyond Code

About the author

Paul Hudson is the creator of Hacking with Swift, the most comprehensive series of Swift books in the world. He's also the editor of Swift Developer News, the maintainer of the Swift Knowledge Base, and a speaker at Swift events around the world. If you're curious you can learn more here.

Was this page useful? Let us know!

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.