Code Monkey home page Code Monkey logo

strooptestnew's Introduction

StroopTest OVERALL PROGRAM DESIGN

Settings Constants are kept in STSettings.h

Classes

  • STScene: keeps track of the card, which selection buttons are appropriate, the score so far, and the elapsed time.
  • Card: keeps a Color, plus an NSArray of randomly-ordered color names
  • STScores: Deprecated: replaced by STScoreVC and CoreData

STViewController.m is where everything starts

  • Creates a new "Scene"
  • When you press the start button, start an NSTimer that
  • The Start button simultaneously kicks off a modal segue to STSceneVC
  • prepareForSegue sends a STTest object, plus a STScene object to STSceneVC

STSceneVC shows the card

STSceneVC.h defines , which lets the delegate know when the score has increased.

STScoreVC displays a TableView of scores kept in a CoreData

Change Log

Version 1.41.1 (Jul 2020)

  • Now works on iOS 13

Version 1.41 (May2015)

  • fixed crash in instructions page caused by incorrect STColors

Version 1.4 (May2015)

  • Recompiled for iOS 8.3
  • STColors is now the main color object (instead of switching between UIColor and STColors)

Version 1.3 (Aug2014)

  • Instructions page uses real examples.

Version 1.2 (Feb2014)

  • Results page looks much better: uses custom tableviewcell labels.
  • Instructions now uses unwind segue
  • All results are saved to a much more efficient Core Data file
  • Results are also saved to a real CSV file, easily readable in Excel

Version 1.1 (June2013)

  • Shipped in Feb 2014
  • UX overhauled for iOS 7
  • Results (in JSON form) can be transfered to iTunes for processing on a PC or Mac.

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.