Giter VIP home page Giter VIP logo

swift-moviepicker-lab-ios-0916's Introduction

Movie Picker

Story

Every Friday evening at your house is movie night. There's only one problem.. no-one can ever agree on a movie. But.. you being the best iOS dev there is have a solution.

In this story, imagine that you have a baby girl named Laura. Your brilliant idea is to make an iOS app that will allow for Laura to make the decision for the group.

The group has come up with the following four movies:

  • Titanic
  • Toy Story
  • Spirited Away
  • Wall-E

The app will display these four movies on screen. There will be a red transparent circle Laura will be able to move around the screen. If this circle is hovering over one of these movie titles displayed on screen when she taps the circle then that will be the movie we watch.

Demo:

Instructions

The demo above is the finished product. If you were to run the app from the current .xcodeproj you have, it doesn't look the same as the finished product. It's running very very slow, why is that?

You have one instruction for this lab.

De-bug the problem. Look through the code and look to resolve the problem.

Before writing any code, run the app as it currently stands so you can see what it is I'm referring to when I say that it's running very slow.

If you need a nudge in the right direction, ask an instructor for a hint. All of the code is written in the ViewController.swift file. Without much direction with how it was written, take some time to step through the various methods to get an understanding as to what's calling what. It's important to be able to read other peoples code.

Advanced:

  • When the red UIButton is hovering over any UILabel, have that text appear in a new UILabel you should make in the center of the screen. The font should be fairly large. When the red UIButton is no longer hovering over a UILabel, that center UILabel should be hidden.
  • Create an initial view that asks the user for input. Four movies need to be entered in before we head over to this ViewController which will display them along with the red UIButton.
  • Look to expand the app. When a user taps the red UIButton while its hovering over a UILabel, it should bring up another UIView which will display details of the movie in a pretty way. This will require you saving more information then we currently are from the API request. Here's link. Sorry, I couldn't resist--here's the actual link.

https://www.omdbapi.com

swift-moviepicker-lab-ios-0916's People

Contributors

jimcampagno avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.