| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| Yes. I suppose your NSArray is the result of a objC call? Supposing you've figured out how to call it already from _javascript_ (see these methods) + (NSString *)webScriptNameForSelector:(SEL)aSel; + (BOOL)isSelectorExcludedFromWebScript:(SEL)aSel; you can do something like this: var things = MyWidgetPlugin.someThings(); if (things) { var thingCount = things.length; for (var thingIndex = 0; thingIndex < thingCount; ++ thingIndex) { var aThing = things[ thingIndex]; } Does that help? Your plugin class just has an instance method like: - (NSArray *)someThings; -Tom On May 10, 2005, at 1:19 PM, Stefan Hanshans wrote:
|
_______________________________________________ Do not post admin requests to the list. They will be ignored. Dashboard-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/dashboard-dev/email@hidden This email sent to email@hidden
| References: | |
| >Passing Arrays Between Widget and Plugin (From: Stefan Hanshans <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.