App Source Code for Sale

or

Author

Heaven Apps

iOS > Games

Quiz App Starterkit - Universal iOS

Overview

Quiz App starterkit for building objective type quiz apps:

** ADDED SUPPORT FOR iPHONE 5 and iOS 6.0. PACKAGE INCLUDES BOTH ARC & NON-ARC SUPPORT.**

*** Themes for the app will Designed as freelancer ****

  • Unlimited quiz categories and questions.
  • Universal App : Single created binary can run on both iPhone & iPad.
  • iPhone with Blue theme and iPad with Gold themed.
  • Each question has 4 possible answers.
  • Category wise High Score.
  • Enable/Disable - Randomization of question/answers.
  • Fade in / out and sliding animations for attractive transitions.
  • Two data source formats can be used as quiz data - Property List (XML) and JSON. Configure which you are more comfortable with.
  • Score sharing on social networks Twitter & Facebook.
  • Integration in 10mins

How Does It Work?

When a user selects a quiz category, the gameplay screen appears. A question with four options will be displayed, and the user has to pick an answer in the given time.

Game also supports a configurable score system - the score can be configured for correct and incorrect answers. After the the quiz ends, user is taken to the final score screen.

Property List (XML) And JSON Configuration

If the data provided is Property List (XML) then configure as following in AppDelegate.m

[HAQuizDataManager sharedManager]._useSourceDataFormat = eHAQuizDataFormatPlistType;

After setting required format as eHAQuizDataFormatPlistType we need to provide the actual quiz data files in plist format, Basically there are two plist files need to be provided, One is for displaying the Quiz Categories and other one is for actual Quiz Questions data. Categories Plist is must be named QuizCategories and for quiz data files must be named considering the categoryid i.e Quiz_Category_category_id.

Category List file : Quiz_Categories

Photobucket

Quiz Data file for category_id = 1 : Quiz_Category_1

Photobucket

If the data provided in JSON, then configure as following in AppDelegate.m file, Naming of files same as explained above

[HAQuizDataManager sharedManager]._useSourceDataFormat = eHAQuizDataFormatJsonType;

JSON Quiz Categories file : Quiz_Categories content format

[{"category_image_path":"~/Documents/Quiz Data/Plist_Format/geographyIcon.png","category_id":"1","category_name":"General Knowledge","category_description":"General knowledge has been defined in differential psychology as \"culturally valued knowledge communicated by a range of non-specialist media\" and encompassing a wide subject range."},{"category_image_path":"~/Documents/Quiz Data/Plist_Format/geographyIcon.png","category_id":"2","category_name":"History","category_description":"Are you good in history…!!!, lets test it ;)"},{"category_image_path":"~/Documents/Quiz Data/Plist_Format/geographyIcon.png","category_id":"3","category_name":"Geography","category_description":"Test your knowledge about cities, states and countries "}]

Quiz Data file for categoryid = 1 : QuizCategory_1

[{"options":["United States","Australia","Newzeeland","Canada"],"Answer":"1","negative_points":"5","duration_in_seconds":"30","points":"10","question":"The largest producer of wool"},{"options":["Lake Baikal","Lake Chilka","Lake Titicaca","Caspian Sea"],"Answer":"3","negative_points":"5","duration_in_seconds":"30","points":"10","question":"Which is the largest lake in the World ?"},{"options":["Canada","West Bengal","India","London City"],"Answer":"3","negative_points":"5","duration_in_seconds":"30","points":"10","question":"The longest underground railway track in the World is at"},{"options":["Nagagode","Bangaluru","Namibia","Mysore"],"Answer":"2","negative_points":"5","duration_in_seconds":"30","points":"10","question":"The biggest Zoo in the World is at"},{"options":["Marina Tench","Gloria Trench","Deep Creep Trench","Caspian Trench"],"Answer":"0","negative_points":"5","duration_in_seconds":"30","points":"10","question":"Largest trench of the World"},{"options":["Canada","America","India","Brazil"],"Answer":"3","negative_points":"5","duration_in_seconds":"30","points":"10","question":"The largest coffee growing country in the World is"}]

Configuration Of Available Animation Types

Animation Types for the Quiz

1) FadeInOut upon clicking on options To choose this animation you just have to configure the following two lines in the view controller named HAFourOptionsQuizViewController.m

_animationType = eHAQuizGameAnimationFadeInFadeOutType; and #define kFadeOutAnimationDuration 0.3

2) Slide Animation To choose slide animation just set the _animationType i.e

_animationType = eHAQuizGamaAnimationSlideAnimationForOptionsType;

Randomize Your Questions and Answers

To Configure Randomization of Questions and Answers make changes in file name HAQuizDataManager.m #define kShuffleQuestions 1 //0 if questions shuffles not needed #define kShuffleOptions 1 //0 if options shuffles not needed

Configuration of Twitter And Facebook Social Sharing

Photobucket

Steps for using social sharing, in class file HAShareManager.m you need to provide the following details,

Photobucket

For Facebook you need to provide the facebook appid in file QUIZ_APP-Info.plist. Prefix your facebook appid with a string "fb" ex: fb12345678 where "12345678" is your facebook app_id.

Photobucket

Single App License $49.99
Download
Multiple App License $179.99
Download
24 comment Do you like this product? Have any Questions? Post a Comment. Leave a comment

More item by Heaven Apps

Survey Component for iPhone apps iOS 6
$29.99
5.00 (2 votes)
by Heaven Apps
Picture Quiz Starter kit - Universal App
$49.99
4.90 (20 votes)
by Heaven Apps
Quiz App Starter kit - All In One
$99.99
4.71 (7 votes)
by Heaven Apps