I’m trying to override init_ in using an AppleScript-ObjC Class, here is my 
code:

on init_()
    continue init_()
    
    display dialog "HELLO WORLD"
    
    testOutlookAgain_("Hello") of me
    
    -- Add your subclass-specific initialization here.
    -- If an error occurs here, return missing value.
    
    return me
end init_




on initWithBundleAppID_(theBindleAppID)

    init_() of me
    
    testOutlookAgain_("Hello") of me
    
    -- Add your subclass-specific initialization here.
    -- If an error occurs here, return missing value.
    
    return me
end initWithBundleAppID_


But init doesn’t seem to get called. Should I have the “_” after the method 
name or not? I’ve tried both methods but it still doesn’t seem to call init_ or 
at least my AppleScript version of init…..

All the Best
Dave


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to