Skip to content

Commit

Permalink
Merge pull request #379 from Theome/master
Browse files Browse the repository at this point in the history
Call super's designated initializer on initialization
  • Loading branch information
TimOliver authored Oct 17, 2019
2 parents 8aa8799 + 56842b9 commit 022ab93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objective-C/TOCropViewController/TOCropViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ - (instancetype)initWithCroppingStyle:(TOCropViewCroppingStyle)style image:(UIIm
{
NSParameterAssert(image);

self = [super init];
self = [super initWithNibName:nil bundle:nil];
if (self) {
// Init parameters
_image = image;
Expand Down

0 comments on commit 022ab93

Please sign in to comment.