dji-sdk / DJIWidget

The DJIWidget is a delightful DJI library includes VideoPreviewer for video decoding.
Other
36 stars 30 forks source link

The declaration of method instance not consistent with its implementation #6

Closed PandaraWen closed 5 years ago

PandaraWen commented 6 years ago

The declaration of instance in DJIVideoPreviewer.h is:

+ (DJIVideoPreviewer *)instance;

While its implementation in .m file is:

+ (instancetype)instance {
...
}

Whose return type is not consistent.