Swiftpack.co - ivalkou/LibreTools as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
LibreTools is a toolkit for reading and writing ISO15693 NFC tags with TI RF430 chips.
.package(url: "https://github.com/ivalkou/LibreTools.git", from: "v1.0.12")


LibreTools is a toolkit for reading and writing ISO15693 NFC tags with TI RF430 chips.


LibreTools framework required iOS SDK version of 13.0. In Package.swift version of 10.0 is specified only for compatibility with applications with target version below 13.0.

Swift Package Manager

LibreTools can be installed via SPM. Create a new Xcode project and navigate to File > Swift Packages > Add Package Dependency. Enter the url https://github.com/ivalkou/LibreTools and tap Next. Choose the master branch, and on the next screen, check off the packages as needed.

Configure Xcode project

Add Near Field Communication Tag Reading capability in your tagret Signing & Capabilities tab. Add NFCReaderUsageDescription key to Info.plist and provide a usage description.


Option 1: NFCManager

import Combine
import LibreTools

let nfcManager = LibreTools.makeNFCManager(unlockCode: code, password: password)
let subscription: AnyCancellable?

// perform a request
subscription = nfcManager.perform(.readState)
    .receive(on: DispatchQueue.main)
    .sink { reading in
        // Do something with reading 

Option 2: SwiftUI

import SwiftUI
import LibreTools

struct ContentView: View {
    var body: some View {
        NavigationView {
            LibreTools.makeView(unlockCode: code, password: password)

Option 3: UIKit

import UIKit
import LibreTools

// make view controller and present it
let viewController = LibreTools.makeViewController(unlockCode: code, password: password)
present(viewController, animated: true)

Note: unlock code and password are not included in this repository.


Stars: 15
Last commit: 3 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics