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
###################################################### | |
##### iOS & Android localisation files generator ##### | |
###################################################### | |
echo "============================BEGIN==============================" | |
if [ "$1" = "android" ]; then | |
Babelish csv2android | |
else | |
Babelish csv2strings |
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
Section | KEY | iOS | Android | Action | Notes | English | German | |
---|---|---|---|---|---|---|---|---|
General | general_success | x | x | Success | Erfolg | |||
general_continue | x | x | Continue | Fortsetzen | ||||
Login | login_button | x | / | iOS | iOS only export | iOS nur exportieren | ||
login_button | / | x | Android | Android only export | Android nur exportieren | |||
login_button | / | / | SKIP | Not exported | Nicht exportiert |
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
import UIKit | |
class PannableViewController: ViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
let panGesture = UIPanGestureRecognizer(target: self, action: #selector(panGesture(_:))) | |
view.addGestureRecognizer(panGesture) | |
} | |
} |
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
// | |
// UITabBarController+extra.m | |
// | |
// Created by Borut Tomažin on 10/1/12. | |
// Copyright (c) 2012 Borut Tomažin. All rights reserved. | |
// | |
#import "UITabBarController+extra.h" | |
#define kAnimationDuration .3 |