Re: AppleScript-ObjC Bridge Question
Re: AppleScript-ObjC Bridge Question
- Subject: Re: AppleScript-ObjC Bridge Question
- From: Shane Stanley <email@hidden>
- Date: Sat, 31 Oct 2015 23:05:09 +1100
- X_v_e_cd: 04b07091a28467d820df541dd6606e07
- X_v_r_cd: 56127127bb1d74fe8292241951a5974c
On 31 Oct 2015, at 10:58 PM, Dave <email@hidden> wrote:
>
> So:
>
> continue init()
>
> Calls the Superclass?
Yes.
> How would I do this:
>
> -(void) initWithParam:(NSString*) theParam
> {
> self = [self initWithParam:theParam andAnotherParam:nil];
> if (self == nil)
> return;
>
> // Do something
>
> return self;
> }
Probably:
on initWithParam:theParam
continue initWithParam:theParam andAnotherParam:(missing value)
-- Add your subclass-specific initialization here.
-- If an error occurs here, return missing value.
return me
end init
But the differing inits smells a bit to me -- especially as it's unnecessary.
>
> Thanks a lot, if you could point me to some documentation on this
There is none to speak of.
--
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