• Stars
    star
    158
  • Rank 236,594 (Top 5 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 8 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

👶 BabyBluetooth swift 版本,The easiest way to use Bluetooth (BLE )in ios,even bady can use. 简单易用的蓝牙库,基于CoreBluetooth的封装,并兼容ios和mac osx.

BabyBluetooth-swift 介绍

👶 BabyBluetooth The easiest way to use Bluetooth (BLE )in ios,even bady can use. 简单易用的蓝牙库,基于CoreBluetooth的封装,并兼容ios和mac osx.

Babybluetooth-swift 是Babybluetooth的swift版本,由原作者:刘彦玮(玄彦) 开发和维护

此版本的重要说明:

因为Babybluetooth的串行函数方法是用block实现的,对swift支持不好,所以,目前的Babybluetooth-swift通过改在了Babybluetooth的方法调用,实现了对swift的兼容模式,并在计划在今后完全用swift实现Babybluetooth的全部功能

如何使用Babybluetooth

功能和详细的api介绍,请阅读BabyBluetooth的主页 ,有详细的demo说明和api介绍,版本更新记录,常见问题,蓝牙教程等内容

如何在swift中使用Babybluetooth

demo:可以参考babybluetoothSwiftProject路径下的工程

步骤1:把ClASSES/bridging-for-swift路径下的源代码拖入项目中

步骤2:建立bridging文件,在文件中引入Babybluetooth头文件

例如:

//建立文件 :xxxx-Bridging-Header.h

//文件内容:
//
//  Use this file to import your target's public headers that you would like to expose to Swift.
#import "BabyBluetooth.h"

步骤3: 使用baby库,方法略... 参考BabyBluetooth的主页

其他说明

1:目前的Babybluetooth-swift 是基于Babybluetooth 0.7.0 改造 2:Babybluetooth-swift 和Babybluetooth 在目前的兼容版本上,只有BabyBluetooth.m文件做了改动.

后期计划和更新

  • 1:支持swift pod
  • 2:改成完全基于swift的实现

欢迎大家多多star

More Repositories

1

BabyBluetooth

👶 The easiest way to use Bluetooth (BLE )in ios/os ,even bady can use . 一个非常容易使用的蓝牙库,适用于ios和os
Objective-C
4,691
star
2

demo

刘彦玮的技术博客中文章对应的demo http://liuyanwei.jumppo.com
Objective-C
570
star
3

ios-tips

ios开发当中常用遇到的问题和解决方法的收集,包括ios和swift
Objective-C
272
star
4

javascript-mqtt-demo-wearingTip

demo是一个使用JavaScript和MQTT实现的一个简单的物联网应用,通过client端上报温度数据,server处理温度数据(业务处理),app端展示结果(根据温度的一些穿衣提示)
JavaScript
88
star
5

dev-tips

dev-tips是一个开发中常见问题的收集和整理,包含.net,ios,android,开发环境,flex,web,数据库,react native,html,js,ide,svn,git,等等,这些都是我在开发过程是实际遇到过的问题收集和整理。
HTML
73
star
6

coolnameismy.github.io

这是我个人技术博客的源码
CSS
42
star
7

ImagesUploadWebSite

图床网站,基于html5和php。
JavaScript
30
star
8

front-end-study-group

web前段技术学习小组,欢迎前端工程师加入一起学习和交流
15
star
9

demo-web

刘彦玮的技术博客中文章对应的web相关demo http://liuyanwei.jumppo.com
JavaScript
5
star
10

simplerMap

基于arcgis开发的一套gis底层api,简化arcgis复杂api的使用,适合GIs相关应用开发
CSS
4
star
11

RSADemo

android 和 iOS 统一的RSA 加密demo
Objective-C
3
star
12

iOS-style-guide

iOS style guide. iOS编程规范,包含objc和swift,不断总结、整理、完善
3
star
13

folder-organizing

关于如何整理自己电脑文件夹的思考和讨论
3
star
14

FEF

前端自动构建+AMD+模板绑定
JavaScript
2
star
15

imooc-res

慕课网案例资源
JavaScript
2
star
16

BabyBluetooth-express

基于 [Babybluetooth](https://github.com/coolnameismy/BabyBluetooth) 的蓝牙操作库,忘记蓝牙的协议栈吧,让我们进行最快速的蓝牙开发
Objective-C
2
star
17

ChatGPTUI

ChatGPTUI is an open-source pure frontend application that faithfully recreates the appearance, interaction, and user interface of ChatGPT. 🚀
JavaScript
2
star
18

awesom-llm-dev

awesome-llm-dev: tools or libraries for developing LLM applications⚡
1
star
19

crumbs

HTML
1
star
20

wine

夏梦庄园
JavaScript
1
star
21

smslider

web slider control,inclued two slider which is mastar slider and slave slider,they has cooperate effect。
JavaScript
1
star