Quiz Game is native application for iPhone that allows you to easily create quiz game.
Application is ready for build and be uploaded to the iTunes store.
This project is easy to use and configure over property list (XML), so there is no need that you know programming. Project is ready to be build and published to iTunes store. You can define quiz topics as many as you like, each quiz have unlimited number of questions, for each question there are 4 possible answers and between them you have to define correct answer. When user select quiz, gameplay screen appears and user have to pick correct answer in 5 seconds. Time is represented visually as 5 lines that will turn to gray when each second pass and they'll change color from green to red depending how much seconds is left. Game also support configurable score system.
Quiz game application allows you to define quizzes, as many you like, with unlimited number of questions. Application is configurable over property list (XML), so it's easy to define everything without programming knowledge. When user starts application list of quizzes will be displayed in table view.
Each row is configurable over property list and it consist of:
If there are more quizzes than shown on image above, user can scroll list of quizzes verticaly.
Tap on row will open selected quiz and start game. Transition between quiz menu and gameplay view is horizontal flip.
Gameplay menu consist of:
When question is answered view will show fade out and than fade in transition to next question.
Point system is configurable trough code. You can also configure time that is allowed for each question.
Upon game completition highscore screen will appear. Highscore system save score for each quiz separately, so title of navigation bar on this screen will be name of quiz user played, on image below this quiz was named „History“.
Below image highest score is shown and scored from recently played game.
On right side of Navigation bar there is option to share score on Twitter.
Button to close this view and to go back to main view is on left side of navigation bar.
Project is easy to configure with property list (XML) without any need to know programming. This file is named quizzesList.plist and it can be found in folder Supporting Files.
It is really easy to edit this nodes or to add new one with same structure to create new quizzes.
Root node is named Quizzes and it is array that contain several dictionaries, each of them is one quiz. Child nodes of root node are named Item0, Item1, Item2 and so on depending how many quizzes are there.
Each child node consist of following nodes:
Project also includes second property list (XML) named config.plist that is used to define time and score system. It consist of following nodes:
Project requires following frameworks:
Main view display list of quizes from property list. Property list name is defined at top of main file:
#define kPlistName @"quizzesList"
This view is table view, on row select method:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
will open QuizViewController.
Quiz view controller is game play view. On top of .m file you can find following defines:
#define kFadeOutAnimationDuration 1.0f #define kFadeInAnimationDuration 1.0f
Defines kFadeOutAnimationDuration and kFadeInAnimationDuration will allow you to change duration of animation transition between quiz questions.
Result view controller is used to display final score and highscores in games. QuizCell
Celll that is shown on main view is programatically created here.
Randomization of questions. This feature user can enable/disable just by making YES/NO in class file named MainViewController.m, there is a BOOL Member named "_isRandamizationRequired" set this value according to your need.
ShareKit SDK is used to provide sharing on social networks. Methods twitterConsumerKey and twitterSecret has to be changed in QuizSHKConfigurator.h to enable access to Twitter.
You can get more information about Twitter API keys at:
July 02, 2013
October 07, 2012
Supports for iOS 6.0
Fixed some memory issues.