This week's question is from
Justin:
What boilerplate code do you frequently use in some or all of your apps?
I bet you all recognize this: you start a new project and first copy over the code you always like to have from other projects. These could be full classes, packages, or just a few extensions.
In my case, I went a step further by building a personal set of packages that I like to call the SwiftLeeSDK. It contains SLExtensions, SLLogging, SLPurchases, and a few more. Based on their names, you can guess their purpose.
These packages allow me to develop improvements in all of my apps efficiently and also bring me up to speed when starting a new app.
With that, I highly recommend doing the same. It might take longer initially and require a different way of architecting your code, but you’ll benefit from it in the long run.
Want to have your question answered next week? Ask your question on LinkedIn or Twitter.