Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bridged Cocoa object's method is undefined?




On Oct 4, 2005, at 3:33 PM, Darin Adler wrote:

On Oct 4, 2005, at 3:14 PM, Troy Dawson wrote:


data.test() wasn't working so I wanted to see if the reflected function was callable, and I guess it isn't.



Doc bug IMV:

"If you make your class conform to the WebScripting protocol, all of its methods that meet the export criteria above are immediately reflected in the scripting environment".

Adding:

+ (BOOL) isSelectorExcludedFromWebScript: (SEL) sel
{
    return NO;
}


solved the issue. Shoulda seen that but was going on what the docs were saying not my reading of the header files...
 _______________________________________________
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

This email sent to email@hidden

References: 
 >bridged Cocoa object's method is undefined? (From: Troy Dawson <email@hidden>)
 >Re: bridged Cocoa object's method is undefined? (From: Darin Adler <email@hidden>)



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.