Skip to content

Instantly share code, notes, and snippets.

View wangpy's full-sized avatar

Brian Ping-Yao Wang wangpy

View GitHub Profile
@wangpy
wangpy / iPad-Playgrounds-issue-list.txt
Created July 15, 2016 07:55
Issues for iPad Playgrounds
Tested with Playgrounds app in iOS10 beta 2
1. [27278653] Getting inputNode of AVAudioEngine results in execution crash
2. [27278869] Setting PlaygroundPage.current.needsIndefiniteExecution to true after assigning PlaygroundRemoteLiveViewProxy delegate results in execution crash
3. [27279207] Opening playgrounds containing /*#-editable-code*/ or /*#-end-editable-code*/ as the only line in Contents.swift causes Playgrounds app crash
4. [27260643] No sounds played using outputProvider of RemoteIO AUAudioUnit
private bool checkID(string inputStr)
{
int[] alphabetValueArray = {
10, 11, 12, 13, 14, 15, 16, 17,
34, 18, 19, 20, 21, 22, 35, 23,
24, 25, 26, 27, 28, 29, 32, 30,
31, 33 };
int[] weightArray = { 1, 9, 8, 7, 6, 5, 4, 3, 2, 1, 1 };
if (inputStr.Length != 10) {
return false;