cntrump
cntrump
Depend on https://github.com/libtom/libtommath/pull/518
@googlebot I signed it!
Fixed https://github.com/SnapKit/Masonry/pull/594
so sorry, safeAreaLayoutGuide is my PR. by default, self.view.mas_safeAreaLayoutGuide is self.view.mas_safeAreaLayoutGuideBottom
@CDYeah you are right, it is my mistake
这样? ```objc - (__kindof MAS_VIEW *)mas_closestCommonSuperview:(MAS_VIEW *)view { MAS_VIEW *closestCommonSuperview = self; MAS_VIEW *secondViewSuperview = view; while (closestCommonSuperview != secondViewSuperview) { closestCommonSuperview = closestCommonSuperview == nil ? view : closestCommonSuperview.superview;...
> 这么写感觉在某些case会陷入死循环,如果self的superview是nil,view也是nil的情况 返回 nil。 理论上不会死循环,因为不会形成环。 这里有别人做的动画演示。 https://zhuanlan.zhihu.com/p/357611418
try this pr please: https://github.com/SnapKit/Masonry/pull/594
@smellflower @koreadragon , replace __IPHONE_OS_VERSION_MIN_REQUIRED with __IPHONE_OS_VERSION_MAX_ALLOWED
```objc @implementation MASExampleUpdateView - (instancetype)init { if (self = [super init]) { self.growingButton = [UIButton buttonWithType:UIButtonTypeSystem]; [self.growingButton setTitle:@"Grow Me!" forState:UIControlStateNormal]; self.growingButton.layer.borderColor = UIColor.greenColor.CGColor; self.growingButton.layer.borderWidth = 3; [self.growingButton addTarget:self action:@selector(didTapGrowButton:) forControlEvents:UIControlEventTouchUpInside];...