/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2010 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ // // this is a simple method delegate that is used to indicate that a return // value should be delegated as a method to another target/selector when // invoked. it provides a clean separation between Kroll and an implementation // @interface KrollMethodDelegate : NSObject { @private id target; SEL selector; BOOL args; } -(id)initWithTarget:(id)target selector:(SEL)selector args:(BOOL)args_; -(id)target; -(SEL)selector; -(BOOL)args; @end