uber / UberSignature

Provides an iOS view controller allowing a user to draw their signature with their finger in a realistic style.
MIT License
1.29k stars 174 forks source link

fix assigning presentImage in initializer #15

Closed hiimtmac closed 4 years ago

hiimtmac commented 6 years ago

presetImage was not being set with optional image. Objc version has it

- (instancetype)initWithImage:(UIImage *)image
{
    if (self = [super initWithNibName:nil bundle:nil]) {
        _presetImage = image; // <- HERE!!!!
        _isEmpty = (!image);

        _model = [[UBSignatureDrawingModelAsync alloc] init];
    }

    return self;
}
CLAassistant commented 4 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Taylor McIntyre seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.