BandarHelal

Untitled

Feb 26th, 2021
593
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @interface YTAppDelegate : UIResponder
  2. @property(retain, nonatomic) UIWindow *window;
  3. @end
  4.  
  5. @interface YTIVideoDetails : NSObject
  6. @property(copy, nonatomic) NSString *videoId;
  7. @end
  8.  
  9. @interface YTIPlayerResponse : NSObject
  10. @property(retain, nonatomic) YTIVideoDetails *videoDetails;
  11. @end
  12.  
  13. @interface YTIBrowseEndpoint : NSObject
  14. @property(copy, nonatomic) NSString *browseId;
  15. @end
  16.  
  17. @interface YTICommand : NSObject
  18. @property(retain, nonatomic) YTIBrowseEndpoint *browseEndpoint;
  19. @end
  20.  
  21. @interface YTIStringRun : NSObject
  22. @property(copy, nonatomic) NSString *text;
  23. @end
  24.  
  25. @interface YTIFormattedString : NSObject
  26. + (id)formattedStringWithString:(id)arg1;
  27. @end
  28.  
  29. @interface YTIIcon : NSObject
  30. - (BOOL)isDarkMode;
  31. - (id)iconImageWithColor:(UIColor *)arg1;
  32. - (id)newIconImageWithColor:(id)arg1;
  33. @property(nonatomic) int iconType;
  34. @end
  35.  
  36. @interface YTIPivotBarItemRenderer : NSObject
  37. @property(retain, nonatomic) YTIIcon *icon; // @dynamic icon;
  38. @property(retain, nonatomic) YTICommand *navigationEndpoint; // @dynamic navigationEndpoint;
  39. @property(copy, nonatomic) NSString *pivotIdentifier;
  40. @property(retain, nonatomic) YTIFormattedString *title; // @dynamic title;
  41. @property(copy, nonatomic) NSData *trackingParams; // @dynamic trackingParams;
  42. @end
  43.  
  44. @interface YTIPivotBarRenderer : NSObject
  45. @property(nonatomic) _Bool hasTrackingParams;
  46. @property(retain, nonatomic) NSMutableArray *itemsArray;
  47. //@property(readonly, nonatomic) unsigned long long itemsArray_Count;
  48. @property(copy, nonatomic) NSData *trackingParams;
  49. @end
  50.  
  51. @interface YTPivotBarItemView : UIView
  52. @property(retain, nonatomic) YTIPivotBarItemRenderer *renderer;
  53. @end
  54.  
  55. @interface YTPivotBarView : UIView
  56. @property(retain, nonatomic) YTPivotBarItemView *itemView6; // @synthesize itemView6=_itemView6;
  57. @property(retain, nonatomic) YTPivotBarItemView *itemView5; // @synthesize itemView5=_itemView5;
  58. @property(retain, nonatomic) YTPivotBarItemView *itemView4; // @synthesize itemView4=_itemView4;
  59. @property(retain, nonatomic) YTPivotBarItemView *itemView3; // @synthesize itemView3=_itemView3;
  60. @property(retain, nonatomic) YTPivotBarItemView *itemView2; // @synthesize itemView2=_itemView2;
  61. @property(retain, nonatomic) YTPivotBarItemView *itemView1; // @synthesize itemView1=_itemView1;
  62. @property(readonly, nonatomic) NSArray *itemViews;
  63. @property(retain, nonatomic) YTIPivotBarRenderer *renderer;
  64. @end
  65.  
  66. @interface YTIPivotBarSupportedRenderers : NSObject
  67. @property(retain, nonatomic) YTIPivotBarItemRenderer *pivotBarItemRenderer;
  68. @end
  69.  
  70. @interface YTPlayerResponse : NSObject
  71. @property(readonly, nonatomic) YTIPlayerResponse *playerData;
  72. @end
  73.  
  74. @interface YTPlayerViewController : UIViewController
  75. @property (strong) YTPlayerResponse *playerResponse;
  76. @property(readonly, nonatomic) NSString *contentVideoID;
  77. @property(readonly, nonatomic) NSString *currentVideoID;
  78. - (void)performBlock:(void (^)(void))block
  79.           afterDelay:(NSTimeInterval)delay;
  80. - (void)fireBlockAfterDelay:(void (^)(void))block;
  81. @end
  82.  
  83. @interface YTPageStyleController : NSObject
  84. @property(nonatomic, assign, readonly) NSInteger pageStyle;
  85. @end
  86.  
  87. @interface YTIButtonRenderer : NSObject
  88. @property(retain, nonatomic) YTICommand *command;
  89. @property(retain, nonatomic) YTIIcon *icon;
  90. @property(retain, nonatomic) YTICommand *navigationEndpoint;
  91. @property(copy, nonatomic) NSString *targetId; // @dynamic targetId;
  92. @property(retain, nonatomic) YTIFormattedString *text; // @dynamic text;
  93. @end
  94.  
  95. @interface YTIButtonSupportedRenderers : NSObject
  96. @property(retain, nonatomic) YTIButtonRenderer *buttonRenderer;
  97. @end
  98. @interface YTISlimMetadataButtonRenderer : NSObject
  99. @property(retain, nonatomic) YTIButtonSupportedRenderers *button;
  100. @end
  101.  
  102. @interface YTISlimMetadataButtonSupportedRenderers : NSObject
  103. @property(retain, nonatomic) YTISlimMetadataButtonRenderer *slimMetadataButtonRenderer;
  104. @end
  105.  
  106. @interface YTSlimVideoScrollableDetailsActionsView : UIScrollView
  107. {
  108.     NSMutableArray *_supportedRenderers;
  109. }
  110. - (YTISlimMetadataButtonSupportedRenderers *)makeNewButtonWithTitle:(NSString *)title iconType:(int)IconType BrowseId:(NSString *)browseid;
  111. @end
  112.  
  113. @interface YTBrowseViewController : UIViewController
  114. @property(retain, nonatomic) YTICommand *navEndpoint;
  115. @end
  116.  
  117. @interface YTICompactLinkRenderer : NSObject
  118. @property(retain, nonatomic) YTIIcon *icon;
  119. @property(retain, nonatomic) YTICommand *navigationEndpoint;
  120. @property(retain, nonatomic) YTIFormattedString *title;
  121. @property(copy, nonatomic) NSString *targetId;
  122. @end
  123. @interface YTIMultiPageMenuSectionItemSupportedRenderers : NSObject
  124. //@property(retain, nonatomic) YTIBackgroundPromoRenderer *backgroundPromoRenderer; // @dynamic backgroundPromoRenderer;
  125. @property(retain, nonatomic) YTICompactLinkRenderer *compactLinkRenderer; // @dynamic compactLinkRenderer;
  126. //@property(readonly, nonatomic) int itemsOneOfCase; // @dynamic itemsOneOfCase;
  127.  
  128. @end
  129.  
  130. @interface YTIMultiPageMenuSectionRenderer : NSObject
  131. @property(retain, nonatomic) NSMutableArray *itemsArray; // @dynamic itemsArray;
  132. @property(readonly, nonatomic) unsigned long long itemsArray_Count; // @dynamic itemsArray_Count;
  133. @end
  134.  
  135. @interface YTInnerTubeCollectionViewController : UIViewController
  136. @property(readonly, nonatomic) NSMutableArray *sectionRenderers;
  137. @end
  138.  
  139. @interface YTFormattedStringLabel : NSObject
  140. @property(readonly, nonatomic) NSAttributedString *attributedText;
  141. @end
  142.  
  143. @interface YTSlimVideoDetailsActionView : UIView
  144. - (NSString *)getVideoID;
  145. @property(retain, nonatomic) YTFormattedStringLabel *label;
  146. @end
  147.  
  148. @interface YTColor : NSObject
  149. + (UIColor *)white1;
  150. @end
  151.  
  152. @interface QTMIcon : NSObject
  153. + (UIImage *)tintImage:(UIImage *)image color:(UIColor *)color;
  154. @end
  155.  
  156. @interface YTQTMButton : UIButton
  157. + (id)buttonWithImage:(id)arg1 accessibilityLabel:(id)arg2 accessibilityIdentifier:(id)arg3;
  158. + (id)barButtonWithImage:(id)arg1 accessibilityLabel:(id)arg2 accessibilityIdentifier:(id)arg3;
  159. @end
  160.  
  161. @interface YTRightNavigationButtons : UIView
  162. - (BOOL)isDarkMode;
  163. - (UIImage *)SettingImage;
  164. - (void)didPressSettingButton;
  165. - (void)setButton:(id)arg1 forType:(unsigned long long)arg2;
  166. @end
  167.  
  168. @interface YTHeaderContentComboViewController: UIViewController
  169. @end
  170.  
  171. %hook YTSlimVideoScrollableDetailsActionsView
  172. - (void)createActionViewsFromSupportedRenderers:(NSMutableArray *)renderers {
  173.     %orig;
  174.     YTISlimMetadataButtonSupportedRenderers *HollowButton = [self makeNewButtonWithTitle:@"Hollow" iconType:88 BrowseId:@"download.hollow.command"];
  175. //    YTISlimMetadataButtonSupportedRenderers *PiPButton = [self makeNewButtonWithTitle:@"PiP" iconType:88 BrowseId:@"pip.hollow.command"];
  176.     [renderers addObjectsFromArray:@[HollowButton]];
  177. }
  178. %new - (YTISlimMetadataButtonSupportedRenderers *)makeNewButtonWithTitle:(NSString *)title iconType:(int)IconType BrowseId:(NSString *)browseid {
  179.     YTISlimMetadataButtonSupportedRenderers *SupportedRenderer = [[NSClassFromString(@"YTISlimMetadataButtonSupportedRenderers") alloc] init];
  180.     YTISlimMetadataButtonRenderer *MetadataButtonRenderer = [[NSClassFromString(@"YTISlimMetadataButtonRenderer") alloc] init];
  181.     YTIButtonSupportedRenderers *ButtonSupportedRenderer = [[NSClassFromString(@"YTIButtonSupportedRenderers") alloc] init];
  182.     YTIBrowseEndpoint *endPoint = [[NSClassFromString(@"YTIBrowseEndpoint") alloc] init];
  183.     [endPoint setBrowseId:browseid];
  184.     YTICommand *command = [[NSClassFromString(@"YTICommand") alloc] init];
  185.     [command setBrowseEndpoint:endPoint];
  186.     YTIButtonRenderer *button = [[NSClassFromString(@"YTIButtonRenderer") alloc] init];
  187.     YTIIcon *icon = [[NSClassFromString(@"YTIIcon") alloc] init];
  188.     [icon setIconType:IconType];
  189.    
  190.     [button setText:[NSClassFromString(@"YTIFormattedString") formattedStringWithString:title]];
  191.     [button setIcon:icon];
  192.     [button setNavigationEndpoint:command];
  193.    
  194.     [ButtonSupportedRenderer setButtonRenderer:button];
  195.     [MetadataButtonRenderer setButton:ButtonSupportedRenderer];
  196.     [SupportedRenderer setSlimMetadataButtonRenderer:MetadataButtonRenderer];
  197.    
  198.     return SupportedRenderer;
  199. }
  200. %end
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×