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
# This script changes the Carrier string in the iPhone simulator | |
# to anything you want. It needs python3, and currently works when | |
# your Simulator is set to English. For other languages, change the | |
# 'language_code' variable to your language. | |
# | |
# This works for Xcode 7 and iOS 9, I havent tested on anything else. | |
# | |
# Usage: 'python3 carrier.py new_carrier' | |
# | |
# Bob Vork, 2015 |
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
#!/usr/bin/python | |
import os | |
import argparse | |
from subprocess import call | |
""" | |
This script should run with any recent version of python (2.7 or 3+) | |
For this to run, sketchtool should be available (download from http://bohemiancoding.com/sketch/tool/ ) |
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
-(void)checkPassword { | |
[[MSAPIController sharedAPIController] authenticateWithPassword:self.passField.text | |
onComplete:^(BOOL success, NSInteger statusCode) { | |
if(success) { | |
[self proceed]; | |
} else { | |
[self loginFailed]; | |
} | |
}]; | |
} |
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
// | |
// Document.m | |
// Wrappers | |
// | |
#import "Document.h" | |
#define FileName01 @"testfile1.txt" | |
#define FileName02 @"testfile2.txt" |