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
// 宣告一個 recognizer, 並加到需要偵測該手勢的 UIView 元件上 | |
- (void)viewDidLoad { | |
UISwipeGestureRecognizer* recognizer; | |
// handleSwipeFrom 是偵測到手勢後,所要呼叫的方法 | |
recognizer = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(handleSwipeFrom)]; | |
// 不同的 Recognizer 有不同的實體變數 | |
// 例如 SwipeGesture 可以指定方向 | |
// 而 TapGesture 則可以指定次數 | |
recognizer.direction = UISwipeGestureRecognizerDirectionUp | |
[self.view addGestureRecognizer:recognizer]; |
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
# Auto-generated by EclipseNSIS Script Wizard | |
# 2011/7/20 上午 10:21:09 | |
!define NAME "civ5zh" | |
!define FULLNAME "Civilization V 正簡雙漢化" | |
!define VERSION "1.0" | |
Name "${FULLNAME} ${VERSION}" | |
# General Symbol Definitions |
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
# -*- coding: utf-8 -*- | |
import os, sys | |
import shutil | |
dirOpencc = "D:\\Apps\\opencc\\" | |
dirOrigin = "E:\\Steam\\steamapps\\common\\sid meier's civilization v\\assets\\" | |
dirOutput = "E:\\work\\civ5zh\\Sources\\assets\\" | |
specialFiles = ['Gameplay\\XML\\NewText\\CIV5Credits_zh_CN.txt', |
NewerOlder