Skip to content

NFC Forum Well Known Type Data Parser for iOS11 and Core NFC

License

Notifications You must be signed in to change notification settings

jvk75/NFCNDEFParse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFCNDEFParse

Requirements

Core NFC requires iOS11

Installation

NFCNDEFParse is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'NFCNDEFParse'

Usage

func readerSession(_ session: NFCNDEFReaderSession, didDetectNDEFs messages: [NFCNDEFMessage]) {
    for message in messages {
        let data = NDEFMessageWithWellKnownTypes(records: message.records)
    }
}

Author

Jari Kalinainen, jari@klubitii.com

License

NFCNDEFParse is available under the MIT license. See the LICENSE file for more info.