nicklockwood / FXBlurView

[DEPRECATED]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple methods named 'bounds' found with mismatched result

liuyan3176 opened this issue · comments

Test in Xcode 7.3.1 and FXBlurView version is 1.6.3 and 1.6.4
The issue is the error:
Multiple methods named 'bounds' found with mismatched result, parameter type or attributes
in the code

  • (BOOL)shouldUpdate
    {
    __strong CALayer *underlyingLayer = [self underlyingLayer];

    return
    underlyingLayer && !underlyingLayer.hidden &&
    self.blurEnabled && [FXBlurScheduler sharedInstance].blurEnabled &&
    !CGRectIsEmpty([self.layer.presentationLayer ?: self.layer bounds]) && !CGRectIsEmpty(underlyingLayer.bounds);
    }
    Anyone has similar issue and how to solve it?