• 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
Re: AppleScript-ObjC Bridge Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript-ObjC Bridge Question


  • Subject: Re: AppleScript-ObjC Bridge Question
  • From: Dave <email@hidden>
  • Date: Sun, 01 Nov 2015 13:59:48 +0000

Yes, I was looking at it, but I’m confused how it knows the difference between self and super?

e.g.

[self init]; and [super init];

I suppose it could check if it’s calling the same method as the one it’s calling from and use super in that case, but it seems strange, do this in Objective-C results in an infinite loop:


-(id) init
{
self = [self init];
….
….
….
}

All the Best
Dave


> On 31 Oct 2015, at 20:24, Shane Stanley <email@hidden> wrote:
>
> On 1 Nov 2015, at 12:05 AM, Dave <email@hidden> wrote:
>>
>> continue initWithParam:theParam andAnotherParam:(missing value) of me ?
>>
>> Otherwise how will it know to call super or self?
>
> From the AppleScript Language Guide:
>
>> A continue statement causes AppleScript to invoke the handler with the same name in the parent of the current handler.
>
> No me.
>
> --
> Shane Stanley <email@hidden>
> <www.macosxautomation.com/applescript/apps/>
>
>
> _______________________________________________
>
> 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


_______________________________________________

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: NSUserDefaults Bindings Reset
  • Next by Date: Re: AppleScript-ObjC Bridge Question
  • Previous by thread: Re: NSUserDefaults Bindings Reset
  • Next by thread: Re: AppleScript-ObjC Bridge Question
  • Index(es):
    • Date
    • Thread