音乐播放视图 JingRound

码农软件 · 软件分类 · 动画(Animation) · 2019-07-06 11:27:35

软件介绍

JingRound 是一款仿 jing.fm 的音乐播放视图,支持旋转和自定义参数。

使用说明(Usage):

可以在Storybord、Xib直接拖个View然后更改其类为JingRoundView,设置基本属性即可:

You can Drag and Drop a UIView in Storybord or Xib,and then change its class JingRoundView, set the basic parameter:

//设置代理,获取回调事件
self.roundView.delegate = self;
//设置中间的图像
self.roundView.roundImage = [UIImage imageNamed:@"girl"]; 
//设置转圈的速度
self.roundView.rotationDuration = 8.0;
//起始状态,转or不转
self.roundView.isPlay = NO;

暂停与播放(pause and play):

[self.roundView play];
[self.roundView pause];

当点击中间圆盘的时候会触发暂停、播放事件,当然有一个协议:JingRoundViewDelegate

When you touch in the middle of the disc when it will trigger the pause, play events, of course, there is a delegate JingRoundViewDelegate:

-(void)playStatuUpdate:(BOOL)playState
{
    NSLog(@"%@...", playState ? @"播放": @"暂停了");
}

使用的时候需要引入一下这两个库:

Of course, you need to import two framework:

#import <QuartzCore/QuartzCore.h>
#import <CoreGraphics/CoreGraphics.h>

本文地址:https://codercto.com/soft/d/9530.html

新媒体运营

新媒体运营

勾俊伟 / 人民邮电出版社 / 2018-5-1 / 39.80

本书全面介绍了新媒体运营以及新媒体运营各模块的具体内容。 第 1章重点介绍新媒体运营的基本概念,其中包括运营的定义、发展历史及专业术语; 第 2章重点介绍新媒体运营的职业发展,通过企业需求反推能力清单,引导读者全面了解新媒体运营的岗位及相关要求; 第3章重点介绍用户运营的方法与策略,包括描述用户画像、搭建用户体系、吸引精准用户及提升用户活跃度等具体技巧; 第4章重点介绍产品......一起来看看 《新媒体运营》 这本书的介绍吧!

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具