Fix mfloadimageView to swift crash

This commit is contained in:
Pfeil, Scott Robert 2019-03-22 12:06:24 -04:00
parent 103f465cc8
commit 7341e6930c
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ import UIKit
super.init(frame: .zero)
}
required public init?(coder aDecoder: NSCoder) {
public required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
}

View File

@ -26,8 +26,8 @@
return self;
}
- (instancetype)initWithCoder:(NSCoder *)aDecoder {
self = [super initWithCoder:aDecoder];
- (instancetype)initWithCoder:(NSCoder *)coder {
self = [super initWithCoder:coder];
if (self) {
[self setupView];
}