Category Archives for "Software Architecture"

core data & cloud services for iOS in Swift

Cloud Kit

As an iOS / Swift mentor for Thinkful.com, every week I give my students a list of resources as a follow up to our mentoring session.  This week’s resources cover details of dealing with data loaded from the Internet, storing data locally (core data and alternatives to core data), and cloud services.  Finally we wrap up with some photoshop tips to automatically create 1X, 2X, and 3X assets for your iOS projects.Continue reading

Autolayout, Adaptive Layout, Debugging in Xcode, iOS design patterns, and more

tools of the trade

As an iOS / Swift mentor for Thinkful.com, every week I give my students a list of resources as a follow up to our mentoring session.  Typically this consists of a short email listing the resources, which can include podcasts, videos, blog posts, etc.  I have a ton of resources I like to share over the duration of the course, but I try not to give too many at once so as not to overwhelm.  This week, however, most of my students hit a transition point in their learning, as they started working on building their own apps, and we covered a lot of ground in our discussions.Continue reading

First foray into CocoaPods

CocoaPods is the dependency manager for Objective-C projects. It has thousands of libraries and can help you scale your projects elegantly.

I’m working on updating an enterprise iOS application.  As part of that update, I eliminated dependancies on several third party libraries, and the remaining libraries I wanted to manage using CocoaPods.  Otherwise, the situation was that the source code for those libraries had just been dumped into the project several years ago, and there was no easy way of knowing what version of the libraries was being used nor a sane way of keeping the libraries updated. Using CocoaPods was surprisingly easy, but there were a few gotchas I ran into since I was integrating this into an existing project.  I thought I would share in case there are any other newbies out there who run into similar issues.Continue reading