AppleScript-ObjC Bridge Question
AppleScript-ObjC Bridge Question
- Subject: AppleScript-ObjC Bridge Question
- From: Dave <email@hidden>
- Date: Thu, 29 Oct 2015 14:14:28 +0000
Hi All,
Using the AppleScript-ObjC bridge is it possible to define an init method in the .applescript file and have it called like a normal Cocoa init? If so, how to I define it? If not, is there a method that gets call at Startup?
This is from http://appscript.sourceforge.net/asoc.html
MyASClass *stuff = [[NSClassFromString(@"MyASClass") alloc] init];
Is it possible to use different init methods, e.g.
-(id) initWithParameterDictionary:(NSDictionary*) theParameterDictionary;
All the Best
Dave
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden