You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2012/12/14 04:12:15 UTC

[jira] [Resolved] (CB-2059) [iOS] CDVPlugin's viewController property should be CDVViewController

     [ 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