This file contains hidden or 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
#import <UIKit/UIKit.h> | |
%config(generator=internal) | |
@interface WAInputBarRoundButton : UIButton | |
@end | |
@interface WAInputTextView : UITextView | |
@end |
This file contains hidden or 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
@protocol BHDownloadDelegate <NSObject> | |
- (void)downloadProgress:(float)progress; | |
- (void)downloadDidFinish:(NSURL *_Nullable)filePath Filename:(NSString *_Nullable)fileName; | |
- (void)downloadDidFailureWithError:(NSError *)error; | |
@end | |
@interface BHDownload : NSObject | |
{ | |
id delegate; | |
} |
This file contains hidden or 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
#import <Foundation/Foundation.h> | |
#import <UIKit/UIKit.h> | |
@interface DownloadManager : NSObject | |
+ (void)DownloadVideoWithURL:(NSString *)url completionHandler:(void (^)(NSURL *filePath, NSError *error))completionHandler; | |
@end |
This file contains hidden or 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
%hook TFSKeychain | |
- (NSString *)providerDefaultAccessGroup { | |
NSDictionary *query = [NSDictionary dictionaryWithObjectsAndKeys: | |
(__bridge NSString *)kSecClassGenericPassword, (__bridge NSString *)kSecClass, | |
@"bundleSeedID", kSecAttrAccount, | |
@"", kSecAttrService, | |
(id)kCFBooleanTrue, kSecReturnAttributes, | |
nil]; | |
CFDictionaryRef result = nil; | |
OSStatus status = SecItemCopyMatching((__bridge CFDictionaryRef)query, (CFTypeRef *)&result); |
This file contains hidden or 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
// | |
// CustomActivity.h | |
// RedditDownloader | |
// | |
// Created by BandarHelal on 18/08/1441 AH. | |
// | |
#import <UIKit/UIKit.h> | |
@interface CustomActivity : UIActivity |
This file contains hidden or 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
#import "CCFLEXible.h" | |
#import <objc/runtime.h> | |
#include <dlfcn.h> | |
@interface FLEXManager : NSObject | |
+ (instancetype)sharedManager; | |
- (void)showExplorer; | |
- (void)hideExplorer; | |
- (void)toggleExplorer; | |
@end |
This file contains hidden or 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
#import <UIKit/UIKit.h> | |
#import <Foundation/Foundation.h> | |
%hook UITextView | |
- (void)layoutSubviews { | |
%orig; | |
UILongPressGestureRecognizer *longTap = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(handleLongPress)]; |
This file contains hidden or 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
static NSString *accessGroupID() { | |
NSDictionary *query = [NSDictionary dictionaryWithObjectsAndKeys: | |
(__bridge NSString *)kSecClassGenericPassword, (__bridge NSString *)kSecClass, | |
@"bundleSeedID", kSecAttrAccount, | |
@"", kSecAttrService, | |
(id)kCFBooleanTrue, kSecReturnAttributes, | |
nil]; | |
CFDictionaryRef result = nil; | |
OSStatus status = SecItemCopyMatching((__bridge CFDictionaryRef)query, (CFTypeRef *)&result); | |
if (status == errSecItemNotFound) |
This file contains hidden or 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
#import <UIKit/UIKit.h> | |
%config(generator=internal) | |
@interface WAMessage: NSObject | |
@property (nonatomic, retain) NSAttributedString *attributedText; | |
@property (nonatomic, retain) NSString *text; | |
@end | |
@interface WAMessageReplyContext : NSObject |