音乐播放视图 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

超级运营术

超级运营术

韩叙 / 中信出版社 / 2017-5

新产品上线,为什么仅仅500次转发能带来300个内测用户? 为什么每一次内容推送,都带来App的一次卸载高峰? 同类活动那么多,怎样做才能超越竞品,占据头条? 为什么有的文案像“小广告”,有的文案像贴心老友? 创业公司与大平台的玩法有何不同? …… 如何从“了解运营”到“精通运营”,可能是运营人*的困惑。《超级运营术》正是对这个问题的全面解答。韩叙总结10年运营......一起来看看 《超级运营术》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

在线进制转换器
在线进制转换器

各进制数互转换器

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器