File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 1111#import " Aspects.h"
1212#import " FixCode.h"
1313
14+ @interface NSObject (Shutup)
15+
16+ -(void )_autoLayoutViewViewFrameDidChange : (id )arg0 ;
17+
18+ @end
19+
20+ #pragma mark -
21+
1422@interface NSView (Debug)
1523
1624-(NSString *)_subtreeDescription ;
@@ -127,17 +135,15 @@ - (void)swizzleCodeSigningResolution
127135 if (error) {
128136 NSLog (@" Error: %@ " , error);
129137 }
130-
138+
131139 [objc_getClass (" DVTStackView_ML" ) aspect_hookSelector: @selector (_autoLayoutViewViewFrameDidChange: ) withOptions: AspectPositionAfter usingBlock: ^(id <AspectInfo> info) {
132140 NSView * view = info.instance ;
133-
134- if ([[view.superview nextResponder ] isKindOfClass: objc_getClass (" Xcode3CodesignTroubleshootingViewController" )])
135- {
141+
142+ if ([[view.superview nextResponder ] isKindOfClass: objc_getClass (" Xcode3CodesignTroubleshootingViewController" )]) {
136143 [self findAndReplaceFixIssueButtonInView: view.superview];
137144 }
138145 } error: &error];
139-
140-
146+
141147 if (error) {
142148 NSLog (@" Error: %@ " , error);
143149 }
You can’t perform that action at this time.
0 commit comments