mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-23 04:34:27 +00:00
Use NSView’s designated initializer
This commit is contained in:
1 parent
e2426784ac
commit
65bd11df8a
1 file changed
+1
-1
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
if (!(self = [super init]))
|
||||
return self;
|
||||
|
||||
NSView *buttonGroup = [NSView new];
|
||||
NSView *buttonGroup = [[NSView alloc] initWithFrame:NSZeroRect];
|
||||
self.view = buttonGroup;
|
||||
NSMutableArray<NSLayoutConstraint *> *constraints = [NSMutableArray array];
|
||||
NSMutableArray<NSButton *> *buttonCopies = [NSMutableArray arrayWithCapacity:buttons.count];
|
||||
|
||||
Reference in new issue
Block a user