Skip to content

Commit

Permalink
Update for iOS 11 Beta 5
Browse files Browse the repository at this point in the history
  • Loading branch information
hansemannn committed Aug 8, 2017
1 parent 3b44b03 commit f5b1af3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions NFC-Example.xcodeproj/project.pbxproj
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion NFC-Example/Source/RFIDTableViewController.swift
Expand Up @@ -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()
}
Expand Down
5 changes: 2 additions & 3 deletions 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.

Expand Down Expand Up @@ -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
```
Expand Down

0 comments on commit f5b1af3

Please sign in to comment.