visionOS

The visionOS SDK provides all the types and classes made available by Apple for creating applications for Apple Vision Pro.

Each Cocoa SDK is spread over several frameworks and core include files. The core C APIs are located in rtl.fx, which is a package containing pretty much everything defined in /usr/include. The base framework of core Cocoa classes is called "Foundation" (shared with macOS), and contains, among many other things, NSObject, the base type for all Cocoa classes.

More frameworks are shared across sub-platforms, while each sub-platform also provides its own unique frameworks.

Please refer to the Introduction to the Frameworks topic for more information on how the frameworks fit together, and how they differ between the (currently) four separate Cocoa platforms.

For all the SDK frameworks, the Namespace used matches the framework name.

visionOS is derived from iOS and very closely related to it (more so than iOS and macOS or even tvOS are related), but still a distinctive platform.

Like in iOS, core types for GUI development are provided in UIKit, which is similar but different than the same-named framework on iOS. A lot of frameworks are shared with iOS (and even macOS), and most iOS and iPadOS projects should port to and compile for visionOS, easily.

See Also

macOSiOStvOSvisionOSwatchOSMac Catatyst