UIView(TCGBToastPrivate) Category Reference
| Declared in | UIView+Toast.m |
|---|
– cs_showToast:duration:position:
These private methods are being prefixed with “cs_” to reduce the likelihood of non-obvious naming conflicts with other UIView methods.
- (void)cs_showToast:(UIView *)toast duration:(NSTimeInterval)duration position:(id)positionDiscussion
Should the public API also use the cs_ prefix? Technically it should, but it results in code that is less legible. The current public method names seem unlikely to cause conflicts so I think we should favor the cleaner API for now.
Declared In
UIView+Toast.m