Re: AppleScript-ObjC Bridge Question
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