danielebogo/DBCamera

Add missing UIKit imports

Open

#153 opened on May 7, 2015

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Objective-C (256 forks)github user discovery
Hacktoberfest

Repository metrics

Stars
 (1,258 stars)
PR merge metrics
 (PR metrics pending)

Description

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?

Contributor guide