Swift #3

Screen Shot 2015-10-15 at 10.19.40Screen Shot 2015-10-15 at 10.32.24

Today we are making a simple map app. Following on from last week we then got straight into it by adding in sliders labelling them latitude and longitude and setting them so they only go as far as the map lets you. Then I added a go button so when pressed it will then take you to that place, However I have no map at this time so I then go ahead and add a map onto the field and size it correctly. Now the map is in I then can press go and it will find the location and I will get the information where that point is but not within the app. So I had to add a pin drop into the map for where the location is to the coordinates.

Screen Shot 2015-10-15 at 11.02.57Screen Shot 2015-10-15 at 10.45.10Screen Shot 2015-10-15 at 10.48.37
I then was able to pin point different places using the Long and Lat however this just left lot of different pin points everywhere on the map. We then made this so it only displayed one pin point saying here. But where is here? So we changed it from here to the country what the pin point is in. But this didn’t work for when you have the pin point in the sea, so we made it say what ocean the pin is in. Then to finish of we added it so we can display a the postcode of the pin point. This really comes a far way by just adding bit by bit each time and its really amazing because not to long before I was just trying to add sliders and now i can pin point postcodes.

Screen Shot 2015-10-15 at 10.53.52Screen Shot 2015-10-15 at 11.03.24Screen Shot 2015-10-15 at 11.04.00


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s