Giter Site home page Giter Site logo

locationtrivia-tableviews-ios-0616's Introduction

Location Trivia — Views

Instructions

  1. Finished versions of the FISTrivium and FISLocation classes are provided from the previous labs. Remember that there are several FISLocations, and each FISLocation instance has several FISTrivium instances relevant to it.
  2. The goal is to display a table of an NSArray of FISLocations. Create a new UITableViewController named FISLocationsTableViewController. * In viewDidLoad set the accessibilityLabel and accessibilityIdentifier to Locations Table * Create an NSArray property called locations. This will hold all of the FISLocation objects.
  3. Make each cell a right detail cell. This enables two different UILabel views that can display different pieces of information. The primary one on the left is the textLabel and the secondary label on the right is called the detailTextLabel.
  4. For each cell, set the textLabel to the name of the location and the detailTextLabel to the number of trivia items for that location.
  5. When a cell is tapped, it should take the user to another UITableViewController called FISTriviaTableViewController. This should display all of the trivia for that location in the textLabel of each cell. * In viewDidLoad set the accessibilityLabel and accessibilityIdentifier to Trivia Table

Extra Credit

Make multiple sections. Each section should represent a FISLocation with the section's header being the name property and each cell in it to be the different FISTrivium objects relevant to that location.
Note: This is hard Allow for the reordering of Locations in your table... helpful link

View this lesson on Learn.co

locationtrivia-tableviews-ios-0616's People

Contributors

fislabstest avatar fs-lms-test-bot avatar jimcampagno avatar johnph75 avatar markedwardmurray avatar misterfifths avatar sarogers avatar zdrossman 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.