Skip to content

CoreNFC iOS xcode15.0 b1

Manuel de la Pena edited this page Aug 31, 2023 · 3 revisions

#CoreNFC.framework https://github.com/xamarin/xamarin-macios/pull/18901

diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreNFC.framework/Headers/NFCISO15693ReaderSession.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreNFC.framework/Headers/NFCISO15693ReaderSession.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreNFC.framework/Headers/NFCISO15693ReaderSession.h	2023-03-09 23:53:10
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreNFC.framework/Headers/NFCISO15693ReaderSession.h	2023-05-19 20:57:54
@@ -25,7 +25,8 @@
  * Only one NFCReaderSession can be active at any time in the system. Subsequent opened sessions will get queued up and processed by the system in FIFO order.
  * The NFCISO15693 tag object returned by this session will only respond to the legacy APIs that are introducted in iOS11.  
  */
-API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, macos, tvos)
+API_UNAVAILABLE(watchos, macos, tvos)
+API_DEPRECATED_WITH_REPLACEMENT("NFCTagReaderSession", ios(11.0, 17.0))
 @interface NFCISO15693ReaderSession : NFCReaderSession
 
 - (instancetype)init NS_UNAVAILABLE;
@@ -39,7 +40,7 @@
  *
  * @return          A new NFCISO15693ReaderSession instance.
  */
-- (instancetype)initWithDelegate:(id<NFCReaderSessionDelegate>)delegate queue:(nullable dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER NS_EXTENSION_UNAVAILABLE("Not available to extensions");
+- (instancetype)initWithDelegate:(id<NFCReaderSessionDelegate>)delegate queue:(nullable dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER NS_EXTENSION_UNAVAILABLE("Not available to extensions") API_DEPRECATED("No longer supported", ios(11.0, 17.0));
 
 /*!
  * @method restartPolling
@@ -48,7 +49,7 @@
  *             @link/ will become invalid, and all references to these tags shall be removed to properly release the resources.  Calling this method on an invalidated session
  *             will have no effect; a new reader session is required to restart the reader.
  */
-- (void)restartPolling;
+- (void)restartPolling API_DEPRECATED("No longer supported", ios(11.0, 17.0));
 
 @end
 
Clone this wiki locally