Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[taskya11y] accessibility example (iOS)
- Loading branch information
1 parent
12a1618
commit 1b0e05a
Showing
53 changed files
with
1,302 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
|
||
using Foundation; | ||
using UIKit; | ||
|
||
namespace TaskyA11y | ||
{ | ||
// The UIApplicationDelegate for the application. This class is responsible for launching the | ||
// User Interface of the application, as well as listening (and optionally responding) to | ||
// application events from iOS. | ||
[Register ("AppDelegate")] | ||
public partial class AppDelegate : UIApplicationDelegate | ||
{ | ||
// class-level declarations | ||
|
||
public override UIWindow Window { | ||
get; | ||
set; | ||
} | ||
|
||
|
||
public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) | ||
{ | ||
#region Theme | ||
UINavigationBar.Appearance.TintColor = UIColor.FromRGB (0xE7, 0x96, 0x3B); // E7963B dark-orange | ||
UINavigationBar.Appearance.BarTintColor = UIColor.FromRGB (0xF7, 0xE2, 0x8B); // F7E28B light-orange | ||
|
||
UINavigationBar.Appearance.SetTitleTextAttributes(new UITextAttributes() { | ||
TextColor = UIColor.FromRGB (0xE7, 0x96, 0x3B), // E7963B dark-orange | ||
TextShadowColor = UIColor.Clear | ||
}); | ||
#endregion | ||
|
||
return true; | ||
} | ||
|
||
// | ||
// This method is invoked when the application is about to move from active to inactive state. | ||
// | ||
// OpenGL applications should use this method to pause. | ||
// | ||
public override void OnResignActivation (UIApplication application) | ||
{ | ||
} | ||
|
||
// This method should be used to release shared resources and it should store the application state. | ||
// If your application supports background exection this method is called instead of WillTerminate | ||
// when the user quits. | ||
public override void DidEnterBackground (UIApplication application) | ||
{ | ||
} | ||
|
||
// This method is called as part of the transiton from background to active state. | ||
public override void WillEnterForeground (UIApplication application) | ||
{ | ||
} | ||
|
||
// This method is called when the application is about to terminate. Save data, if needed. | ||
public override void WillTerminate (UIApplication application) | ||
{ | ||
} | ||
} | ||
} | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
<key>UIDeviceFamily</key> | ||
<array> | ||
<integer>1</integer> | ||
</array> | ||
<key>UIMainStoryboardFile</key> | ||
<string>MainStoryboard</string> | ||
<key>UISupportedInterfaceOrientations</key> | ||
<array> | ||
<string>UIInterfaceOrientationPortrait</string> | ||
</array> | ||
<key>CFBundleLocalizations</key> | ||
<array> | ||
<string>de</string> | ||
<string>es</string> | ||
<string>ja</string> | ||
</array> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>MinimumOSVersion</key> | ||
<string>9.0</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.conceptdevelopment.Toda</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1</string> | ||
<key>CFBundleDisplayName</key> | ||
<string>Toda</string> | ||
<key>UILaunchStoryboardName</key> | ||
<string>LaunchScreen</string> | ||
<key>XSAppIconAssets</key> | ||
<string>Resources/Images.xcassets/AppIcon.appiconset</string> | ||
<key>CFBundleName</key> | ||
<string>Toda</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
|
||
using Foundation; | ||
using UIKit; | ||
|
||
namespace TaskyA11y | ||
{ | ||
public class Application | ||
{ | ||
// This is the main entry point of the application. | ||
static void Main (string[] args) | ||
{ | ||
// if you want to use a different Application Delegate class from "AppDelegate" | ||
// you can specify it here. | ||
UIApplication.Main (args, null, "AppDelegate"); | ||
} | ||
} | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
242 changes: 242 additions & 0 deletions
242
TaskyA11y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,242 @@ | ||
{ | ||
"images": [ | ||
{ | ||
"filename": "icon-spotlight-29.png", | ||
"size": "29x29", | ||
"scale": "1x", | ||
"idiom": "iphone" | ||
}, | ||
{ | ||
"filename": "icon-spotlight-29@2x.png", | ||
"size": "29x29", | ||
"scale": "2x", | ||
"idiom": "iphone" | ||
}, | ||
{ | ||
"filename": "icon-spotlight-29@3x.png", | ||
"size": "29x29", | ||
"scale": "3x", | ||
"idiom": "iphone" | ||
}, | ||
{ | ||
"filename": "icon-spotlight-40@2x.png", | ||
"size": "40x40", | ||
"scale": "2x", | ||
"idiom": "iphone" | ||
}, | ||
{ | ||
"filename": "icon-spotlight-40@3x.png", | ||
"size": "40x40", | ||
"scale": "3x", | ||
"idiom": "iphone" | ||
}, | ||
{ | ||
"filename": "icon-app-57.png", | ||
"size": "57x57", | ||
"scale": "1x", | ||
"idiom": "iphone" | ||
}, | ||
{ | ||
"filename": "icon-app-57@2x.png", | ||
"size": "57x57", | ||
"scale": "2x", | ||
"idiom": "iphone" | ||
}, | ||
{ | ||
"filename": "icon-app-60@2x.png", | ||
"size": "60x60", | ||
"scale": "2x", | ||
"idiom": "iphone" | ||
}, | ||
{ | ||
"filename": "Icon-app-60@3x.png", | ||
"size": "60x60", | ||
"scale": "3x", | ||
"idiom": "iphone" | ||
}, | ||
{ | ||
"filename": "icon-spotlight-29.png", | ||
"size": "29x29", | ||
"scale": "1x", | ||
"idiom": "ipad" | ||
}, | ||
{ | ||
"filename": "icon-spotlight-29@2x.png", | ||
"size": "29x29", | ||
"scale": "2x", | ||
"idiom": "ipad" | ||
}, | ||
{ | ||
"filename": "icon-spotlight-40.png", | ||
"size": "40x40", | ||
"scale": "1x", | ||
"idiom": "ipad" | ||
}, | ||
{ | ||
"filename": "icon-spotlight-40@2x.png", | ||
"size": "40x40", | ||
"scale": "2x", | ||
"idiom": "ipad" | ||
}, | ||
{ | ||
"filename": "icon-spotlight-50.png", | ||
"size": "50x50", | ||
"scale": "1x", | ||
"idiom": "ipad" | ||
}, | ||
{ | ||
"filename": "icon-spotlight-50@2x.png", | ||
"size": "50x50", | ||
"scale": "2x", | ||
"idiom": "ipad" | ||
}, | ||
{ | ||
"filename": "icon-app-84@2x.png", | ||
"size": "83.5x83.5", | ||
"scale": "2x", | ||
"idiom": "ipad" | ||
}, | ||
{ | ||
"filename": "icon-app-72.png", | ||
"size": "72x72", | ||
"scale": "1x", | ||
"idiom": "ipad" | ||
}, | ||
{ | ||
"filename": "icon-app-72@2x.png", | ||
"size": "72x72", | ||
"scale": "2x", | ||
"idiom": "ipad" | ||
}, | ||
{ | ||
"filename": "icon-app-76.png", | ||
"size": "76x76", | ||
"scale": "1x", | ||
"idiom": "ipad" | ||
}, | ||
{ | ||
"filename": "icon-app-76@2x.png", | ||
"size": "76x76", | ||
"scale": "2x", | ||
"idiom": "ipad" | ||
}, | ||
{ | ||
"size": "60x60", | ||
"scale": "2x", | ||
"idiom": "car" | ||
}, | ||
{ | ||
"size": "60x60", | ||
"scale": "3x", | ||
"idiom": "car" | ||
}, | ||
{ | ||
"role": "notificationCenter", | ||
"size": "24x24", | ||
"subtype": "38mm", | ||
"scale": "2x", | ||
"idiom": "watch" | ||
}, | ||
{ | ||
"role": "notificationCenter", | ||
"size": "27.5x27.5", | ||
"subtype": "42mm", | ||
"scale": "2x", | ||
"idiom": "watch" | ||
}, | ||
{ | ||
"role": "companionSettings", | ||
"size": "29x29", | ||
"scale": "2x", | ||
"idiom": "watch" | ||
}, | ||
{ | ||
"role": "companionSettings", | ||
"size": "29x29", | ||
"scale": "3x", | ||
"idiom": "watch" | ||
}, | ||
{ | ||
"role": "appLauncher", | ||
"size": "40x40", | ||
"subtype": "38mm", | ||
"scale": "2x", | ||
"idiom": "watch" | ||
}, | ||
{ | ||
"role": "longLook", | ||
"size": "44x44", | ||
"subtype": "42mm", | ||
"scale": "2x", | ||
"idiom": "watch" | ||
}, | ||
{ | ||
"role": "quickLook", | ||
"size": "86x86", | ||
"subtype": "38mm", | ||
"scale": "2x", | ||
"idiom": "watch" | ||
}, | ||
{ | ||
"role": "quickLook", | ||
"size": "98x98", | ||
"subtype": "42mm", | ||
"scale": "2x", | ||
"idiom": "watch" | ||
}, | ||
{ | ||
"size": "16x16", | ||
"scale": "1x", | ||
"idiom": "mac" | ||
}, | ||
{ | ||
"size": "16x16", | ||
"scale": "2x", | ||
"idiom": "mac" | ||
}, | ||
{ | ||
"size": "32x32", | ||
"scale": "1x", | ||
"idiom": "mac" | ||
}, | ||
{ | ||
"size": "32x32", | ||
"scale": "2x", | ||
"idiom": "mac" | ||
}, | ||
{ | ||
"size": "128x128", | ||
"scale": "1x", | ||
"idiom": "mac" | ||
}, | ||
{ | ||
"size": "128x128", | ||
"scale": "2x", | ||
"idiom": "mac" | ||
}, | ||
{ | ||
"size": "256x256", | ||
"scale": "1x", | ||
"idiom": "mac" | ||
}, | ||
{ | ||
"size": "256x256", | ||
"scale": "2x", | ||
"idiom": "mac" | ||
}, | ||
{ | ||
"size": "512x512", | ||
"scale": "1x", | ||
"idiom": "mac" | ||
}, | ||
{ | ||
"size": "512x512", | ||
"scale": "2x", | ||
"idiom": "mac" | ||
} | ||
], | ||
"info": { | ||
"version": 1, | ||
"author": "xcode" | ||
} | ||
} |
Binary file added
BIN
+3.95 KB
TaskyA11y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-app-57.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10 KB
TaskyA11y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-app-57@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+17 KB
TaskyA11y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-app-57@3x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.28 KB
TaskyA11y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-app-60.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.6 KB
TaskyA11y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-app-60@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+18.3 KB
TaskyA11y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-app-60@3x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.45 KB
TaskyA11y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-app-72.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13.7 KB
TaskyA11y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-app-72@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.83 KB
TaskyA11y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-app-76.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.4 KB
TaskyA11y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-app-76@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.9 KB
TaskyA11y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-app-84@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.67 KB
...A11y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-spotlight-29.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.07 KB
...y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-spotlight-29@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.84 KB
...y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-spotlight-29@3x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.59 KB
...A11y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-spotlight-40.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.19 KB
...y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-spotlight-40@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.6 KB
...y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-spotlight-40@3x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.33 KB
...A11y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-spotlight-50.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.41 KB
...y/TodaiOS/Resources/Images.xcassets/AppIcon.appiconset/icon-spotlight-50@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.