So far, we have looked into requirements, discussed a high-level design, and developed a simple backend API. Now, we are going to develop an iOS application that will leverage the latter.
We will start our application development using CocoaPods
(https://cocoapods.org/). We can install it by executing the following command in the terminal:
sudo gem install cocoapods
Then, we will create a folder using Finder or simply execute the following command in the terminal:
mkdir Frontend
Next, we will create a Single View Application
project in Xcode as shown in the following screenshot:
We are going to name it TodoApp
and provide an organization name and identifier. The programming language is going to be Swift, and devices will be Universal. Now, we can close the project and go back to the terminal.
In the terminal, we will execute the following command:
cd Frontend/TodoApp pod init
This will create a file named Podfile
. This is where we define our dependencies...