Remove redundant declaration of translatesAutoResizingMaskIntoConstraints

This commit is contained in:
ckegel 2023-10-14 11:51:10 -04:00
parent b3c2e2dea3
commit a72e58188c
3 changed files with 1 additions and 13 deletions

View File

@ -3979,7 +3979,7 @@ NSString *const NSAllRomanInputSourcesLocaleIdentifier =
- (id) replacementObjectForKeyedArchiver {
NSUnimplementedMethod();
return self;
}
- (NSTextLayoutOrientation) layoutOrientation {
NSUnimplementedMethod();
return _layoutOrientation;

View File

@ -887,10 +887,6 @@ static inline void buildTransformsIfNeeded(NSView *self) {
return toolTip;
}
- (BOOL) translatesAutoresizingMaskIntoConstraints {
return _translatesAutoresizingMaskIntoConstraints;
}
- viewWithTag: (NSInteger) tag {
int i, count = [_subviews count];
@ -1130,11 +1126,6 @@ static inline void buildTransformsIfNeeded(NSView *self) {
NSUnimplementedMethod();
}
- (void) settranslatesAutoresizingMaskIntoConstraints: (BOOL) value {
_translatesAutoresizingMaskIntoConstraints = value;
NSUnimplementedMethod();
}
- (void) setPostsFrameChangedNotifications: (BOOL) flag {
_postsNotificationOnFrameChange = flag;
}

View File

@ -136,7 +136,6 @@ APPKIT_EXPORT const NSViewFullScreenModeOptionKey NSFullScreenModeApplicationPre
NSLayoutPriority _verticalContentHuggingPriority;
NSLayoutPriority _horizontalContentCompressionResistancePriority;
NSLayoutPriority _verticalContentCompressionResistancePriority;
BOOL _translatesAutoresizingMaskIntoConstraints;
}
@property(class, readonly) BOOL requiresConstraintBasedLayout;
@ -205,7 +204,6 @@ APPKIT_EXPORT const NSViewFullScreenModeOptionKey NSFullScreenModeApplicationPre
- (NSMenu *) menuForEvent: (NSEvent *) event;
- (NSMenuItem *) enclosingMenuItem;
- (NSString *) toolTip;
- (BOOL) translatesAutoresizingMaskIntoConstraints;
- viewWithTag: (NSInteger) tag;
- (NSView *) hitTest: (NSPoint) point;
@ -228,7 +226,6 @@ APPKIT_EXPORT const NSViewFullScreenModeOptionKey NSFullScreenModeApplicationPre
- (void) setBoundsSize: (NSSize) size;
- (void) setBoundsOrigin: (NSPoint) origin;
- (void) setBoundsRotation: (CGFloat) angle;
- (void) setTranslatesAutoresizingMaskIntoConstraints: (BOOL) value;
- (CGFloat) frameRotation;
- (CGFloat) boundsRotation;