Changes existential NSStringFromSelector(_cmd) for straightforward __FUCNTION__

This commit is contained in:
Valeriy Van 2016-08-28 12:48:08 +03:00
parent 517be4bfa9
commit 5a71bde79a

View File

@ -379,13 +379,13 @@
- (void)createCaptureOutput; - (void)createCaptureOutput;
{ {
[NSException raise:NSInternalInconsistencyException [NSException raise:NSInternalInconsistencyException
format:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)]; format:@"You must override %s in a subclass", __FUNCTION__];
} }
- (void)createCustomVideoPreview; - (void)createCustomVideoPreview;
{ {
[NSException raise:NSInternalInconsistencyException [NSException raise:NSInternalInconsistencyException
format:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)]; format:@"You must override %s in a subclass", __FUNCTION__];
} }
- (void)updateOrientation; - (void)updateOrientation;