All Projects → yshrkt → NFCSupport

yshrkt / NFCSupport

Licence: MIT license
Support library for NFC NDEF Records

Programming Languages

swift
15916 projects
c
50402 projects - #5 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to NFCSupport

flutter nfc kit
Flutter plugin to provide NFC functionality on Android and iOS, including reading metadata, read & write NDEF records, and transceive layer 3 & 4 data with NFC tags / cards
Stars: ✭ 119 (+495%)
Mutual labels:  nfc, ndef
Plugin.NFC
A Cross-Platform NFC (Near Field Communication) plugin to easily read and write NFC tags in your application.
Stars: ✭ 113 (+465%)
Mutual labels:  nfc, ndef
Ios Nfc Example
📱 Example showing how to use the Core NFC API in iOS
Stars: ✭ 480 (+2300%)
Mutual labels:  nfc, ios11
Flutter Nfc Reader
Flutter NFC reader plugin for iOS and Android
Stars: ✭ 240 (+1100%)
Mutual labels:  nfc
Libfreefare
A convenience API for NFC cards manipulations on top of libnfc.
Stars: ✭ 252 (+1160%)
Mutual labels:  nfc
iOS11-TwitterShareSample
Twitter share sample with TwitterKit in iOS11
Stars: ✭ 12 (-40%)
Mutual labels:  ios11
iOS-11-Swift-Programming-Cookbook
O'Reilly's iOS 11 Swift Programming Cookbook Sample Codes
Stars: ✭ 73 (+265%)
Mutual labels:  ios11
Wwdc
You don't have the time to watch all the WWDC session videos yourself? No problem me and many contributors extracted the gist for you 🥳
Stars: ✭ 2,561 (+12705%)
Mutual labels:  nfc
ARichMan
Use ARKit to realize your dream of becoming rich.
Stars: ✭ 19 (-5%)
Mutual labels:  ios11
easypay
NFC smart cards and payment terminals in Nigeria
Stars: ✭ 41 (+105%)
Mutual labels:  nfc
react-native-nfc-manager
React Native NFC module for Android & iOS
Stars: ✭ 1,053 (+5165%)
Mutual labels:  nfc
core
UBIC: The crypto currency providing UBI for the masses using the E-Passport
Stars: ✭ 37 (+85%)
Mutual labels:  nfc
Open-Home-Automation
Open Home Automation with Home Assistant, ESP8266/ESP32 and MQTT
Stars: ✭ 905 (+4425%)
Mutual labels:  nfc
Nfc Android
Android Nfc技术解析、使用
Stars: ✭ 249 (+1145%)
Mutual labels:  nfc
CustomVisionMicrosoftToCoreMLDemoApp
This app recognises 3 hand signs - fist, high five and victory hand [ rock, paper, scissors basically :) ] with live feed camera. It uses a HandSigns.mlmodel which has been trained using Custom Vision from Microsoft.
Stars: ✭ 25 (+25%)
Mutual labels:  ios11
Metrodroid
Read data from public transit cards using your NFC Android phone! (iOS 13 and PC/SC support coming soon)
Stars: ✭ 238 (+1090%)
Mutual labels:  nfc
unity-arkit-charts-demo
iOS 11 ARKit Charts Demo
Stars: ✭ 13 (-35%)
Mutual labels:  ios11
tripreader-data
“读卡识途”项目公开数据
Stars: ✭ 58 (+190%)
Mutual labels:  nfc
nfc-tags
No description or website provided.
Stars: ✭ 15 (-25%)
Mutual labels:  nfc
ChameleonMini
The ChameleonMini is a versatile contactless smartcard emulator compliant to NFC. The ChameleonMini was first developed by KAOS. This is NOT the official repo for KAOS's ChameleonMini. For further information see the Getting Started Page
Stars: ✭ 350 (+1650%)
Mutual labels:  nfc

NFCSupport

Xcode Swift platforms Travis CI

This is support library for handling NFC NDEF Records.

Environment

  • iOS11
  • Swift 5.2

Supported record type

  • Text Record
  • URI Record
  • Smart Poster Record

Usage

guard let result = try? NFCNDEFWellknown.parse(type: record.type, payload: record.payload) else {
    print("can not parse record")
    return
}

switch result {
case let .text(record):
    print("text: \(record.text)")
case let .uri(record):
    print("uri: \(record.uri?.absoluteString ?? "")")
case let .smartPoster(record):
    print("title: \(record.titleRecords.first?.text ?? "") uri: \(record.uri?.absoluteString ?? "")")
case let .unsupported(type):
    print("unsupported record type (\(type))")
}

Installation

Carthage

To install it, simply add the following line to your Cartfile:

github "yshrkt/NFCSupport"

CocoaPods

To install it, simply add the following line to your Podfile:

pod "NFCSupport"

Licence

NFCSupport is released under the MIT license. See LICENSE for details.

Author

yshrkt

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].