This change depends on a coordinated SceneKit change which makes the
original method unavailable to avoid ambiguity. The API also requires a
data file, so no tests yet.
rdar://20384835
Swift SVN r27319
Enable checking for uses of potentially unavailable APIs. There is
a frontend option to disable it: -disable-availability-checking.
This commit updates the SDK overlays with @availability() annotations for the
declarations where the overlay refers to potentially unavailable APIs. It also changes
several tests that refer to potentially unavailable APIs to use either #available()
or @availability annotations.
Swift SVN r27272