Giter VIP home page Giter VIP logo

htkultimateparentalgate's Introduction

HTKUltimateParentalGate

The Ultimate Parental Gate is designed to help block children from accessing in app purchases within an app. Most "Parental Gates" simply ask a math question or provide a question that a child can figure out by randomly selecting an item on the screen. This is unique in it requires both math and dexterity skills to succeed, which typically a child does not have at a young age.

The way it works is a view is presented to the user, which asks a simple math question in sentence form. The possible answers are displayed inside a number of balls that move around the screen at a random rate. The user has to then tap the answer and drag it to a small square in the corner of the view before time runs out. If the user selects the wrong answer too many times, it will exit the gate. If the user makes too many overall attempts in a row, it will lock the user out of the app for a few minutes (all of these values are customizable). Thus, making this the "Ultimate" Parental Gate.

This is the same Parental Gate used in the popular special needs app, SpeechBox for iPad (http://www.speechboxapp.com). Therefore, this has been tested for over a year in both home and clinical environments, and have yet had a child get past the gate. This doesn't mean it's perfect, but it provides more security than other solutions.

If anyone can help localizing this, please create and issue or pull request.

Adding to your project:

Cocoapods

CocoaPods is the recommended way to add HTKDragAndDropCollectionViewLayout to your project.

  1. Add a pod entry for HTKUltimateParentalGate to your Podfile pod 'HTKUltimateParentalGate', '~> 0.0.4'
  2. Install the pod(s) by running pod install.
  3. Import HTKParentalGateViewController.h where you will use it.
  4. Register for the HTKParentalGateValidationStateChangedNotification notification in the class you want to receive state changes to. You'll receive notifications such as when the user failed or passed successfully.
  5. The notification returns the HTKParentalGateValidationState value in the userInfo dictionary in the HTKParentalGateValidationStateChangedKey key, which is the validation state of the gate.
  6. The gate automatically dismisses on failed/success attempts and displays and alertView on failed attempt to the user. You can customize the messages in the constants file. At a minimum you just need to present the next view on success.
  7. If you would like to add/modify the questions, they are located in the HTKParentalGateQuestions.plist.

Sample video:

YouTube Sample Video

Screen shot:

Sample Screenshot

Change log:

v0.0.1: Initial project commit. v0.0.2: Forgot to include plist in original pod. v0.0.3: Fix to podspec. v0.0.4: Added full screen option and fixed bug w/ popovers.

Questions? Email: [email protected] or Web: http://www.henrytkirk.info

htkultimateparentalgate's People

Contributors

henrytkirk avatar

Watchers

James Cloos avatar Carabineiro avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.