You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/12 19:52:38 UTC

[jira] [Resolved] (CB-306) Remove extra template App delegate methods

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

Shazron Abdullah resolved CB-306.
---------------------------------

    Resolution: Fixed
    
> Remove extra template App delegate methods
> ------------------------------------------
>
>                 Key: CB-306
>                 URL: https://issues.apache.org/jira/browse/CB-306
>             Project: Apache Callback
>          Issue Type: Improvement
>          Components: iOS
>    Affects Versions: 1.5.0
>            Reporter: Jesse MacFadyen
>            Assignee: Shazron Abdullah
>             Fix For: 1.6.0
>
>
> Currently the template defined AppDelegate.m/.h make the AppDelegate a UIWebViewDelegate and a CDVCommandDelegate, instead of letting the MainViewController handle them.
> MainViewController is already a UIWebViewDelegate + CDVCommandDelegate as it inherits this functionality from the base class : 
> @interface CDVViewController : UIViewController<UIWebViewDelegate, CDVCommandDelegate>
> We could still leave stubbed or commented versions of these methods in MainViewController so developers familiar with ObjC would know how/where to override them, but the base class is already correctly handling these events.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira