This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathTweak.h
164 lines (132 loc) · 4.33 KB
/
Tweak.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
#import <Foundation/Foundation.h>
#import <libhdev/HUtilities/HDownloadMediaWithProgress.h>
#import "instanoads-Swift.h"
#import <AVFoundation/AVFoundation.h>
#import <AVKit/AVPlayerViewController.h>
#import "lib/InstaZoomImageViewController.h"
#define PLIST_PATH "/var/mobile/Library/Preferences/com.haoict.instanoadspref.plist"
#define PREF_CHANGED_NOTIF "com.haoict.instanoadspref/PrefChanged"
@interface UIView (RCTViewUnmounting)
@property(retain, nonatomic) UIViewController *viewController;
- (UIView *)_rootView;
@end
@interface IGImageSpecifier : NSObject
@property(readonly, nonatomic) NSURL *url;
@end
@interface IGVideo : NSObject
@property(readonly, nonatomic) NSSet *allVideoURLs;
@end
@interface IGMedia : NSObject
@property(readonly) IGVideo *video;
@property long long likeCount;
@end
@interface IGFeedItem : NSObject
@property long long likeCount;
@property(readonly) IGVideo *video;
- (BOOL)isSponsored;
- (BOOL)isSponsoredApp;
@end
@interface IGImageView : UIImageView
@property(retain, nonatomic) IGImageSpecifier *imageSpecifier;
- (void)addHandleLongPress; // new
- (void)handleLongPress:(UILongPressGestureRecognizer *)sender; // new
@end
@interface IGFeedItemMediaCell : UICollectionViewCell
@property(retain, nonatomic) IGMedia *post;
@end
@interface IGModernFeedVideoCell : IGFeedItemMediaCell
- (void)addHandleLongPress; // new
- (void)handleLongPress:(UILongPressGestureRecognizer *)sender; // new
@end
@interface IGPanavisionFeedVideoCell : IGFeedItemMediaCell
- (void)addHandleLongPress; // new
- (void)handleLongPress:(UILongPressGestureRecognizer *)sender; // new
@end
@interface IGFeedItemVideoView : UIView
@property(readonly, nonatomic) IGVideo *video;
- (void)addHandleLongPress; // new
- (void)handleLongPress:(UILongPressGestureRecognizer *)sender; // new
@end
@interface IGVideoPlayer : NSObject {
IGVideo *_video;
}
@end
@interface IGTVVideoSectionController : UIViewController {
IGVideoPlayer *_videoPlayer;
}
@end
@interface IGTVFullscreenVideoCell : UICollectionViewCell
@property(nonatomic) IGTVVideoSectionController *delegate;
- (void)addHandleLongPress; // new
- (void)handleLongPress:(UILongPressGestureRecognizer *)sender; // new
@end
/**
* For download story photo/video
*/
@protocol IGStoryPlayerMediaViewType
@end
@interface IGImageProgressView : UIView
@property(retain, nonatomic) IGImageSpecifier *imageSpecifier;
@end
@interface IGStoryPhotoView : UIView<IGStoryPlayerMediaViewType>
@property(retain, nonatomic) IGImageSpecifier *mediaViewLastLoadedImageSpecifier;
@property(readonly, nonatomic) IGImageProgressView *photoView;
@end
@interface IGStoryVideoView : UIView<IGStoryPlayerMediaViewType>
@property(retain, nonatomic) IGVideoPlayer *videoPlayer;
@end
@interface IGStoryViewerContainerView : UIView
@property(retain, nonatomic) UIView<IGStoryPlayerMediaViewType> *mediaView;
@property(nonatomic, retain) UIButton *hDownloadButton; // new property
@end
/**
* For download Reel
*/
@interface IGSundialVideoPlaybackView : UIView {
IGFeedItem *_video;
}
@end
/**
* For HD profile picture
*/
@interface IGUser : NSObject
@property(copy) NSString *username;
@property BOOL followsCurrentUser;
- (NSURL *)HDProfilePicURL;
- (BOOL)isUser;
@end
@interface IGProfilePictureImageView : UIView
@property(readonly, nonatomic) IGUser *user;
- (void)addHandleLongPress; // new
- (void)handleLongPress:(UILongPressGestureRecognizer *)sender; // new
@end
/**
* Determine If User Is Following You
*/
@interface IGProfileBioModel
@property(readonly, copy, nonatomic) IGUser *user;
@end
@interface IGProfileViewController : UIViewController {
IGProfileBioModel *_bioModel;
}
@end
@interface IGProfileSimpleAvatarStatsCell : UICollectionViewCell
@property(nonatomic, retain) UIView *isFollowingYouBadge; // new property
@property(nonatomic, retain) UILabel *isFollowingYouLabel; // new property
- (void)addIsFollowingYouBadgeView; // new
@end
@interface IGUserSession : NSObject
@property(readonly, nonatomic) IGUser *user;
@end
@interface IGWindow : UIWindow
@property(nonatomic) __weak IGUserSession *userSession;
@end
@interface IGShakeWindow : UIWindow
@property(nonatomic) __weak IGUserSession *userSession;
@end
@interface IGStyledString : NSObject
@property(retain, nonatomic) NSMutableAttributedString *attributedString;
- (void)appendString:(id)arg1;
@end
@interface IGInstagramAppDelegate : NSObject <UIApplicationDelegate>
@end