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
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.
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
Quiz Data file for category_id = 1 : Quiz_Category_1
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"}]
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;
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
Steps for using social sharing, in class file HAShareManager.m you need to provide the following details,
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.
More item by Heaven Apps
Survey Component for iPhone apps iOS 6
Picture Quiz Starter kit - Universal App
Quiz App Starter kit - All In One







