Skip to content
BluFi Swift library - The protocol used to set up WiFi via Bluetooth for ESP32
Swift Ruby
Branch: master
Clone or download
Latest commit c3c6225 Aug 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BluFi.xcodeproj add RxBluetoothKit & example Sep 17, 2018
BluFiExample reset seq when invalid seq Oct 29, 2018
Sources/BluFi fix error wrong signal Aug 13, 2019
Tests Initial project Sep 10, 2018
.gitignore Initial project Sep 10, 2018
BluFi.podspec dec ios requirement Aug 22, 2019
LICENSE
Package.resolved Initial project Sep 10, 2018
Package.swift Initial project Sep 10, 2018
README.md update readme Aug 13, 2019

README.md

Swift BluFi Library

Requirements

  • iOS 8.0+
  • Xcode 8.0+
  • Swift 4.0+

Getting Started

Usage

Installation

The recommended approach to use BluFi in your project is using the CocoaPods package manager, as it provides flexible dependency management and dead simple installation.

CocoaPods

Install CocoaPods if not already available:

$ [sudo] gem install cocoapods
$ pod setup

Go to the directory of your Xcode project, and Create and Edit your Podfile and add BluFi:

$ cd /path/to/MyProject
$ touch Podfile
$ edit Podfile
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
pod 'BluFi', '~> 1.0.0'

Install into your project:

$ pod install

If CocoaPods did not find the BluFi 1.0.0 dependency execute this command:

$ pod repo update

Open your project in Xcode from the .xcworkspace file (not the usual project file)

$ open MyProject.xcworkspace

Swift Package Manager

You can use The Swift Package Manager to install BluFi by adding the proper description to your Package.swift file:

import PackageDescription

let package = Package(
    name: "YOUR_PROJECT_NAME",
    dependencies: [
        .Package(url: "https://github.com/tuanpmt/BluFi.git")
    ]
)

Note that the Swift Package Manager is still in early design and development, for more information checkout its GitHub Page.

Carthage

You can’t perform that action at this time.