Skip to content

Vision iOS xcode9 beta2

Vincent Dondain edited this page Jun 21, 2017 · 2 revisions

#Vision.framework

diff -ruN /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNError.h /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNError.h
--- /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNError.h	2017-05-23 01:42:58.000000000 -0400
+++ /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNError.h	2017-06-11 02:55:50.000000000 -0400
@@ -5,7 +5,7 @@
 //  Copyright © 2017 Apple Inc. All rights reserved.
 //
 
-extern NSString* const VNErrorDomain;
+extern NSString* const VNErrorDomain API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 
 typedef NS_ENUM(NSInteger, VNErrorCode)
diff -ruN /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNUtils.h /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNUtils.h
--- /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNUtils.h	2017-05-23 01:42:58.000000000 -0400
+++ /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNUtils.h	2017-06-11 02:55:50.000000000 -0400
@@ -15,7 +15,7 @@
 /*!
 	@brief	The normalized identity rect of { {0, 0}, {1, 1} }.
 */
-VN_EXPORT const CGRect VNNormalizedIdentityRect;
+VN_EXPORT const CGRect VNNormalizedIdentityRect API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 
 /*!
@@ -25,7 +25,7 @@
 	
 	@return YES if the rect is the identity rect; otherwise, NO.
 */
-VN_EXPORT bool VNNormalizedRectIsIdentityRect(CGRect normalizedRect);
+VN_EXPORT bool VNNormalizedRectIsIdentityRect(CGRect normalizedRect) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 
 /*!
@@ -39,7 +39,7 @@
 
 	@return the point in image coordinates.
 */
-VN_EXPORT CGPoint VNImagePointForNormalizedPoint(CGPoint normalizedPoint, size_t imageWidth, size_t imageHeight);
+VN_EXPORT CGPoint VNImagePointForNormalizedPoint(CGPoint normalizedPoint, size_t imageWidth, size_t imageHeight) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 
 /*!
@@ -53,7 +53,7 @@
 
 	@return the rectangle in pixel coordinates.
 */
-VN_EXPORT CGRect VNImageRectForNormalizedRect(CGRect normalizedRect, size_t imageWidth, size_t imageHeight);
+VN_EXPORT CGRect VNImageRectForNormalizedRect(CGRect normalizedRect, size_t imageWidth, size_t imageHeight) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 
 /*!
@@ -67,7 +67,7 @@
 
 	@return the normalized rectangle.
 */
-VN_EXPORT CGRect VNNormalizedRectForImageRect(CGRect imageRect, size_t imageWidth, size_t imageHeight);
+VN_EXPORT CGRect VNNormalizedRectForImageRect(CGRect imageRect, size_t imageWidth, size_t imageHeight) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 
 /*!
@@ -83,7 +83,7 @@
 
 	@return	the face landmark point in face bounding box coordinates.
 */
-VN_EXPORT CGPoint VNNormalizedFaceBoundingBoxPointForLandmarkPoint(vector_float2 faceLandmarkPoint, CGRect faceBoundingBox, size_t imageWidth, size_t imageHeight);
+VN_EXPORT CGPoint VNNormalizedFaceBoundingBoxPointForLandmarkPoint(vector_float2 faceLandmarkPoint, CGRect faceBoundingBox, size_t imageWidth, size_t imageHeight) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 
 /*!
@@ -99,4 +99,4 @@
 
 	@return	the face landmark point in image coordinates.
 */
-VN_EXPORT CGPoint VNImagePointForFaceLandmarkPoint(vector_float2 faceLandmarkPoint, CGRect faceBoundingBox, size_t imageWidth, size_t imageHeight);
+VN_EXPORT CGPoint VNImagePointForFaceLandmarkPoint(vector_float2 faceLandmarkPoint, CGRect faceBoundingBox, size_t imageWidth, size_t imageHeight) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
diff -ruN /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.h /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.h
--- /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.h	2017-05-23 01:42:58.000000000 -0400
+++ /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.h	2017-06-11 02:55:50.000000000 -0400
@@ -29,4 +29,4 @@
 #import <Vision/VNTrackRectangleRequest.h>
 
 /* The version of the Vision framework */
-VN_EXPORT double VNVisionVersionNumber;
+VN_EXPORT double VNVisionVersionNumber API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
Clone this wiki locally