-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added action menu for running actions in the app Added (LDRestart, Reboot, Userspace Reboot, Toggle Tweak Injection) actions Added action confirmation and description alerts Repackaged Preference headers into the framework Prevent stripping debug symbols
- Loading branch information
1 parent
d716a67
commit 4063a21
Showing
65 changed files
with
883 additions
and
540 deletions.
There are no files selected for viewing
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
Preferences/PSControlTableCell.h → ...es.framework/Headers/PSControlTableCell.h
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#import "PSTableCell.h" | ||
#import <Preferences/PSTableCell.h> | ||
|
||
@interface PSControlTableCell : PSTableCell | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
Preferences/PSDetailController.h → ...es.framework/Headers/PSDetailController.h
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#import "PSViewController.h" | ||
#import <Preferences/PSViewController.h> | ||
|
||
@class UIKeyboard, PSEditingPane, UIView; | ||
|
||
|
File renamed without changes.
8 changes: 0 additions & 8 deletions
8
Preferences/PSEditableListController.h → ...mework/Headers/PSEditableListController.h
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
2 changes: 1 addition & 1 deletion
2
Preferences/PSEditableTableCell.h → ...s.framework/Headers/PSEditableTableCell.h
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,5 @@ | ||
/** | ||
* @Author: Dana Buehre <creaturesurvive> | ||
* @Date: 17-09-2016 2:51:39 | ||
* @Email: [email protected] | ||
* @Project: motuumLS | ||
* @Filename: PSListController.h | ||
* @Last modified by: creaturesurvive | ||
* @Last modified time: 08-07-2017 6:23:13 | ||
* @Copyright: Copyright © 2014-2017 CreatureSurvive | ||
*/ | ||
|
||
|
||
#import "PSViewController.h" | ||
#import <UIKit/UITableView.h> | ||
#import <Preferences/PSViewController.h> | ||
|
||
@class PSRootController, PSSpecifier, PSTableCell; | ||
|
||
|
@@ -154,4 +143,5 @@ | |
- (void)_keyboardDidShow:(id)sender; | ||
- (void)_keyboardWillHide:(id)sender; | ||
- (void)_keyboardDidHide:(id)sender; | ||
- (void)_returnKeyPressed:(id)sender; | ||
@end |
2 changes: 1 addition & 1 deletion
2
Preferences/PSListItemsController.h → ...framework/Headers/PSListItemsController.h
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#import "PSListController.h" | ||
#import <Preferences/PSListController.h> | ||
|
||
@class PSSpecifier; | ||
|
||
|
2 changes: 2 additions & 0 deletions
2
Preferences/PSRootController.h → ...nces.framework/Headers/PSRootController.h
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
2 changes: 1 addition & 1 deletion
2
Preferences/PSSliderTableCell.h → ...ces.framework/Headers/PSSliderTableCell.h
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
2 changes: 1 addition & 1 deletion
2
Preferences/PSSpecifier.h → ...eferences.framework/Headers/PSSpecifier.h
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#import "PSTableCell.h" | ||
#import <Preferences/PSTableCell.h> | ||
#include <sys/cdefs.h> | ||
|
||
__BEGIN_DECLS | ||
|
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
Preferences/PSSwitchTableCell.h → ...ces.framework/Headers/PSSwitchTableCell.h
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#import "PSControlTableCell.h" | ||
#import <Preferences/PSControlTableCell.h> | ||
|
||
@class UIActivityIndicatorView; | ||
|
||
|
File renamed without changes.
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
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
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
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// | ||
// Localizable.h | ||
// TweakSettings | ||
// | ||
// Created by Dana Buehre on 5/22/21. | ||
// | ||
|
||
#ifndef LOCALIZABLE_H | ||
#define LOCALIZABLE_H | ||
|
||
#define RESPRING_TITLE_KEY @"RESPRING_TITLE_KEY" | ||
#define SAFEMODE_TITLE_KEY @"SAFEMODE_TITLE_KEY" | ||
#define UICACHE_TITLE_KEY @"UICACHE_TITLE_KEY" | ||
#define LDRESTART_TITLE_KEY @"LDRESTART_TITLE_KEY" | ||
#define REBOOT_TITLE_KEY @"REBOOT_TITLE_KEY" | ||
#define USREBOOT_TITLE_KEY @"USREBOOT_TITLE_KEY" | ||
#define TWEAKINJECT_TITLE_KEY @"TWEAKINJECT_TITLE_KEY" | ||
|
||
#define TWEAKINJECT_SUBTITLE_KEY @"TWEAKINJECT_SUBTITLE_KEY" | ||
#define UICACHE_SUBTITLE_KEY @"UICACHE_SUBTITLE_KEY" | ||
#define SAFEMODE_SUBTITLE_KEY @"SAFEMODE_SUBTITLE_KEY" | ||
#define RESPRING_SUBTITLE_KEY @"RESPRING_SUBTITLE_KEY" | ||
#define LDRESTART_SUBTITLE_KEY @"LDRESTART_SUBTITLE_KEY" | ||
#define REBOOT_SUBTITLE_KEY @"REBOOT_SUBTITLE_KEY" | ||
#define USREBOOT_SUBTITLE_KEY @"USREBOOT_SUBTITLE_KEY" | ||
|
||
#define ROOT_NAVIGATION_TITLE_KEY @"ROOT_NAVIGATION_TITLE_KEY" | ||
#define ROOT_NAVIGATION_RIGHT_TITLE_KEY @"ROOT_NAVIGATION_RIGHT_TITLE_KEY" | ||
|
||
#define ALERT_CANCEL_TITLE_KEY @"ALERT_CANCEL_TITLE_KEY" | ||
#define ALERT_ACTION_MESSAGE_KEY @"ALERT_ACTION_MESSAGE_KEY" | ||
|
||
#endif //LOCALIZABLE_H |
File renamed without changes.
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 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
File renamed without changes.
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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// | ||
// TSActionType.h | ||
// TweakSettings | ||
// | ||
// Created by Dana Buehre on 5/30/21. | ||
// | ||
// | ||
|
||
#ifndef TSActionType_h | ||
#define TSActionType_h | ||
|
||
@class UIAlertController; | ||
@class UIAlertAction; | ||
|
||
extern NSString *const TSActionTypeRespring; | ||
extern NSString *const TSActionTypeSafemode; | ||
extern NSString *const TSActionTypeUICache; | ||
extern NSString *const TSActionTypeLDRestart; | ||
extern NSString *const TSActionTypeReboot; | ||
extern NSString *const TSActionTypeUserspaceReboot; | ||
extern NSString *const TSActionTypeTweakInject; | ||
|
||
extern inline NSString *TitleForActionType(NSString *type); | ||
extern inline NSString *SubtitleForActionType(NSString *type); | ||
extern inline int HandleActionForType(NSString *actionType); | ||
extern inline UIAlertController *ActionAlertForType(NSString *actionType); | ||
extern inline UIAlertController *ActionListAlert(id sender); | ||
extern inline UIMenu *ActionListMenu(id sender) API_AVAILABLE(ios(13.0)); | ||
|
||
#endif /* TSActionType_h */ |
Oops, something went wrong.