danielebogo/DBCamera

Add missing UIKit imports

Open

#153 aperta il 7 mag 2015

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Objective-C (256 fork)github user discovery
Hacktoberfest

Metriche repository

Star
 (1258 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Declaring a class as follows

#import "DBCameraView.h"

@interface CameraView : DBCameraView
@end

throws plenty errors, because the UIKit declarations are missing. DBCameraView itself inherits from UIView without including the header. This should be fixed by adding #import <UIKit/UIKit.h> to all files using UIKit classes.

Would you accept a PR?

Guida contributor