Launching TrackMyWalks using the iOS simulator

In this section, we will take a look at how to compile and run the TrackMyWalks application. You have the option of choosing to run your application by using an actual device or choosing from a list of iOS simulators that mimic each of the different types of iOS devices.

Let's begin by performing the following steps:

  1. Ensure that you have chosen the Debug | iPhone Simulator from the drop-down menu.
  2. Next, choose your preferred device from the list of available iOS Simulators.
  3. Then, select the Run | Start Debugging menu option, as shown in the following screenshot:
Launching the TrackMyWalks app within the iOS Simulator
  1. Alternatively, you can also build and run the TrackMyWalks application by pressing the Command + Return key combinations.
  2. When the compilation is complete, the iOS Simulator will appear automatically and the TrackMyWalks application will be displayed, as shown in the following screenshot:
Creating a New Walk Entry within the Track My Walks app

As you can see from the preceding screenshot, this currently displays our TrackMyWalks application, displaying a list of static walk entries within our ListView. Clicking on the Add button will display the New Walk Entry Page, where you can begin entering information relating to the trail.

Currently, any information that is entered within this page will not be saved. As we progress throughout this book, we will be refactoring these pages to allow this to happen. When you click on the Save button, the user will be redirected to the Track My Walks screen:

Displays the navigation flow whenever a walk trail has been selected

The preceding screenshot shows you the navigation flow between each of the pages whenever a trail has been selected from the ListView, with the final screen showing the Distance Travelled Information ContentPage, along with a marker pinpointing information related to the trail within the map.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.78.136