| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 9-Dec-05, at 1:19 PM, Darin Adler wrote:
On Dec 7, 2005, at 3:57 PM, Michael Hanna wrote:
I have JavaScript code that calls
var objEnum = new Enumerator(foo);
from reading around on the web, I see that they operate on JS 'collections'. so I'm wondering what sort of object I can send over the js<>cocoa bridge in order to enumerate it, from Cocoa- land to JS-land, that is.
You can call any JavaScript method or get any JavaScript property from an arbitrary JavaScript object from Objective-C, using the methods of the WebScriptObject class. That includes the methods of this enumerator object you're talking about.
-- Darin
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webkitsdk-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden
| References: | |
| >JS Enumerator()? (From: Michael Hanna <email@hidden>) | |
| >Re: JS Enumerator()? (From: Darin Adler <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.