No visible @interface for ‘BMPhotosViewController’ declares the selector ‘initWithPhotos:’

Hello,

 

I get the error

 

No visible @interface for ‘BMPhotosViewController’ declares the selector ‘initWithPhotos:’

 

for this line of code :

BMPhotosViewController * photosVC = [[BMPhotosViewController alloc] initWithPhotos:@[[BMPhotoFullImage PhotoImageWithImage:image]]];

 

In one of the pods, NYTPhotoViewController.m has initWithPhoto method implemented as

 

– (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {

    return [self initWithPhoto:nil loadingView:nil notificationCenter:nil];

}

 

Probably I am grossly wrong. Guide.

Powered by WPeMatico

About

You may also like...

Comments are closed.