Build an App Like Lego — Tutorial 8

Tom Brodhurst-Hill
Build an App Like Lego
7 min readJan 29, 2019

--

Add a Framework

1. Introduction

In the previous Tutorial 7 we created a custom cell layout using Interface Builder’s visual tools.

One of the aims of this tutorial series is to build an app using visual tools as much as possible, whilst writing as little code as possible. Like everything on a computer (including a smart phone), the visual tools only work because someone has already written the code behind the scenes. So far, we have focussed on using Xcode’s “Interface Builder”, which is its visual layout editing tool. In Interface Builder, we can drag in views and set attributes, because someone has already written the code to make that work.

In this tutorial, we will add a “framework” to our project to provide even more customisable visual components, where the code is already written for us.

To get the framework, we will tell “Git” to clone it locally for us, from its repository on the Internet.

This is probably the geekiest tutorial so far in this series. It’s pretty straightforward and quick. I’ve just laid out each step exactly, since it’s new territory.

2. Submodule, Project and Framework

--

--

Tom Brodhurst-Hill
Build an App Like Lego

iOS developer and architect for BareFeetWare. Builds apps for enterprise and startups. Runs workshops on building apps like Lego.