-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add NSError errors in place of NSException #81
Conversation
RiveLinearAnimation* animation2ByIndex = [artboard animationFromIndex:1 error:&error]; | ||
XCTAssertNil(error); | ||
RiveLinearAnimation* animation2ByName = [artboard animationFromName:@"artboard2animation2" error:&error]; | ||
XCTAssertNil(error); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:puke:
|
||
XCTAssertNil(animation); | ||
XCTAssertNotNil(error); | ||
XCTAssertEqualObjects([error domain], @"rive.app.ios.runtime"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can probably wrap this set into some helper thingie, looks like there's some duplication going on here
let delegate = MrDelegate() | ||
let view = RiveView.init( | ||
let view = try RiveView.init( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so this magically bubbles em up eh?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. looks like you had fun with it...
Will require a major version bump.