• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AppleScript-ObjC Bridge Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: AppleScript-ObjC Bridge Question
      • From: Shane Stanley <email@hidden>
  • Prev by Date: -replaceSubview transition animation that is applied to both old and new subviews
  • Next by Date: NSWindow Question
  • Previous by thread: Re: -replaceSubview transition animation that is applied to both old and new subviews
  • Next by thread: Re: AppleScript-ObjC Bridge Question
  • Index(es):
    • Date
    • Thread