Skip to content

This is an app that I learned how to make through a Udemy course. Uses simple IOS development foundations in order to display a variety of basic trivia questions

woodward4422/QuizApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Quizzler

Learn to make iOS Apps 📱 | Project Stub | (Swift 2.0/Xcode 7) - Quizzler App

Download the starter project files as .zip and extract to your desktop. --->

Finished App

Finished App

Quiz Text Strings

    // Creating a quiz item and appending it to the list
    let item = Question(text: "Valentine\'s day is banned in Saudi Arabia.", correctAnswer: true)
    
    // Add the Question to the list of questions
    list.append(item)
    
    // skipping one step and just creating the quiz item inside the append function
    list.append(Question(text: "A slug\'s blood is green.", correctAnswer: true))
    
    list.append(Question(text: "Approximately one quarter of human bones are in the feet.", correctAnswer: true))
    
    list.append(Question(text: "The total surface area of two human lungs is approximately 70 square metres.", correctAnswer: true))
    
    list.append(Question(text: "In West Virginia, USA, if you accidentally hit an animal with your car, you are free to take it home to eat.", correctAnswer: true))
    
    list.append(Question(text: "In London, UK, if you happen to die in the House of Parliament, you are technically entitled to a state funeral, because the building is considered too sacred a place.", correctAnswer: false))
    
    list.append(Question(text: "It is illegal to pee in the Ocean in Portugal.", correctAnswer: true))
    
    list.append(Question(text: "You can lead a cow down stairs but not up stairs.", correctAnswer: false))
    
    list.append(Question(text: "Google was originally called \"Backrub\".", correctAnswer: true))
    
    list.append(Question(text: "Buzz Aldrin\'s mother\'s maiden name was \"Moon\".", correctAnswer: true))
    
    list.append(Question(text: "The loudest sound produced by any animal is 188 decibels. That animal is the African Elephant.", correctAnswer: false))
    
    list.append(Question(text: "No piece of square dry paper can be folded in half more than 7 times.", correctAnswer: false))
    
    list.append(Question(text: "Chocolate affects a dog\'s heart and nervous system; a few ounces are enough to kill a small dog.", correctAnswer: true))

Copyright 2015 London App Brewery

About

This is an app that I learned how to make through a Udemy course. Uses simple IOS development foundations in order to display a variety of basic trivia questions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published