diff --git a/NFC-Example.xcodeproj/project.pbxproj b/NFC-Example.xcodeproj/project.pbxproj index 9d9f28f..68d07cb 100644 --- a/NFC-Example.xcodeproj/project.pbxproj +++ b/NFC-Example.xcodeproj/project.pbxproj @@ -306,6 +306,8 @@ CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; @@ -361,6 +363,8 @@ CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; diff --git a/NFC-Example/Source/RFIDTableViewController.swift b/NFC-Example/Source/RFIDTableViewController.swift index 5b01872..774f62d 100644 --- a/NFC-Example/Source/RFIDTableViewController.swift +++ b/NFC-Example/Source/RFIDTableViewController.swift @@ -22,7 +22,7 @@ class RFIDTableViewController: UITableViewController { // NOTE: iOS 11 Beta 1-2 will throw a "Feature not supported" error, so they probably did not finish // exposing the RFID-related API's so far. - // NOTE: iOS 11 Beta 3-4 will show the scan-dialog, but then fail with an error. They seem to still + // NOTE: iOS 11 Beta 3-5 will show the scan-dialog, but then fail with an error. They seem to still // not figured out how to expose it properly. self.rfidSession.begin() } diff --git a/README.md b/README.md index fe4f637..b05930b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # 📱 iOS11 NFC-Example -###### Last Update: July 25, 2017 | iOS 11 Beta 4 +###### Last Update: August 08, 2017 | iOS 11 Beta 5 A quick example showing how to use the Core NFC API in iOS 11 and Swift 4. @@ -39,8 +39,7 @@ the developer is interested in. There are currently four (undocumented) properti 4. `payload`: The actual payload of the record. Accessing it depends on the specified `typeNameFormat` as described above. ## Getting Started -First, import the `CoreNFC` framework. Note: Xcode 9 B1 will throw an error if you select a Simulator instead of -a device. Apple will probably guard that in later Beta versions and provide a `isSupported` method. +First, import the `CoreNFC` framework. ```swift import CoreNFC ```