incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse MacFadyen (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-306) Remove extra template App delegate methods
Date Fri, 09 Mar 2012 00:29:57 GMT
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: Jesse MacFadyen
             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

        

Mime
View raw message