O'Reilly logo

Swift 2 By Example by Giordano Scalzo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Where do we go from here?

Although our app is almost complete, the possibilities for its expansion are endless.

Starting from this source, you can do the following:

  • Make it more robust in handling error situations. Currently, if anything goes wrong, nothing happens on the user's side because the app just logs the error. A good strategy would be to present a warning somewhere and provide a chance to the user to retry the operation.
  • The app works well if the user allows the use of GPS, but it will stop working if the user denies it. How about adding a functionality to view the weather for more cities than one, swiping horizontally to view a new city?
  • In the app, the background is chosen using only coordinates, but because the images in that group are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required