Git Product home page Git Product logo

ac-ios-generalknowledgequiz's Introduction

AC-iOS-GeneralKnowledgeQuiz

Lets make a General Knowlege Quiz app

Step 1

Fork and clone this repo.

In the Question Class you will find an array of Question.

Create a tableView and populate it with the Questions.

screen shot 2017-11-08 at 12 50 00 pm

Step 2

Create a DetailViewController with a label and a pickerView. The label for the question and the picker view for the possible answers.

Checkout this little tutorial on UIPickerView

http://sourcefreeze.com/ios-uipickerview-example-using-swift/

Code it so that the user is nofified if they get the answer right or wrong.

Step 3

Create a SettingsViewController with 2 segmentedControlls and another pickerView to allow the user to filter the results by difficulty, type and category.

Create Settings Class with static variables that will save your currentSettings.

Have your Settings update when the user selects

Step 4

Add a Statistics class with static variables that keep track of right and wrong answers.

Create a custom TableViewCell so that all of the question is displayed and not cut off.

ac-ios-generalknowledgequiz's People

Contributors

seymotom avatar

Watchers

James Cloos 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.