cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-2059) [iOS] CDVPlugin's viewController property should be CDVViewController
Date Fri, 14 Dec 2012 03:12:15 GMT

     [ https://issues.apache.org/jira/browse/CB-2059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Grieve resolved CB-2059.
-------------------------------

    Resolution: Not A Problem

I think this was an explicit choice. All cordova-specific methods that plugins can call are
available through the CDVCommandDelegate protocol. This way we're not committing to the design
of having the functions be implemented by the view controller.
                
> [iOS] CDVPlugin's viewController property should be CDVViewController
> ---------------------------------------------------------------------
>
>                 Key: CB-2059
>                 URL: https://issues.apache.org/jira/browse/CB-2059
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>    Affects Versions: 2.3.0
>            Reporter: Kevin Hawkins
>            Assignee: Shazron Abdullah
>            Priority: Minor
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> CDVPlugin exposes a viewController property, which is currently of the type UIViewController.
 Seems like it should be an instance of CDVViewController, unless there are scenarios where
Cordova plugins would be instantiated from a non-Cordova view controller.

--
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