Documentation Archive Developer
Search

OSAKit Changes

OSAKit

OSALanguage.h
Removed -[OSALanguage componentInstance]
Removed -[OSALanguage features]
Removed -[OSALanguage info]
Removed -[OSALanguage isThreadSafe]
Removed -[OSALanguage manufacturer]
Removed -[OSALanguage name]
Removed -[OSALanguage subType]
Removed -[OSALanguage type]
Removed -[OSALanguage version]
Added OSALanguage.componentInstance
Added OSALanguage.features
Added OSALanguage.info
Added OSALanguage.manufacturer
Added OSALanguage.name
Added OSALanguage.subType
Added OSALanguage.threadSafe
Added OSALanguage.type
Added OSALanguage.version
Modified -[OSALanguage initWithComponent:]
Declaration
From
- (id)initWithComponent:(Component)component
To
- (instancetype)initWithComponent:(Component)component

OSALanguageInstance.h
Removed -[OSALanguageInstance componentInstance]
Removed -[OSALanguageInstance language]
Added OSALanguageInstance.componentInstance
Added OSALanguageInstance.defaultTarget
Added OSALanguageInstance.language
Added -[OSALanguageInstance richTextFromDescriptor:]
Modified -[OSALanguageInstance initWithLanguage:]
Declaration
From
- (id)initWithLanguage:(OSALanguage *)language
To
- (instancetype)initWithLanguage:(OSALanguage *)language

Modified +[OSALanguageInstance languageInstanceWithLanguage:]
Declaration
From
+ (id)languageInstanceWithLanguage:(OSALanguage *)language
To
+ (instancetype)languageInstanceWithLanguage:(OSALanguage *)language

OSAScript.h
Removed -[OSAScript isCompiled]
Removed -[OSAScript language]
Removed -[OSAScript languageInstance]
Removed -[OSAScript richTextSource]
Removed -[OSAScript setLanguage:]
Removed -[OSAScript setLanguageInstance:]
Removed -[OSAScript source]
Removed -[OSAScript url]
Added OSAScript.compiled
Added OSAScript.language
Added OSAScript.languageInstance
Added OSAScript.richTextSource
Added OSAScript.source
Added OSAScript.url
Modified -[OSAScript initWithCompiledData:fromURL:usingStorageOptions:error:]
Declaration
From
- (id)initWithCompiledData:(NSData *)data fromURL:(NSURL *)url usingStorageOptions:(OSAStorageOptions)storageOptions error:(NSError **)errorInfo
To
- (instancetype)initWithCompiledData:(NSData *)data fromURL:(NSURL *)url usingStorageOptions:(OSAStorageOptions)storageOptions error:(NSError **)errorInfo

Modified -[OSAScript initWithContentsOfURL:error:]
Declaration
From
- (id)initWithContentsOfURL:(NSURL *)url error:(NSDictionary **)errorInfo
To
- (instancetype)initWithContentsOfURL:(NSURL *)url error:(NSDictionary **)errorInfo

Modified -[OSAScript initWithContentsOfURL:languageInstance:usingStorageOptions:error:]
Declaration
From
- (id)initWithContentsOfURL:(NSURL *)url languageInstance:(OSALanguageInstance *)instance usingStorageOptions:(OSAStorageOptions)storageOptions error:(NSError **)errorInfo
To
- (instancetype)initWithContentsOfURL:(NSURL *)url languageInstance:(OSALanguageInstance *)instance usingStorageOptions:(OSAStorageOptions)storageOptions error:(NSError **)errorInfo

Modified -[OSAScript initWithScriptDataDescriptor:fromURL:languageInstance:usingStorageOptions:error:]
Declaration
From
- (id)initWithScriptDataDescriptor:(NSAppleEventDescriptor *)data fromURL:(NSURL *)url languageInstance:(OSALanguageInstance *)instance usingStorageOptions:(OSAStorageOptions)storageOptions error:(NSError **)errorInfo
To
- (instancetype)initWithScriptDataDescriptor:(NSAppleEventDescriptor *)data fromURL:(NSURL *)url languageInstance:(OSALanguageInstance *)instance usingStorageOptions:(OSAStorageOptions)storageOptions error:(NSError **)errorInfo

Modified -[OSAScript initWithSource:]
Declaration
From
- (id)initWithSource:(NSString *)source
To
- (instancetype)initWithSource:(NSString *)source

Modified -[OSAScript initWithSource:fromURL:languageInstance:usingStorageOptions:]
Declaration
From
- (id)initWithSource:(NSString *)source fromURL:(NSURL *)url languageInstance:(OSALanguageInstance *)instance usingStorageOptions:(OSAStorageOptions)storageOptions
To
- (instancetype)initWithSource:(NSString *)source fromURL:(NSURL *)url languageInstance:(OSALanguageInstance *)instance usingStorageOptions:(OSAStorageOptions)storageOptions

Modified -[OSAScript initWithSource:language:]
Declaration
From
- (id)initWithSource:(NSString *)source language:(OSALanguage *)language
To
- (instancetype)initWithSource:(NSString *)source language:(OSALanguage *)language

OSAScriptController.h
Removed -[OSAScriptController isCompiling]
Removed -[OSAScriptController language]
Removed -[OSAScriptController resultView]
Removed -[OSAScriptController script]
Removed -[OSAScriptController scriptState]
Removed -[OSAScriptController scriptView]
Removed -[OSAScriptController setLanguage:]
Removed -[OSAScriptController setResultView:]
Removed -[OSAScriptController setScript:]
Removed -[OSAScriptController setScriptView:]
Added OSAScriptController.compiling
Added OSAScriptController.language
Added OSAScriptController.resultView
Added OSAScriptController.script
Added OSAScriptController.scriptState
Added OSAScriptController.scriptView
Modified -[OSAScriptController compileScript:]
Declaration
From
- (void)compileScript:(id)sender
To
- (IBAction)compileScript:(id)sender

Modified -[OSAScriptController recordScript:]
Declaration
From
- (void)recordScript:(id)sender
To
- (IBAction)recordScript:(id)sender

Modified -[OSAScriptController runScript:]
Declaration
From
- (void)runScript:(id)sender
To
- (IBAction)runScript:(id)sender

Modified -[OSAScriptController stopScript:]
Declaration
From
- (void)stopScript:(id)sender
To
- (IBAction)stopScript:(id)sender

OSAScriptView.h
Removed -[OSAScriptView indentWidth]
Removed -[OSAScriptView indentsWrappedLines]
Removed -[OSAScriptView setIndentWidth:]
Removed -[OSAScriptView setIndentsWrappedLines:]
Removed -[OSAScriptView setSource:]
Removed -[OSAScriptView setTabWidth:]
Removed -[OSAScriptView setUsesScriptAssistant:]
Removed -[OSAScriptView setUsesTabs:]
Removed -[OSAScriptView setWrapsLines:]
Removed -[OSAScriptView source]
Removed -[OSAScriptView tabWidth]
Removed -[OSAScriptView usesScriptAssistant]
Removed -[OSAScriptView usesTabs]
Removed -[OSAScriptView wrapsLines]
Added OSAScriptView.indentWidth
Added OSAScriptView.indentsWrappedLines
Added OSAScriptView.source
Added OSAScriptView.tabWidth
Added OSAScriptView.usesScriptAssistant
Added OSAScriptView.usesTabs
Added OSAScriptView.wrapsLines