Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9149BDAF4 for ; Wed, 3 Oct 2012 20:11:32 +0000 (UTC) Received: (qmail 38955 invoked by uid 500); 3 Oct 2012 20:11:32 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 38936 invoked by uid 500); 3 Oct 2012 20:11:32 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 38916 invoked by uid 99); 3 Oct 2012 20:11:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 20:11:32 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shazron@gmail.com designates 209.85.220.175 as permitted sender) Received: from [209.85.220.175] (HELO mail-vc0-f175.google.com) (209.85.220.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 20:11:26 +0000 Received: by vcqp1 with SMTP id p1so8853131vcq.6 for ; Wed, 03 Oct 2012 13:11:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :content-type; bh=wVm5aOnU/CvkrepqOGm/Ba5ZwQXzDeRWwaa0EW/SVrA=; b=OKMUkcYVlzBdhscdLSX2VAQJS2KztoPaFobi584TDSVrFk5JoUck6dX2kME+ul1R1K ySrtodM0aTBsnC+e6zlk9itSkrfVD+Y7I3sJhN7PwFjNVzjzHOeMGD1+3HlpZALXH6qy SNPJSbZZx9fdPTzsp8sl6lEi28znMvvfNEyCLrAPimBfHAEt2ms/PBmccrBUBImTPZuu fzDS2uT/ExnSbvWM0rHQzDwIbj3Vu2vAwotMssYd/eMhmtnz2D/nU+gqEEZf9DD8OTZV OPtlu1vea2jw3fumIbRjXCjDnFuirC+jsLstZVFnO1BPPsD3MOeCzq6sfpXcL1MJ8AP8 Q91w== Received: by 10.52.21.193 with SMTP id x1mr1398320vde.130.1349295065162; Wed, 03 Oct 2012 13:11:05 -0700 (PDT) References: From: Shazron Abdullah In-Reply-To: Mime-Version: 1.0 (1.0) Date: Wed, 3 Oct 2012 13:11:04 -0700 Message-ID: <8993501429524945084@unknownmsgid> Subject: Re: What does CDVCommandDelegate do? To: "callback-dev@incubator.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Legacy stuff if you go back in AppDelegate history that was not removed On 2012-10-03, at 12:49 PM, Jesse wrote: > Yeah, this is whack! > self.commandDelegate = self; > > > > On Wed, Oct 3, 2012 at 12:46 PM, Jesse wrote: >> The delegate is just meant to define the interface. I am not sure why >> CDVViewController both HAS and IS one ... >> >> On Wed, Oct 3, 2012 at 12:14 PM, Andrew Grieve wrote: >>> https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-ios.git;a=blob;f=CordovaLib/Classes/CDVCommandDelegate.h;h=fce9b78cfab7c174efe7fcd75537d5bc1c864df0;hb=HEAD >>> >>> It has not class description :(. >>> >>> One thought I had was that it is the interface to make available to >>> plugins, but if this is the case, I'm not sure why CDVViewController has a >>> commandDelegate property instead of just using self. >> >> >> >> -- >> @purplecabbage >> risingj.com > > > > -- > @purplecabbage > risingj.com