-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHarlemShakeTVTweak_header.h
63 lines (47 loc) · 1.95 KB
/
HarlemShakeTVTweak_header.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
//headers we need!
#import <UIKit/UIKit.h>
#import "VLMHarlemShake.h"
/*
This tweak was created out of boredom and for my good friend David from @thejailbreakhub.
Copyright 2019 J.K. Hayslip (@iKilledAppl3) & ToxicAppl3 INSDC./iKilledAppl3 LLC.
December, 29, 2019 was a fun day for us all!
Anyways enjoy and remember not to spoil yourself!
*/
// Make sure our path is specified so our tweak knows where to store all of the settings :)
#define PLIST_PATH @"/var/mobile/Library/Preferences/com.ikilledappl3.harlemshaketv.plist"
//BOOL value that is stored if tweak was enabled.
BOOL kEnabled;
// Apple classes we need so the tweak knows what's up
@interface HBAppGridView : UIView
@end
@interface HBAppGridViewController : UIViewController
@property (nonatomic,retain) UIAlertController *editingAlertController;
@property (nonatomic,retain) UIView *headerView;
@property (nonatomic,retain) HBAppGridView *appGridView;
-(void)viewDidAppear:(BOOL)arg1;
-(void)loadView;
-(void)viewDidLoad;
@end
@interface _TVImageStackView : UIStackView
@end
@interface _UIStackedImageContainerView : UIView
@end
@interface HBImageStackCollectionViewCell : UICollectionViewCell
@property (nonatomic,retain) _TVImageStackView * imageStackView;
@property (nonatomic,retain) _UIStackedImageContainerView * layeredImageView;
@property (nonatomic,retain) UIView * overlayView;
@property (getter=_isPressed,nonatomic,readonly) BOOL pressed;
-(BOOL)_isPressed;
// new
-(void)setupHarlemShake;
@end
@interface HBRootCell : HBImageStackCollectionViewCell
-(UIView *)icon;
-(void)setIcon:(id)arg1;
-(void)_enterIdleMode;
@end
// set these as static so we can call upon them at any time in the tweak!
VLMHarlemShake *harlemShake; // Harlem Shake class
UIView *lonerView; // a nil UIView that we tell VLMHarlemShake what view to start shaking first!
BOOL animating; // is the tweak in action? I.e. is it animating?
HBRootCell *rootCell; // the icon root view "shrug"....