# ZBLiveBarrage **Repository Path**: Component_Technology/ZBLiveBarrage ## Basic Information - **Project Name**: ZBLiveBarrage - **Description**: 直播弹幕 - **Primary Language**: Objective-C - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 11 - **Created**: 2020-02-25 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## ZBLiveBarrage > 直播应用中一套弹幕实现方案。 ### 弹幕效果: ![image](https://github.com/zhang-bao/ZBLiveBarrage/blob/master/barrageEffect.gif) ### 弹幕君说: - 我会飞~~~(gun~,你咋不上天!!); - 我的大小你做主; - 我飞的速度你来定,让我飞多快我飞多快(PS:恩!真听话); - 我的衣服你来买(弹幕样式自定义); - 我们弹幕家族自带磁场从来不会叠加碰撞的哦(⊙o⊙); - 你点我我就告诉你你点的是我而不是我爸(superView)也不会是我的兄弟姐妹O(∩_∩)O~: ![image](https://github.com/zhang-bao/ZBLiveBarrage/blob/master/barrageCennetion.png) - 直播弹幕 **ZBLiveBarrage** 最懂你!! ### 目录结构: ![image](https://github.com/zhang-bao/ZBLiveBarrage/blob/master/barrageStructure.png) ## 技术剖析: 详细分析请移步至[简书地址](http://www.jianshu.com/p/46039a38d170) ## 小结 这一套弹幕实现核心代码在于`弹幕碰撞监测`那部分,是不是很简单那? 如果觉得对您有所帮助,点击 Star 给小弹幕以资鼓励,不骄傲! ## 安装 #### CocoaPods 1. 在 Podfile 中添加 pod 'ZBLiveBarrage'。 2. 执行 pod install 或 pod update。 3. 具体应用请下载项目查看。 #### 手动安装 下载 ZBLiveBarrage 文件夹内的所有内容。 将 ZBLiveBarrage 下四个源文件添加(拖放)到你的工程。