Cocoa Scripting is a framework for OS X for making applications scriptable
Use this tag for questions related to making an OS X application scriptable, i.e. when you write your code in Objective-C or in Swift.
Do not use it for questions related to writing code in AppleScript or JavaScript (JXA) - for those, use the applescript
or the cocoascript
tag.