Implement bootstrapping auto layout

This commit is contained in:
Benjamin Johnson 2023-02-26 13:28:15 +11:00
parent 829069af34
commit 93769f3a52
8 changed files with 259 additions and 21 deletions

View file

@ -30,6 +30,7 @@
#import <Foundation/NSKeyedArchiver.h>
#import <AppKit/NSLayoutAnchor.h>
#import <AppKit/NSView.h>
#import <AppKit/NSWindow.h>
@class NSControl, NSAnimation, NSArray, NSMutableArray, NSDictionary;
@ -183,6 +184,14 @@ APPKIT_EXPORT_CLASS
@end
@interface NSWindow (NSConstraintBasedLayoutCoreMethods)
- (void) _bootstrapAutoLayout;
- (void) layoutIfNeeded;
@end
#if defined(__cplusplus)
}
#endif