Showing posts with label IB. Show all posts
Showing posts with label IB. Show all posts

Monday, August 17, 2015

A Simple Swift iOS App from Start to Finish - Creating the Edit View

Introduction

This is part of a series of articles describing the creation of a simple iOS app. A complete list of the articles is included in the first part A Simple Swift iOS App from Start to Finish - Introduction.

I have set up a web site for the finished app at http://DaysWithoutThings.com and you can download it free directly from the app store:





In this article I am going to create the Edit View for my app. This is the most complex view in the app. 

The steps involved in adding my Edit View are:


Add a new View to my storyboard.
Add a navigation Item to the new view.
Add a TextField control to hold the name of the thing being edited.
Add a Segmented control to represent whether the thing will be tracked for days with or days without.
Add labels to hold the current and record days for the thing.
Add a reset button.

Wednesday, October 29, 2014

How to create a Custom Table View Cell in Interface Builder

Introduction

Custom table view cells are a powerful way to extend the functionality of table views. In this article I am going to demonstrate how to create a custom table view cell in Interface Builder using as little actual code as possible.