Why does the intent property not show for NSExtensionContext?

The intent property doesn't even show when I initialize an instance of NSExtensionContent, as in the following code:

let extensionContext = NSExtensionContext() extensionContext.intent

I get an error saying:

Value of type 'NSExtensionContext' has no member 'intent'

Why is this? The documentation doesn't say it is deprecated. Even when something is deprecated, it still shows in Xcode.

Did you find any solution to this?

Why does the intent property not show for NSExtensionContext?
 
 
Q