Cleanup and ready for Colorpicker
This commit is contained in:
@ -15,7 +15,6 @@
|
|||||||
@property (nonatomic, strong) UIWindow *mainAppRootWindow;
|
@property (nonatomic, strong) UIWindow *mainAppRootWindow;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
||||||
// we use this to respring our device!
|
// we use this to respring our device!
|
||||||
@interface NSTask : NSObject
|
@interface NSTask : NSObject
|
||||||
@property (copy) NSArray *arguments;
|
@property (copy) NSArray *arguments;
|
||||||
|
@ -56,30 +56,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
-(void)followMe {
|
|
||||||
NSURL *twitter = [NSURL URLWithString:@"https://twitter.com/mac_user669"];
|
|
||||||
[[UIApplication sharedApplication] openURL:twitter options:@{} completionHandler:nil];
|
|
||||||
}
|
|
||||||
|
|
||||||
-(void)followiKA {
|
|
||||||
NSURL *twitter = [NSURL URLWithString:@"https://twitter.com/iKilledAppl3"];
|
|
||||||
[[UIApplication sharedApplication] openURL:twitter options:@{} completionHandler:nil];
|
|
||||||
}
|
|
||||||
|
|
||||||
-(void)followSkitty {
|
|
||||||
NSURL *twitter = [NSURL URLWithString:@"https://twitter.com/SkittyBlock"];
|
|
||||||
[[UIApplication sharedApplication] openURL:twitter options:@{} completionHandler:nil];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
-(void)respring {
|
|
||||||
NSTask *task = [[[NSTask alloc] init] autorelease];
|
|
||||||
[task setLaunchPath:@"/usr/bin/killall"];
|
|
||||||
[task setArguments:[NSArray arrayWithObjects:@"backboardd", nil]];
|
|
||||||
[task launch];
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
-(void)doAFancyRespring {
|
-(void)doAFancyRespring {
|
||||||
|
|
||||||
UIAlertController *confirmRespringAlert = [UIAlertController alertControllerWithTitle:@"Apply Settings?" message:@"This will respring your device." preferredStyle:UIAlertControllerStyleActionSheet];
|
UIAlertController *confirmRespringAlert = [UIAlertController alertControllerWithTitle:@"Apply Settings?" message:@"This will respring your device." preferredStyle:UIAlertControllerStyleActionSheet];
|
||||||
|
Reference in New Issue
Block a user