November 2016
Beginner
480 pages
11h 10m
English
Our first story is "I want to be able to create a new snippet". For this feature, we have two tasks:
SnippetDataSnippetData and adds it to an arrayFor the first task, we are going to create a simple Swift struct that will hold the data for our snippet. There won't be a whole lot going on here! For the second task, we'll be going into our storyboard and adding some UI elements, then adding some code for our button to execute when pressed. Remember, the goal is just to have a button create a new instance of a data structure, nothing more.
Current task: Create a model class for bare-bones SnippetData.
For the time being, we're ...
Read now
Unlock full access