Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

fix assigning presentImage in initializer #14

Closed
wants to merge 4 commits into from
Closed

fix assigning presentImage in initializer #14

wants to merge 4 commits into from

Conversation

hiimtmac
Copy link

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
Copy link

CLAassistant commented Sep 25, 2018

CLA assistant check
All committers have signed the CLA.

@hiimtmac hiimtmac closed this Sep 25, 2018
@hiimtmac
Copy link
Author

Pls delete, ref: #15

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants