NFCNDEFParse alternatives and similar libraries
Based on the "Other Hardware" category.
Alternatively, view NFCNDEFParse alternatives based on common mentions on social networks and blogs.
-
SDVersion
:iphone: Lightweight Cocoa library for detecting the running device's model and screen size. -
MotionKit
Get the data from Accelerometer, Gyroscope and Magnetometer in only Two or a few lines of code. CoreMotion now made insanely simple :octocat: :satellite: -
Haptico
Haptico 📳 - easy to use haptic feedback generator with pattern-play support -
DarkLightning
Simply the fastest way to transmit data between iOS/tvOS and OSX -
Deviice
Swift library to easily check the current device and some more info about it.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of NFCNDEFParse or a related project?
README
NFCNDEFParse
NFC Forum Well Known Type Data Parser for iOS11 and Core NFC.
Supports parsing of types:
Text - NFCForum-TS-RTD_Text_1.0 2006-07-24
Uri - NFCForum-TS-RTD_URI_1.0 2006-07-24
Smart Poster - NFCForum-SmartPoster_RTD_1.0 2006-07-24 (title, uri, action, size)
Requirements
Core NFC requires iOS11 (and Xcode 9)
Installation
NFCNDEFParse is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'NFCNDEFParse'
Usage
Note: For non CocoaPods usage and more details see Examples!
Import the library.
Swift:
import NFCNDEFParse
Objective-C:
@import NFCNDEFParse;
Create array for the messages
var data: [NDEFMessageWithWellKnownTypes] = []
In CoreNFC callback create the "well know types" data array.
func readerSession(_ session: NFCNDEFReaderSession, didDetectNDEFs messages: [NFCNDEFMessage]) {
data = messages.flatMap({ NDEFMessageWithWellKnownTypes(records: $0.records) })
}
Loop through the data array to print out the values.
data.forEach({ message in
print("message: ")
message.records.forEach({ record in
print(record.description)
})
})
Author
Jari Kalinainen, [email protected]
License
NFCNDEFParse is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the NFCNDEFParse README section above
are relevant to that project's source code only.