PRTween icon indicating copy to clipboard operation
PRTween copied to clipboard

can not run on iphone simulater

Open yangshengchaoios opened this issue 10 years ago • 1 comments

yangshengchaoios avatar Sep 21 '14 14:09 yangshengchaoios

The program will crash at the following lines: so, why?

    // @HACK: Come up with a better pattern for removing observers.
    @try {
        [tweenOperation removeObserver:[PRTween sharedInstance] forKeyPath:@"period.tweenedValue"];
    } @catch (id exception) {
    }
    @try {
        [tweenOperation removeObserver:[PRTween sharedInstance] forKeyPath:@"period.tweenedLerp"];
    } @catch (id exception) {
    }

yangshengchaoios avatar Sep 21 '14 14:09 yangshengchaoios