Skip to content

Local Quiz/Test administration and management for iOS.

Notifications You must be signed in to change notification settings

LostStudent/iOS-Quizkit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iOS-Quizkit

A fork of iOS-Quizkit to further develop the project:

  • intending to add unit tests with travis integration
  • new question types
  • base view controllers for question types
  • hopefully a pull request back to the iOS-QuizKit repo or separate cocoa pod
  • Have added scoring to the demo project and will continue to develop as View Controllers are added.

Build Status

iOS-Quizkit is an Objective-C API for creating applications with quiz and test features. For flexibility, the API focuses completely on the model layer and makes no attempt to offer a UI solution.

Included is a quick sample app with the library integrated. It provides an example of how the API might be integrated into an application.

Features:

  • Multiple choice questions
  • Open response questions with optional Levenshtein distance approximation
  • True/False questions
  • Full NSCodor support for quizzes, questions, and sessions.
  • Load quizzes from user created Plists and JSON.
  • Optional User Data on most structures.
  • Automatic or custom scoring
  • Retroactive session grading
// Load Quiz from user plist
[ISQuizParser quizFromContentsOfPlist:...];

// Load Quiz from JSON file
[ISQuizParser quizFromContentsOfJSON:...];

// Load Quiz from bundle
[ISQuizParser quizNamed:...];
// Start a new quiz session
ISSession* session = [ISSession session];
[session start:quiz];

// Submit answers
[session setResponse:[ISOpenQuestionResponse responseWithResponse:...] atIndex:0];
[session setResponse:[ISTrueFalseQuestionResponse responseWithResponse:...] atIndex:1];

[session stop];

// Grading
ISGradingResult* result = [quiz gradeSession:session];
NSLog(@"Score: %i/%i", result.points, result.pointsPossible);

About

Local Quiz/Test administration and management for iOS.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 99.7%
  • Ruby 0.3%