cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Hawkins (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-2502) iOS: CDVViewController's commandDelegate property should be typed to the protocol
Date Wed, 20 Feb 2013 17:25:13 GMT
Kevin Hawkins created CB-2502:
---------------------------------

             Summary: iOS: CDVViewController's commandDelegate property should be typed to
the protocol
                 Key: CB-2502
                 URL: https://issues.apache.org/jira/browse/CB-2502
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: Master
            Reporter: Kevin Hawkins
            Assignee: Shazron Abdullah
            Priority: Minor


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message