From the course: Code Clinic: Swift

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

View the existing files

View the existing files - Swift Tutorial

From the course: Code Clinic: Swift

Start my 1-month free trial

View the existing files

- [Instructor] Before we get into building our database and implementing it in our application, I want to go over the existing code and user interface elements for this app. My thinking on this was to prepare everything in advance that didn't relate to creating the database, querying the database, and displaying the data. So that way, we don't cover anything that you should already be familiar with. So here I am in main dot story board, and I have a whole bunch of user interface elements that you can see in the document outline. But one that's in front of everything else is a view called activity view, and it has a child which is a large white activity indicator view. The purpose of this is to have something on the screen to give visual feedback while the app is processing something. For example, if the user asks for information between January 1st, 2012 and January 2nd, 2012, there isn't going to be a lot of time, and the data is processed quickly. But if the user wants one or two or…

Contents