diff --git a/.DS_Store b/.DS_Store index b5305fb..453ae65 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.theos/_/DEBIAN/control b/.theos/_/DEBIAN/control index 8495745..2f7955b 100644 --- a/.theos/_/DEBIAN/control +++ b/.theos/_/DEBIAN/control @@ -1,6 +1,6 @@ Package: me.shymemoriees.tick Name: Tick -Depends: mobilesubstrate, ws.hbang.common (>= 1.11), firmware (<< 13) +Depends: mobilesubstrate, ws.hbang.common (>= 1.14) Architecture: iphoneos-arm Description: Bring the 3D Touch tick sound for Apps from iOS 13 to iOS 12 and lower Maintainer: ShyMemoriees @@ -9,5 +9,5 @@ Section: Tweaks Depiction: https://repo.shymemoriees.me/depictions/tck/index.html SileoDepiction: https://repo.shymemoriees.me/depictions/tck/tck.json Icon: https://repo.shymemoriees.me/depictions/tck/assets/icon.png -Version: 1.0 -Installed-Size: 392 +Version: 1.1 +Installed-Size: 748 diff --git a/.theos/_/Library/MobileSubstrate/DynamicLibraries/Tick.dylib b/.theos/_/Library/MobileSubstrate/DynamicLibraries/Tick.dylib index 992df57..f2be92b 100755 Binary files a/.theos/_/Library/MobileSubstrate/DynamicLibraries/Tick.dylib and b/.theos/_/Library/MobileSubstrate/DynamicLibraries/Tick.dylib differ diff --git a/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/Banner.png b/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/Banner.png index 311e9a3..7570ebf 100644 Binary files a/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/Banner.png and b/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/Banner.png differ diff --git a/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/Root.plist b/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/Root.plist index 095077c..fe195a8 100644 Binary files a/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/Root.plist and b/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/Root.plist differ diff --git a/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/TickPrefs b/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/TickPrefs index a05d847..51eab9f 100755 Binary files a/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/TickPrefs and b/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/TickPrefs differ diff --git a/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/icon.png b/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/icon.png index edf406e..77f84c9 100644 Binary files a/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/icon.png and b/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/icon.png differ diff --git a/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/icon@2x.png b/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/icon@2x.png index 08f8564..5808ac3 100644 Binary files a/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/icon@2x.png and b/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/icon@2x.png differ diff --git a/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/tick.png b/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/tick.png index f7e8a3f..18501fc 100644 Binary files a/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/tick.png and b/.theos/_/Library/PreferenceBundles/TickPrefs.bundle/tick.png differ diff --git a/.theos/last_package b/.theos/last_package index 71d3ee7..1911b38 100644 --- a/.theos/last_package +++ b/.theos/last_package @@ -1 +1 @@ -./packages/me.shymemoriees.tick_1.0_iphoneos-arm.deb +./packages/me.shymemoriees.tick_1.1_iphoneos-arm.deb diff --git a/.theos/obj/Tick.dylib b/.theos/obj/Tick.dylib index 992df57..f2be92b 100755 Binary files a/.theos/obj/Tick.dylib and b/.theos/obj/Tick.dylib differ diff --git a/.theos/obj/TickPrefs.bundle/Banner.png b/.theos/obj/TickPrefs.bundle/Banner.png index 311e9a3..7570ebf 100644 Binary files a/.theos/obj/TickPrefs.bundle/Banner.png and b/.theos/obj/TickPrefs.bundle/Banner.png differ diff --git a/.theos/obj/TickPrefs.bundle/Root.plist b/.theos/obj/TickPrefs.bundle/Root.plist index 7bdea2e..596acdd 100644 --- a/.theos/obj/TickPrefs.bundle/Root.plist +++ b/.theos/obj/TickPrefs.bundle/Root.plist @@ -105,6 +105,26 @@ url https://github.com/ShyMemoriees/Tick/issues/new + + cell + PSGroupCell + label + Icon Design + + + action + twittertaki + cell + PSButtonCell + label + @74k1_ + cellClass + HBTwitterCell + label + taki + user + 74k1_ + cell PSGroupCell diff --git a/.theos/obj/TickPrefs.bundle/TickPrefs b/.theos/obj/TickPrefs.bundle/TickPrefs index a05d847..51eab9f 100755 Binary files a/.theos/obj/TickPrefs.bundle/TickPrefs and b/.theos/obj/TickPrefs.bundle/TickPrefs differ diff --git a/.theos/obj/TickPrefs.bundle/icon.png b/.theos/obj/TickPrefs.bundle/icon.png index edf406e..77f84c9 100644 Binary files a/.theos/obj/TickPrefs.bundle/icon.png and b/.theos/obj/TickPrefs.bundle/icon.png differ diff --git a/.theos/obj/TickPrefs.bundle/icon@2x.png b/.theos/obj/TickPrefs.bundle/icon@2x.png index 08f8564..5808ac3 100644 Binary files a/.theos/obj/TickPrefs.bundle/icon@2x.png and b/.theos/obj/TickPrefs.bundle/icon@2x.png differ diff --git a/.theos/obj/TickPrefs.bundle/tick.png b/.theos/obj/TickPrefs.bundle/tick.png index f7e8a3f..18501fc 100644 Binary files a/.theos/obj/TickPrefs.bundle/tick.png and b/.theos/obj/TickPrefs.bundle/tick.png differ diff --git a/.theos/obj/arm64/TCKAppearanceSettings.m.40e3d166.o b/.theos/obj/arm64/TCKAppearanceSettings.m.40e3d166.o index 292fa85..2654fe5 100644 Binary files a/.theos/obj/arm64/TCKAppearanceSettings.m.40e3d166.o and b/.theos/obj/arm64/TCKAppearanceSettings.m.40e3d166.o differ diff --git a/.theos/obj/arm64/TCKRootListController.m.40e3d166.o b/.theos/obj/arm64/TCKRootListController.m.40e3d166.o index 6e60c6f..6b08587 100644 Binary files a/.theos/obj/arm64/TCKRootListController.m.40e3d166.o and b/.theos/obj/arm64/TCKRootListController.m.40e3d166.o differ diff --git a/.theos/obj/arm64/Tick.dylib b/.theos/obj/arm64/Tick.dylib index f9b7df5..542ffe0 100755 Binary files a/.theos/obj/arm64/Tick.dylib and b/.theos/obj/arm64/Tick.dylib differ diff --git a/.theos/obj/arm64/Tick.dylib.dSYM/Contents/Resources/DWARF/Tick.dylib b/.theos/obj/arm64/Tick.dylib.dSYM/Contents/Resources/DWARF/Tick.dylib index 315b29a..975dec5 100644 Binary files a/.theos/obj/arm64/Tick.dylib.dSYM/Contents/Resources/DWARF/Tick.dylib and b/.theos/obj/arm64/Tick.dylib.dSYM/Contents/Resources/DWARF/Tick.dylib differ diff --git a/.theos/obj/arm64/TickPrefs.bundle/TickPrefs b/.theos/obj/arm64/TickPrefs.bundle/TickPrefs index f49e2d6..08f65ad 100755 Binary files a/.theos/obj/arm64/TickPrefs.bundle/TickPrefs and b/.theos/obj/arm64/TickPrefs.bundle/TickPrefs differ diff --git a/.theos/obj/arm64/TickPrefs.bundle/TickPrefs.dSYM/Contents/Resources/DWARF/TickPrefs b/.theos/obj/arm64/TickPrefs.bundle/TickPrefs.dSYM/Contents/Resources/DWARF/TickPrefs index b594dca..69c15ca 100644 Binary files a/.theos/obj/arm64/TickPrefs.bundle/TickPrefs.dSYM/Contents/Resources/DWARF/TickPrefs and b/.theos/obj/arm64/TickPrefs.bundle/TickPrefs.dSYM/Contents/Resources/DWARF/TickPrefs differ diff --git a/.theos/obj/arm64e/TCKAppearanceSettings.m.9069d8fe.o b/.theos/obj/arm64e/TCKAppearanceSettings.m.9069d8fe.o index 84ca764..da0f6ab 100644 Binary files a/.theos/obj/arm64e/TCKAppearanceSettings.m.9069d8fe.o and b/.theos/obj/arm64e/TCKAppearanceSettings.m.9069d8fe.o differ diff --git a/.theos/obj/arm64e/TCKRootListController.m.9069d8fe.o b/.theos/obj/arm64e/TCKRootListController.m.9069d8fe.o index 19e619d..f2f3ea7 100644 Binary files a/.theos/obj/arm64e/TCKRootListController.m.9069d8fe.o and b/.theos/obj/arm64e/TCKRootListController.m.9069d8fe.o differ diff --git a/.theos/obj/arm64e/Tick.dylib b/.theos/obj/arm64e/Tick.dylib index 5279232..5f39d28 100755 Binary files a/.theos/obj/arm64e/Tick.dylib and b/.theos/obj/arm64e/Tick.dylib differ diff --git a/.theos/obj/arm64e/Tick.dylib.dSYM/Contents/Resources/DWARF/Tick.dylib b/.theos/obj/arm64e/Tick.dylib.dSYM/Contents/Resources/DWARF/Tick.dylib index ba29f3a..55d3f67 100644 Binary files a/.theos/obj/arm64e/Tick.dylib.dSYM/Contents/Resources/DWARF/Tick.dylib and b/.theos/obj/arm64e/Tick.dylib.dSYM/Contents/Resources/DWARF/Tick.dylib differ diff --git a/.theos/obj/arm64e/TickPrefs.bundle/TickPrefs b/.theos/obj/arm64e/TickPrefs.bundle/TickPrefs index 15993a0..4a244ec 100755 Binary files a/.theos/obj/arm64e/TickPrefs.bundle/TickPrefs and b/.theos/obj/arm64e/TickPrefs.bundle/TickPrefs differ diff --git a/.theos/obj/arm64e/TickPrefs.bundle/TickPrefs.dSYM/Contents/Resources/DWARF/TickPrefs b/.theos/obj/arm64e/TickPrefs.bundle/TickPrefs.dSYM/Contents/Resources/DWARF/TickPrefs index 6d0e7b5..14bad1d 100644 Binary files a/.theos/obj/arm64e/TickPrefs.bundle/TickPrefs.dSYM/Contents/Resources/DWARF/TickPrefs and b/.theos/obj/arm64e/TickPrefs.bundle/TickPrefs.dSYM/Contents/Resources/DWARF/TickPrefs differ diff --git a/.theos/obj/debug/Tick.dylib b/.theos/obj/debug/Tick.dylib index 13b5c69..b36ffa3 100755 Binary files a/.theos/obj/debug/Tick.dylib and b/.theos/obj/debug/Tick.dylib differ diff --git a/.theos/obj/debug/TickPrefs.bundle/Banner.png b/.theos/obj/debug/TickPrefs.bundle/Banner.png index 311e9a3..7570ebf 100644 Binary files a/.theos/obj/debug/TickPrefs.bundle/Banner.png and b/.theos/obj/debug/TickPrefs.bundle/Banner.png differ diff --git a/.theos/obj/debug/TickPrefs.bundle/Root.plist b/.theos/obj/debug/TickPrefs.bundle/Root.plist index 7bdea2e..596acdd 100644 --- a/.theos/obj/debug/TickPrefs.bundle/Root.plist +++ b/.theos/obj/debug/TickPrefs.bundle/Root.plist @@ -105,6 +105,26 @@ url https://github.com/ShyMemoriees/Tick/issues/new + + cell + PSGroupCell + label + Icon Design + + + action + twittertaki + cell + PSButtonCell + label + @74k1_ + cellClass + HBTwitterCell + label + taki + user + 74k1_ + cell PSGroupCell diff --git a/.theos/obj/debug/TickPrefs.bundle/TickPrefs b/.theos/obj/debug/TickPrefs.bundle/TickPrefs index 541db48..4f14b1a 100755 Binary files a/.theos/obj/debug/TickPrefs.bundle/TickPrefs and b/.theos/obj/debug/TickPrefs.bundle/TickPrefs differ diff --git a/.theos/obj/debug/TickPrefs.bundle/icon.png b/.theos/obj/debug/TickPrefs.bundle/icon.png index edf406e..77f84c9 100644 Binary files a/.theos/obj/debug/TickPrefs.bundle/icon.png and b/.theos/obj/debug/TickPrefs.bundle/icon.png differ diff --git a/.theos/obj/debug/TickPrefs.bundle/icon@2x.png b/.theos/obj/debug/TickPrefs.bundle/icon@2x.png index 08f8564..5808ac3 100644 Binary files a/.theos/obj/debug/TickPrefs.bundle/icon@2x.png and b/.theos/obj/debug/TickPrefs.bundle/icon@2x.png differ diff --git a/.theos/obj/debug/TickPrefs.bundle/tick.png b/.theos/obj/debug/TickPrefs.bundle/tick.png index f7e8a3f..18501fc 100644 Binary files a/.theos/obj/debug/TickPrefs.bundle/tick.png and b/.theos/obj/debug/TickPrefs.bundle/tick.png differ diff --git a/.theos/obj/debug/arm64/TCKAppearanceSettings.m.f5cebdc3.o b/.theos/obj/debug/arm64/TCKAppearanceSettings.m.f5cebdc3.o index 78c38fd..76a4ec2 100644 Binary files a/.theos/obj/debug/arm64/TCKAppearanceSettings.m.f5cebdc3.o and b/.theos/obj/debug/arm64/TCKAppearanceSettings.m.f5cebdc3.o differ diff --git a/.theos/obj/debug/arm64/TCKRootListController.m.f5cebdc3.o b/.theos/obj/debug/arm64/TCKRootListController.m.f5cebdc3.o index 4b0583f..1d7070e 100644 Binary files a/.theos/obj/debug/arm64/TCKRootListController.m.f5cebdc3.o and b/.theos/obj/debug/arm64/TCKRootListController.m.f5cebdc3.o differ diff --git a/.theos/obj/debug/arm64/Tick.dylib b/.theos/obj/debug/arm64/Tick.dylib index 9b72e8c..1d27564 100755 Binary files a/.theos/obj/debug/arm64/Tick.dylib and b/.theos/obj/debug/arm64/Tick.dylib differ diff --git a/.theos/obj/debug/arm64/Tick.dylib.dSYM/Contents/Resources/DWARF/Tick.dylib b/.theos/obj/debug/arm64/Tick.dylib.dSYM/Contents/Resources/DWARF/Tick.dylib index c7e80e9..bb78276 100644 Binary files a/.theos/obj/debug/arm64/Tick.dylib.dSYM/Contents/Resources/DWARF/Tick.dylib and b/.theos/obj/debug/arm64/Tick.dylib.dSYM/Contents/Resources/DWARF/Tick.dylib differ diff --git a/.theos/obj/debug/arm64/TickPrefs.bundle/TickPrefs b/.theos/obj/debug/arm64/TickPrefs.bundle/TickPrefs index 240f041..23b37bf 100755 Binary files a/.theos/obj/debug/arm64/TickPrefs.bundle/TickPrefs and b/.theos/obj/debug/arm64/TickPrefs.bundle/TickPrefs differ diff --git a/.theos/obj/debug/arm64/TickPrefs.bundle/TickPrefs.dSYM/Contents/Resources/DWARF/TickPrefs b/.theos/obj/debug/arm64/TickPrefs.bundle/TickPrefs.dSYM/Contents/Resources/DWARF/TickPrefs index a90454e..d5c4e3e 100644 Binary files a/.theos/obj/debug/arm64/TickPrefs.bundle/TickPrefs.dSYM/Contents/Resources/DWARF/TickPrefs and b/.theos/obj/debug/arm64/TickPrefs.bundle/TickPrefs.dSYM/Contents/Resources/DWARF/TickPrefs differ diff --git a/.theos/obj/debug/arm64/Tweak.x.m b/.theos/obj/debug/arm64/Tweak.x.m index d828617..338049e 100644 --- a/.theos/obj/debug/arm64/Tweak.x.m +++ b/.theos/obj/debug/arm64/Tweak.x.m @@ -44,11 +44,11 @@ void playSound() { #define _LOGOS_RETURN_RETAINED #endif -@class SBUIIconForceTouchViewController; +@class SBUIIconForceTouchViewController; @class SBIconController; @class UIPreviewInteractionController; #line 25 "Tweak.x" -static BOOL (*_logos_orig$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$)(_LOGOS_SELF_TYPE_NORMAL SBUIIconForceTouchViewController* _LOGOS_SELF_CONST, SEL, BOOL, id); static BOOL _logos_method$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$(_LOGOS_SELF_TYPE_NORMAL SBUIIconForceTouchViewController* _LOGOS_SELF_CONST, SEL, BOOL, id); +static BOOL (*_logos_orig$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$)(_LOGOS_SELF_TYPE_NORMAL SBUIIconForceTouchViewController* _LOGOS_SELF_CONST, SEL, BOOL, id); static BOOL _logos_method$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$(_LOGOS_SELF_TYPE_NORMAL SBUIIconForceTouchViewController* _LOGOS_SELF_CONST, SEL, BOOL, id); static void (*_logos_orig$Tick$SBIconController$_forceTouchControllerWillPresent$)(_LOGOS_SELF_TYPE_NORMAL SBIconController* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$Tick$SBIconController$_forceTouchControllerWillPresent$(_LOGOS_SELF_TYPE_NORMAL SBIconController* _LOGOS_SELF_CONST, SEL, id); static void (*_logos_orig$Tick$SBIconController$_iconForceTouchControllerWillPresent$)(_LOGOS_SELF_TYPE_NORMAL SBIconController* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$Tick$SBIconController$_iconForceTouchControllerWillPresent$(_LOGOS_SELF_TYPE_NORMAL SBIconController* _LOGOS_SELF_CONST, SEL, id); static void (*_logos_orig$Tick$UIPreviewInteractionController$previewInteraction$didUpdatePreviewTransition$ended$)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, id, double, BOOL); static void _logos_method$Tick$UIPreviewInteractionController$previewInteraction$didUpdatePreviewTransition$ended$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, id, double, BOOL); static void (*_logos_orig$Tick$UIPreviewInteractionController$setPreviewInteraction$)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, UIPreviewInteraction *); static void _logos_method$Tick$UIPreviewInteractionController$setPreviewInteraction$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, UIPreviewInteraction *); static void (*_logos_orig$Tick$UIPreviewInteractionController$setPresentingViewController$)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, UIViewController *); static void _logos_method$Tick$UIPreviewInteractionController$setPresentingViewController$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, UIViewController *); static BOOL (*_logos_orig$Tick$UIPreviewInteractionController$_usesPreviewInteraction)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$Tick$UIPreviewInteractionController$_usesPreviewInteraction(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$Tick$UIPreviewInteractionController$setCurrentPreviewViewController$)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, UIViewController *); static void _logos_method$Tick$UIPreviewInteractionController$setCurrentPreviewViewController$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, UIViewController *); static BOOL (*_logos_orig$Tick$UIPreviewInteractionController$_usesPreviewPresentationController)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$Tick$UIPreviewInteractionController$_usesPreviewPresentationController(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$Tick$UIPreviewInteractionController$setWindowForPreviewPresentation$)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, UIWindow *); static void _logos_method$Tick$UIPreviewInteractionController$setWindowForPreviewPresentation$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, UIWindow *); static BOOL (*_logos_orig$Tick$UIPreviewInteractionController$startInteractivePreviewAtLocation$inView$)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, CGPoint, id); static BOOL _logos_method$Tick$UIPreviewInteractionController$startInteractivePreviewAtLocation$inView$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, CGPoint, id); static void (*_logos_orig$Tick$UIPreviewInteractionController$commitInteractivePreview)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL); static void _logos_method$Tick$UIPreviewInteractionController$commitInteractivePreview(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$Tick$UIPreviewInteractionController$forcePresentationController$didSelectMenuItem$)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, id, id); static void _logos_method$Tick$UIPreviewInteractionController$forcePresentationController$didSelectMenuItem$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, id, id); static void (*_logos_orig$Tick$UIPreviewInteractionController$forcePresentationControllerWantsToCommit$)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$Tick$UIPreviewInteractionController$forcePresentationControllerWantsToCommit$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, id); @@ -67,12 +67,167 @@ static BOOL _logos_method$Tick$SBUIIconForceTouchViewController$presentAnimated$ -static __attribute__((constructor)) void _logosLocalCtor_36835025(int __unused argc, char __unused **argv, char __unused **envp) { +static void _logos_method$Tick$SBIconController$_forceTouchControllerWillPresent$(_LOGOS_SELF_TYPE_NORMAL SBIconController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, id arg1) { + + _logos_orig$Tick$SBIconController$_forceTouchControllerWillPresent$(self, _cmd, arg1); + + if (enabled) { + playSound(); + + } + +} + + + + + +static void _logos_method$Tick$SBIconController$_iconForceTouchControllerWillPresent$(_LOGOS_SELF_TYPE_NORMAL SBIconController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, id arg1) { + + _logos_orig$Tick$SBIconController$_iconForceTouchControllerWillPresent$(self, _cmd, arg1); + + if (enabled) { + playSound(); + + } + +} + + + + + +static void _logos_method$Tick$UIPreviewInteractionController$previewInteraction$didUpdatePreviewTransition$ended$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, id arg1, double arg2, BOOL arg3) { + + _logos_orig$Tick$UIPreviewInteractionController$previewInteraction$didUpdatePreviewTransition$ended$(self, _cmd, arg1, arg2, arg3); + + if (enabled) { + playSound(); + + } + +} + +static void _logos_method$Tick$UIPreviewInteractionController$setPreviewInteraction$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, UIPreviewInteraction * arg1) { + + _logos_orig$Tick$UIPreviewInteractionController$setPreviewInteraction$(self, _cmd, arg1); + + if (enabled) { + playSound(); + + } + +} + +static void _logos_method$Tick$UIPreviewInteractionController$setPresentingViewController$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, UIViewController * arg1) { + + _logos_orig$Tick$UIPreviewInteractionController$setPresentingViewController$(self, _cmd, arg1); + + if (enabled) { + playSound(); + + } + +} + +static BOOL _logos_method$Tick$UIPreviewInteractionController$_usesPreviewInteraction(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + + if (enabled) { + playSound(); + + } + + return _logos_orig$Tick$UIPreviewInteractionController$_usesPreviewInteraction(self, _cmd); + +} + +static void _logos_method$Tick$UIPreviewInteractionController$setCurrentPreviewViewController$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, UIViewController * arg1) { + + _logos_orig$Tick$UIPreviewInteractionController$setCurrentPreviewViewController$(self, _cmd, arg1); + + if (enabled) { + playSound(); + + } + +} + +static BOOL _logos_method$Tick$UIPreviewInteractionController$_usesPreviewPresentationController(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + + if (enabled) { + playSound(); + + } + + return _logos_orig$Tick$UIPreviewInteractionController$_usesPreviewPresentationController(self, _cmd); + +} + +static void _logos_method$Tick$UIPreviewInteractionController$setWindowForPreviewPresentation$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, UIWindow * arg1) { + + _logos_orig$Tick$UIPreviewInteractionController$setWindowForPreviewPresentation$(self, _cmd, arg1); + + if (enabled) { + playSound(); + + } + +} + +static BOOL _logos_method$Tick$UIPreviewInteractionController$startInteractivePreviewAtLocation$inView$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, CGPoint arg1, id arg2) { + + if (enabled) { + playSound(); + + } + + return _logos_orig$Tick$UIPreviewInteractionController$startInteractivePreviewAtLocation$inView$(self, _cmd, arg1, arg2); + +} + +static void _logos_method$Tick$UIPreviewInteractionController$commitInteractivePreview(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + + _logos_orig$Tick$UIPreviewInteractionController$commitInteractivePreview(self, _cmd); + + if (enabled) { + playSound(); + + } + +} + +static void _logos_method$Tick$UIPreviewInteractionController$forcePresentationController$didSelectMenuItem$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, id arg1, id arg2) { + + _logos_orig$Tick$UIPreviewInteractionController$forcePresentationController$didSelectMenuItem$(self, _cmd, arg1, arg2); + + if (enabled) { + playSound(); + + } + +} + +static void _logos_method$Tick$UIPreviewInteractionController$forcePresentationControllerWantsToCommit$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, id arg1) { + + _logos_orig$Tick$UIPreviewInteractionController$forcePresentationControllerWantsToCommit$(self, _cmd, arg1); + + if (enabled) { + playSound(); + + } + +} + + + + + +static __attribute__((constructor)) void _logosLocalCtor_f01702de(int __unused argc, char __unused **argv, char __unused **envp) { pfs = [[HBPreferences alloc] initWithIdentifier:@"me.shymemoriees.tickpreferences"]; [pfs registerBool:&enabled default:YES forKey:@"Enabled"]; [pfs registerObject:&loudnessLevel default:@"0" forKey:@"Loudness"]; if(enabled) - {Class _logos_class$Tick$SBUIIconForceTouchViewController = objc_getClass("SBUIIconForceTouchViewController"); MSHookMessageEx(_logos_class$Tick$SBUIIconForceTouchViewController, @selector(presentAnimated:withCompletionHandler:), (IMP)&_logos_method$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$, (IMP*)&_logos_orig$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$);} + {Class _logos_class$Tick$SBUIIconForceTouchViewController = objc_getClass("SBUIIconForceTouchViewController"); MSHookMessageEx(_logos_class$Tick$SBUIIconForceTouchViewController, @selector(presentAnimated:withCompletionHandler:), (IMP)&_logos_method$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$, (IMP*)&_logos_orig$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$);Class _logos_class$Tick$SBIconController = objc_getClass("SBIconController"); MSHookMessageEx(_logos_class$Tick$SBIconController, @selector(_forceTouchControllerWillPresent:), (IMP)&_logos_method$Tick$SBIconController$_forceTouchControllerWillPresent$, (IMP*)&_logos_orig$Tick$SBIconController$_forceTouchControllerWillPresent$);MSHookMessageEx(_logos_class$Tick$SBIconController, @selector(_iconForceTouchControllerWillPresent:), (IMP)&_logos_method$Tick$SBIconController$_iconForceTouchControllerWillPresent$, (IMP*)&_logos_orig$Tick$SBIconController$_iconForceTouchControllerWillPresent$);Class _logos_class$Tick$UIPreviewInteractionController = objc_getClass("UIPreviewInteractionController"); MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(previewInteraction:didUpdatePreviewTransition:ended:), (IMP)&_logos_method$Tick$UIPreviewInteractionController$previewInteraction$didUpdatePreviewTransition$ended$, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$previewInteraction$didUpdatePreviewTransition$ended$);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(setPreviewInteraction:), (IMP)&_logos_method$Tick$UIPreviewInteractionController$setPreviewInteraction$, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$setPreviewInteraction$);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(setPresentingViewController:), (IMP)&_logos_method$Tick$UIPreviewInteractionController$setPresentingViewController$, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$setPresentingViewController$);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(_usesPreviewInteraction), (IMP)&_logos_method$Tick$UIPreviewInteractionController$_usesPreviewInteraction, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$_usesPreviewInteraction);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(setCurrentPreviewViewController:), (IMP)&_logos_method$Tick$UIPreviewInteractionController$setCurrentPreviewViewController$, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$setCurrentPreviewViewController$);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(_usesPreviewPresentationController), (IMP)&_logos_method$Tick$UIPreviewInteractionController$_usesPreviewPresentationController, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$_usesPreviewPresentationController);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(setWindowForPreviewPresentation:), (IMP)&_logos_method$Tick$UIPreviewInteractionController$setWindowForPreviewPresentation$, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$setWindowForPreviewPresentation$);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(startInteractivePreviewAtLocation:inView:), (IMP)&_logos_method$Tick$UIPreviewInteractionController$startInteractivePreviewAtLocation$inView$, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$startInteractivePreviewAtLocation$inView$);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(commitInteractivePreview), (IMP)&_logos_method$Tick$UIPreviewInteractionController$commitInteractivePreview, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$commitInteractivePreview);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(forcePresentationController:didSelectMenuItem:), (IMP)&_logos_method$Tick$UIPreviewInteractionController$forcePresentationController$didSelectMenuItem$, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$forcePresentationController$didSelectMenuItem$);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(forcePresentationControllerWantsToCommit:), (IMP)&_logos_method$Tick$UIPreviewInteractionController$forcePresentationControllerWantsToCommit$, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$forcePresentationControllerWantsToCommit$);} } diff --git a/.theos/obj/debug/arm64e/TCKAppearanceSettings.m.59867558.o b/.theos/obj/debug/arm64e/TCKAppearanceSettings.m.59867558.o index df1ecdb..ec7e44c 100644 Binary files a/.theos/obj/debug/arm64e/TCKAppearanceSettings.m.59867558.o and b/.theos/obj/debug/arm64e/TCKAppearanceSettings.m.59867558.o differ diff --git a/.theos/obj/debug/arm64e/TCKRootListController.m.59867558.o b/.theos/obj/debug/arm64e/TCKRootListController.m.59867558.o index a69d9c9..0a48c86 100644 Binary files a/.theos/obj/debug/arm64e/TCKRootListController.m.59867558.o and b/.theos/obj/debug/arm64e/TCKRootListController.m.59867558.o differ diff --git a/.theos/obj/debug/arm64e/Tick.dylib b/.theos/obj/debug/arm64e/Tick.dylib index b7fa278..01bcc14 100755 Binary files a/.theos/obj/debug/arm64e/Tick.dylib and b/.theos/obj/debug/arm64e/Tick.dylib differ diff --git a/.theos/obj/debug/arm64e/Tick.dylib.dSYM/Contents/Resources/DWARF/Tick.dylib b/.theos/obj/debug/arm64e/Tick.dylib.dSYM/Contents/Resources/DWARF/Tick.dylib index 17b8fc4..bb9cd89 100644 Binary files a/.theos/obj/debug/arm64e/Tick.dylib.dSYM/Contents/Resources/DWARF/Tick.dylib and b/.theos/obj/debug/arm64e/Tick.dylib.dSYM/Contents/Resources/DWARF/Tick.dylib differ diff --git a/.theos/obj/debug/arm64e/TickPrefs.bundle/TickPrefs b/.theos/obj/debug/arm64e/TickPrefs.bundle/TickPrefs index 89be7f6..0b15f91 100755 Binary files a/.theos/obj/debug/arm64e/TickPrefs.bundle/TickPrefs and b/.theos/obj/debug/arm64e/TickPrefs.bundle/TickPrefs differ diff --git a/.theos/obj/debug/arm64e/TickPrefs.bundle/TickPrefs.dSYM/Contents/Resources/DWARF/TickPrefs b/.theos/obj/debug/arm64e/TickPrefs.bundle/TickPrefs.dSYM/Contents/Resources/DWARF/TickPrefs index d5fe817..b52b198 100644 Binary files a/.theos/obj/debug/arm64e/TickPrefs.bundle/TickPrefs.dSYM/Contents/Resources/DWARF/TickPrefs and b/.theos/obj/debug/arm64e/TickPrefs.bundle/TickPrefs.dSYM/Contents/Resources/DWARF/TickPrefs differ diff --git a/.theos/obj/debug/arm64e/Tweak.x.m b/.theos/obj/debug/arm64e/Tweak.x.m index d828617..cf7df8f 100644 --- a/.theos/obj/debug/arm64e/Tweak.x.m +++ b/.theos/obj/debug/arm64e/Tweak.x.m @@ -44,11 +44,11 @@ void playSound() { #define _LOGOS_RETURN_RETAINED #endif -@class SBUIIconForceTouchViewController; +@class SBIconController; @class SBUIIconForceTouchViewController; @class UIPreviewInteractionController; #line 25 "Tweak.x" -static BOOL (*_logos_orig$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$)(_LOGOS_SELF_TYPE_NORMAL SBUIIconForceTouchViewController* _LOGOS_SELF_CONST, SEL, BOOL, id); static BOOL _logos_method$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$(_LOGOS_SELF_TYPE_NORMAL SBUIIconForceTouchViewController* _LOGOS_SELF_CONST, SEL, BOOL, id); +static BOOL (*_logos_orig$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$)(_LOGOS_SELF_TYPE_NORMAL SBUIIconForceTouchViewController* _LOGOS_SELF_CONST, SEL, BOOL, id); static BOOL _logos_method$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$(_LOGOS_SELF_TYPE_NORMAL SBUIIconForceTouchViewController* _LOGOS_SELF_CONST, SEL, BOOL, id); static void (*_logos_orig$Tick$SBIconController$_forceTouchControllerWillPresent$)(_LOGOS_SELF_TYPE_NORMAL SBIconController* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$Tick$SBIconController$_forceTouchControllerWillPresent$(_LOGOS_SELF_TYPE_NORMAL SBIconController* _LOGOS_SELF_CONST, SEL, id); static void (*_logos_orig$Tick$SBIconController$_iconForceTouchControllerWillPresent$)(_LOGOS_SELF_TYPE_NORMAL SBIconController* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$Tick$SBIconController$_iconForceTouchControllerWillPresent$(_LOGOS_SELF_TYPE_NORMAL SBIconController* _LOGOS_SELF_CONST, SEL, id); static void (*_logos_orig$Tick$UIPreviewInteractionController$previewInteraction$didUpdatePreviewTransition$ended$)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, id, double, BOOL); static void _logos_method$Tick$UIPreviewInteractionController$previewInteraction$didUpdatePreviewTransition$ended$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, id, double, BOOL); static void (*_logos_orig$Tick$UIPreviewInteractionController$setPreviewInteraction$)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, UIPreviewInteraction *); static void _logos_method$Tick$UIPreviewInteractionController$setPreviewInteraction$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, UIPreviewInteraction *); static void (*_logos_orig$Tick$UIPreviewInteractionController$setPresentingViewController$)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, UIViewController *); static void _logos_method$Tick$UIPreviewInteractionController$setPresentingViewController$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, UIViewController *); static BOOL (*_logos_orig$Tick$UIPreviewInteractionController$_usesPreviewInteraction)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$Tick$UIPreviewInteractionController$_usesPreviewInteraction(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$Tick$UIPreviewInteractionController$setCurrentPreviewViewController$)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, UIViewController *); static void _logos_method$Tick$UIPreviewInteractionController$setCurrentPreviewViewController$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, UIViewController *); static BOOL (*_logos_orig$Tick$UIPreviewInteractionController$_usesPreviewPresentationController)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL); static BOOL _logos_method$Tick$UIPreviewInteractionController$_usesPreviewPresentationController(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$Tick$UIPreviewInteractionController$setWindowForPreviewPresentation$)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, UIWindow *); static void _logos_method$Tick$UIPreviewInteractionController$setWindowForPreviewPresentation$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, UIWindow *); static BOOL (*_logos_orig$Tick$UIPreviewInteractionController$startInteractivePreviewAtLocation$inView$)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, CGPoint, id); static BOOL _logos_method$Tick$UIPreviewInteractionController$startInteractivePreviewAtLocation$inView$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, CGPoint, id); static void (*_logos_orig$Tick$UIPreviewInteractionController$commitInteractivePreview)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL); static void _logos_method$Tick$UIPreviewInteractionController$commitInteractivePreview(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL); static void (*_logos_orig$Tick$UIPreviewInteractionController$forcePresentationController$didSelectMenuItem$)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, id, id); static void _logos_method$Tick$UIPreviewInteractionController$forcePresentationController$didSelectMenuItem$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, id, id); static void (*_logos_orig$Tick$UIPreviewInteractionController$forcePresentationControllerWantsToCommit$)(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$Tick$UIPreviewInteractionController$forcePresentationControllerWantsToCommit$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST, SEL, id); @@ -67,12 +67,167 @@ static BOOL _logos_method$Tick$SBUIIconForceTouchViewController$presentAnimated$ -static __attribute__((constructor)) void _logosLocalCtor_36835025(int __unused argc, char __unused **argv, char __unused **envp) { +static void _logos_method$Tick$SBIconController$_forceTouchControllerWillPresent$(_LOGOS_SELF_TYPE_NORMAL SBIconController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, id arg1) { + + _logos_orig$Tick$SBIconController$_forceTouchControllerWillPresent$(self, _cmd, arg1); + + if (enabled) { + playSound(); + + } + +} + + + + + +static void _logos_method$Tick$SBIconController$_iconForceTouchControllerWillPresent$(_LOGOS_SELF_TYPE_NORMAL SBIconController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, id arg1) { + + _logos_orig$Tick$SBIconController$_iconForceTouchControllerWillPresent$(self, _cmd, arg1); + + if (enabled) { + playSound(); + + } + +} + + + + + +static void _logos_method$Tick$UIPreviewInteractionController$previewInteraction$didUpdatePreviewTransition$ended$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, id arg1, double arg2, BOOL arg3) { + + _logos_orig$Tick$UIPreviewInteractionController$previewInteraction$didUpdatePreviewTransition$ended$(self, _cmd, arg1, arg2, arg3); + + if (enabled) { + playSound(); + + } + +} + +static void _logos_method$Tick$UIPreviewInteractionController$setPreviewInteraction$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, UIPreviewInteraction * arg1) { + + _logos_orig$Tick$UIPreviewInteractionController$setPreviewInteraction$(self, _cmd, arg1); + + if (enabled) { + playSound(); + + } + +} + +static void _logos_method$Tick$UIPreviewInteractionController$setPresentingViewController$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, UIViewController * arg1) { + + _logos_orig$Tick$UIPreviewInteractionController$setPresentingViewController$(self, _cmd, arg1); + + if (enabled) { + playSound(); + + } + +} + +static BOOL _logos_method$Tick$UIPreviewInteractionController$_usesPreviewInteraction(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + + if (enabled) { + playSound(); + + } + + return _logos_orig$Tick$UIPreviewInteractionController$_usesPreviewInteraction(self, _cmd); + +} + +static void _logos_method$Tick$UIPreviewInteractionController$setCurrentPreviewViewController$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, UIViewController * arg1) { + + _logos_orig$Tick$UIPreviewInteractionController$setCurrentPreviewViewController$(self, _cmd, arg1); + + if (enabled) { + playSound(); + + } + +} + +static BOOL _logos_method$Tick$UIPreviewInteractionController$_usesPreviewPresentationController(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + + if (enabled) { + playSound(); + + } + + return _logos_orig$Tick$UIPreviewInteractionController$_usesPreviewPresentationController(self, _cmd); + +} + +static void _logos_method$Tick$UIPreviewInteractionController$setWindowForPreviewPresentation$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, UIWindow * arg1) { + + _logos_orig$Tick$UIPreviewInteractionController$setWindowForPreviewPresentation$(self, _cmd, arg1); + + if (enabled) { + playSound(); + + } + +} + +static BOOL _logos_method$Tick$UIPreviewInteractionController$startInteractivePreviewAtLocation$inView$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, CGPoint arg1, id arg2) { + + if (enabled) { + playSound(); + + } + + return _logos_orig$Tick$UIPreviewInteractionController$startInteractivePreviewAtLocation$inView$(self, _cmd, arg1, arg2); + +} + +static void _logos_method$Tick$UIPreviewInteractionController$commitInteractivePreview(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + + _logos_orig$Tick$UIPreviewInteractionController$commitInteractivePreview(self, _cmd); + + if (enabled) { + playSound(); + + } + +} + +static void _logos_method$Tick$UIPreviewInteractionController$forcePresentationController$didSelectMenuItem$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, id arg1, id arg2) { + + _logos_orig$Tick$UIPreviewInteractionController$forcePresentationController$didSelectMenuItem$(self, _cmd, arg1, arg2); + + if (enabled) { + playSound(); + + } + +} + +static void _logos_method$Tick$UIPreviewInteractionController$forcePresentationControllerWantsToCommit$(_LOGOS_SELF_TYPE_NORMAL UIPreviewInteractionController* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, id arg1) { + + _logos_orig$Tick$UIPreviewInteractionController$forcePresentationControllerWantsToCommit$(self, _cmd, arg1); + + if (enabled) { + playSound(); + + } + +} + + + + + +static __attribute__((constructor)) void _logosLocalCtor_f01702de(int __unused argc, char __unused **argv, char __unused **envp) { pfs = [[HBPreferences alloc] initWithIdentifier:@"me.shymemoriees.tickpreferences"]; [pfs registerBool:&enabled default:YES forKey:@"Enabled"]; [pfs registerObject:&loudnessLevel default:@"0" forKey:@"Loudness"]; if(enabled) - {Class _logos_class$Tick$SBUIIconForceTouchViewController = objc_getClass("SBUIIconForceTouchViewController"); MSHookMessageEx(_logos_class$Tick$SBUIIconForceTouchViewController, @selector(presentAnimated:withCompletionHandler:), (IMP)&_logos_method$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$, (IMP*)&_logos_orig$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$);} + {Class _logos_class$Tick$SBUIIconForceTouchViewController = objc_getClass("SBUIIconForceTouchViewController"); MSHookMessageEx(_logos_class$Tick$SBUIIconForceTouchViewController, @selector(presentAnimated:withCompletionHandler:), (IMP)&_logos_method$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$, (IMP*)&_logos_orig$Tick$SBUIIconForceTouchViewController$presentAnimated$withCompletionHandler$);Class _logos_class$Tick$SBIconController = objc_getClass("SBIconController"); MSHookMessageEx(_logos_class$Tick$SBIconController, @selector(_forceTouchControllerWillPresent:), (IMP)&_logos_method$Tick$SBIconController$_forceTouchControllerWillPresent$, (IMP*)&_logos_orig$Tick$SBIconController$_forceTouchControllerWillPresent$);MSHookMessageEx(_logos_class$Tick$SBIconController, @selector(_iconForceTouchControllerWillPresent:), (IMP)&_logos_method$Tick$SBIconController$_iconForceTouchControllerWillPresent$, (IMP*)&_logos_orig$Tick$SBIconController$_iconForceTouchControllerWillPresent$);Class _logos_class$Tick$UIPreviewInteractionController = objc_getClass("UIPreviewInteractionController"); MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(previewInteraction:didUpdatePreviewTransition:ended:), (IMP)&_logos_method$Tick$UIPreviewInteractionController$previewInteraction$didUpdatePreviewTransition$ended$, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$previewInteraction$didUpdatePreviewTransition$ended$);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(setPreviewInteraction:), (IMP)&_logos_method$Tick$UIPreviewInteractionController$setPreviewInteraction$, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$setPreviewInteraction$);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(setPresentingViewController:), (IMP)&_logos_method$Tick$UIPreviewInteractionController$setPresentingViewController$, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$setPresentingViewController$);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(_usesPreviewInteraction), (IMP)&_logos_method$Tick$UIPreviewInteractionController$_usesPreviewInteraction, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$_usesPreviewInteraction);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(setCurrentPreviewViewController:), (IMP)&_logos_method$Tick$UIPreviewInteractionController$setCurrentPreviewViewController$, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$setCurrentPreviewViewController$);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(_usesPreviewPresentationController), (IMP)&_logos_method$Tick$UIPreviewInteractionController$_usesPreviewPresentationController, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$_usesPreviewPresentationController);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(setWindowForPreviewPresentation:), (IMP)&_logos_method$Tick$UIPreviewInteractionController$setWindowForPreviewPresentation$, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$setWindowForPreviewPresentation$);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(startInteractivePreviewAtLocation:inView:), (IMP)&_logos_method$Tick$UIPreviewInteractionController$startInteractivePreviewAtLocation$inView$, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$startInteractivePreviewAtLocation$inView$);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(commitInteractivePreview), (IMP)&_logos_method$Tick$UIPreviewInteractionController$commitInteractivePreview, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$commitInteractivePreview);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(forcePresentationController:didSelectMenuItem:), (IMP)&_logos_method$Tick$UIPreviewInteractionController$forcePresentationController$didSelectMenuItem$, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$forcePresentationController$didSelectMenuItem$);MSHookMessageEx(_logos_class$Tick$UIPreviewInteractionController, @selector(forcePresentationControllerWantsToCommit:), (IMP)&_logos_method$Tick$UIPreviewInteractionController$forcePresentationControllerWantsToCommit$, (IMP*)&_logos_orig$Tick$UIPreviewInteractionController$forcePresentationControllerWantsToCommit$);} } diff --git a/.theos/packages/me.shymemoriees.tick-1.0 b/.theos/packages/me.shymemoriees.tick-1.0 index 9a03714..9d60796 100644 --- a/.theos/packages/me.shymemoriees.tick-1.0 +++ b/.theos/packages/me.shymemoriees.tick-1.0 @@ -1 +1 @@ -10 \ No newline at end of file +11 \ No newline at end of file diff --git a/Prefs/.DS_Store b/Prefs/.DS_Store index b1dda45..e7b6927 100644 Binary files a/Prefs/.DS_Store and b/Prefs/.DS_Store differ diff --git a/Prefs/Resources/.DS_Store b/Prefs/Resources/.DS_Store index e3375cd..8162d95 100644 Binary files a/Prefs/Resources/.DS_Store and b/Prefs/Resources/.DS_Store differ diff --git a/Prefs/Resources/Banner.png b/Prefs/Resources/Banner.png index 311e9a3..7570ebf 100644 Binary files a/Prefs/Resources/Banner.png and b/Prefs/Resources/Banner.png differ diff --git a/Prefs/Resources/Root.plist b/Prefs/Resources/Root.plist index 7bdea2e..596acdd 100644 --- a/Prefs/Resources/Root.plist +++ b/Prefs/Resources/Root.plist @@ -105,6 +105,26 @@ url https://github.com/ShyMemoriees/Tick/issues/new + + cell + PSGroupCell + label + Icon Design + + + action + twittertaki + cell + PSButtonCell + label + @74k1_ + cellClass + HBTwitterCell + label + taki + user + 74k1_ + cell PSGroupCell diff --git a/Prefs/Resources/icon.png b/Prefs/Resources/icon.png index edf406e..77f84c9 100644 Binary files a/Prefs/Resources/icon.png and b/Prefs/Resources/icon.png differ diff --git a/Prefs/Resources/icon@2x.png b/Prefs/Resources/icon@2x.png index 08f8564..5808ac3 100644 Binary files a/Prefs/Resources/icon@2x.png and b/Prefs/Resources/icon@2x.png differ diff --git a/Prefs/Resources/tick.png b/Prefs/Resources/tick.png index f7e8a3f..18501fc 100644 Binary files a/Prefs/Resources/tick.png and b/Prefs/Resources/tick.png differ diff --git a/Prefs/TCKAppearanceSettings.m b/Prefs/TCKAppearanceSettings.m index b3a85a1..6d6e452 100644 --- a/Prefs/TCKAppearanceSettings.m +++ b/Prefs/TCKAppearanceSettings.m @@ -3,7 +3,7 @@ @implementation TCKAppearanceSettings -(UIColor *)tintColor { - return [UIColor colorWithRed:0.17 green:0.09 blue:0.19 alpha:1.0];; + return [UIColor colorWithRed:0.64 green:0.67 blue:1.00 alpha:1.0];; } -(UIColor *)statusBarTintColor { @@ -23,7 +23,7 @@ } -(UIColor *)navigationBarBackgroundColor { - return [UIColor colorWithRed:0.17 green:0.09 blue:0.19 alpha:1.0];; + return [UIColor colorWithRed:0.64 green:0.67 blue:1.00 alpha:1.0];; } -(BOOL)translucentNavigationBar { diff --git a/Prefs/TCKRootListController.m b/Prefs/TCKRootListController.m index fe79947..2ef3eb4 100644 --- a/Prefs/TCKRootListController.m +++ b/Prefs/TCKRootListController.m @@ -85,7 +85,7 @@ CGRect frame = self.table.bounds; frame.origin.y = -frame.size.height; - self.navigationController.navigationController.navigationBar.barTintColor = [UIColor colorWithRed:0.17 green:0.09 blue:0.19 alpha:1.0]; + self.navigationController.navigationController.navigationBar.barTintColor = [UIColor colorWithRed:0.64 green:0.67 blue:1.00 alpha:1.0]; [self.navigationController.navigationController.navigationBar setShadowImage: [UIImage new]]; self.navigationController.navigationController.navigationBar.tintColor = [UIColor whiteColor]; self.navigationController.navigationController.navigationBar.translucent = NO; diff --git a/Tweak/Tweak.x b/Tweak/Tweak.x index a841f73..5631a58 100644 --- a/Tweak/Tweak.x +++ b/Tweak/Tweak.x @@ -39,6 +39,36 @@ void playSound() { %end +%hook SBIconController + +-(void)_forceTouchControllerWillPresent:(id)arg1 { + + %orig; + + if (enabled) { + playSound(); + + } + +} + +%end + +%hook SBIconController + +-(void)_iconForceTouchControllerWillPresent:(id)arg1 { + + %orig; + + if (enabled) { + playSound(); + + } + +} + +%end + %end %ctor { diff --git a/control b/control index c1f8ba0..e1b97d0 100644 --- a/control +++ b/control @@ -1,7 +1,7 @@ Package: me.shymemoriees.tick Name: Tick -Depends: mobilesubstrate, ws.hbang.common (>= 1.11), firmware (<< 13) -Version: 1.0 +Depends: mobilesubstrate, ws.hbang.common (>= 1.14) +Version: 1.1 Architecture: iphoneos-arm Description: Bring the 3D Touch tick sound for Apps from iOS 13 to iOS 12 and lower Maintainer: ShyMemoriees diff --git a/packages/.DS_Store b/packages/.DS_Store index 121db72..66819f7 100644 Binary files a/packages/.DS_Store and b/packages/.DS_Store differ