mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-26 21:40:44 +00:00
Add translatesAutoresizingMaskIntoConstraints
This commit is contained in:
parent
4dc0f9c7da
commit
f65b17208d
@ -71,6 +71,7 @@ static BOOL NSViewLayersEnabled = NO;
|
||||
static BOOL NSShowAllViews = NO;
|
||||
|
||||
@synthesize constraints=_constraints;
|
||||
@synthesize translatesAutoresizingMaskIntoConstraints=_translatesAutoresizingMaskIntoConstraints;
|
||||
|
||||
- (void)addConstraint:(NSLayoutConstraint *)constraint {
|
||||
[_constraints addObject: constraint];
|
||||
|
@ -129,8 +129,11 @@ APPKIT_EXPORT const NSViewFullScreenModeOptionKey NSFullScreenModeApplicationPre
|
||||
id __remove;
|
||||
|
||||
NSMutableArray<NSLayoutConstraint *> *_constraints;
|
||||
BOOL _translatesAutoresizingMaskIntoConstraints;
|
||||
}
|
||||
|
||||
@property BOOL translatesAutoresizingMaskIntoConstraints;
|
||||
|
||||
@property(readonly, copy) NSArray<NSLayoutConstraint *> *constraints;
|
||||
- (void)addConstraint:(NSLayoutConstraint *)constraint;
|
||||
- (void)addConstraints:(NSArray<NSLayoutConstraint *> *)constraints;
|
||||
|
Loading…
Reference in New Issue
Block a user