This file contains hidden or 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
| var map = [[Int]]() | |
| var path = [[Int]]() | |
| var level = 3 | |
| var stack = [Int]() | |
| func nextSetp(currentStep: Int, currentIndex: Int) { | |
| let value = map[currentStep][currentIndex] |
This file contains hidden or 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
| // | |
| // LaunchController.swift | |
| // Combo | |
| // | |
| // Created by Liyao on 2014/10/27. | |
| // Copyright (c) 2014年 swiftTaipei. All rights reserved. | |
| // | |
| import UIKit | |
| import AVFoundation |
This file contains hidden or 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
| // | |
| // ViewController.swift | |
| // constrainAnimation | |
| // | |
| // Created by Liyao on 2014/10/30. | |
| // Copyright (c) 2014年 swiftTaipei. All rights reserved. | |
| // | |
| import UIKit |
This file contains hidden or 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
| public class MainActivity extends Activity { | |
| @Override | |
| protected void onCreate(Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); | |
| setContentView(R.layout.activity_main); | |
| // Setup Data | |
| String[] values = new String[] { "Android", "iPhone", "WindowsMobile", | |
| "Blackberry", "WebOS", "Ubuntu", "Windows7", "Max OS X", | |
| "Linux", "OS/2", "Ubuntu", "Windows7", "Max OS X", "Linux", |
NewerOlder