Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
### Formulaic ###
Formulaic is a sample iPhone app that illustrates how to effectively use the
iPhone Accessibility API. Using the Accessibility API allows your app to work
correctly with VoiceOver.
The app draws a graph of a formula and allows the user to change certain
constants in the formula, however its main purpose is to illustrate the
iPhone Accessibility API.
The accessibility additions in the app demonstrate the following:
How to use accessibilityLabel, accessibilityTraits and
isAccessibilityElement to control the accessibility of the app.
How to programmatically set values through accessibility to change
various accessibility attributes.
How to use notifications to inform accessibility that an event has
How to use the accessibility container protocol to transform a single
UIView that has multiple components into separate accessible elements.
How to use best practices to craft accessibilityLabels and
To test the application, build and run Formulaic in iPhone Simulator. Turn on
Accessibility Inspector, located in Settings > General > Accessibility.
While Accessibility Inspector is active, single-click a user interface element
to inspect its accessibility information and double-click an element to
Alternatively, sync Formulaic to iPhone and turn on VoiceOver. Touch the
user interface elements to hear how the accessibility information is presented
to a VoiceOver user.
Accessibility Programming Guide for iPhone OS
Testing the Accessibility of Your iPhone Application
iPhone User Guide for iPhone OS 3.1 Software
iOS SDK 4.0
iPhone OS 3.2 or later
UIApplication's delegate class i.e. the central controller of the application.
The class responsible for drawing the graph, based on the formula.
A UITableViewCell subclass that presents data from the formula in a tabular form.
The main view controller of the app.
The main entry point for the Formulaic application.
A prefix header.
A picture used for a button in the on state.
A picture used for a button in the off state.
A picture used for a button.
A sound that is played when a specific button is pressed.
An xib file for the main view.
A xib file for the main window.
The Info plist file.
Copyright (C) 2009-2010 Apple Inc. All rights reserved.