Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Master
-
None
Description
CDVViewController's commandDelegate property is typed as CDVCommandDelegateImpl, the concrete implementation of the CDVCommandDelegate protocol. From an object-oriented design standpoint, we want to property to conform to the protocol API, not the implementation. This would come into play particularly if a consumer was providing their own implementation of the protocol, as an override to the parent class's definition.