Files
TrollDecrypt-tvOS/LSApplicationProxy+AltList.h
Donato Fiore 54d9adfdd9 1.1
Fix icons not showing up for some users app crashing on launch, app crashing when going to share files
2023-12-02 22:01:30 -05:00

37 lines
1.4 KiB
Objective-C

#import <MobileCoreServices/LSApplicationProxy.h>
#import <MobileCoreServices/LSApplicationWorkspace.h>
@interface LSApplicationRecord : NSObject
@property (nonatomic,readonly) NSArray* appTags; // 'hidden'
@property (getter=isLaunchProhibited,readonly) BOOL launchProhibited;
@end
@interface LSApplicationProxy (Additions)
@property (readonly, nonatomic) NSString *shortVersionString;
@property (nonatomic,readonly) NSString* localizedName;
@property (nonatomic,readonly) NSString* applicationType; // (User/System)
@property (nonatomic,readonly) NSArray* appTags; // 'hidden'
@property (getter=isLaunchProhibited,nonatomic,readonly) BOOL launchProhibited;
+ (instancetype)applicationProxyForIdentifier:(NSString*)identifier;
- (LSApplicationRecord*)correspondingApplicationRecord;
@end
@interface LSApplicationWorkspace (Additions)
- (void)addObserver:(id)arg1;
- (void)removeObserver:(id)arg1;
- (void)enumerateApplicationsOfType:(NSUInteger)type block:(void (^)(LSApplicationProxy*))block;
@end
@interface LSApplicationProxy (AltList)
- (BOOL)atl_isSystemApplication;
- (BOOL)atl_isUserApplication;
- (BOOL)atl_isHidden;
- (NSString*)atl_fastDisplayName;
- (NSString*)atl_nameToDisplay;
- (NSString*)atl_shortVersionString;
@property (nonatomic,readonly) NSString* atl_bundleIdentifier;
@end
@interface LSApplicationWorkspace (AltList)
- (NSArray*)atl_allInstalledApplications;
@end