音乐播放视图 JingRound
- 授权协议: MIT
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: https://github.com/isaced/JingRound
软件介绍
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>
浪潮之巅(下册)
吴军 / 人民邮电出版社 / 2013-6 / 45.00元
《浪潮之巅(第2版)(下册)》不是一本科技产业发展历史集,而是在这个数字时代,一本IT人非读不可,而非IT人也应该阅读的作品。一个企业的发展与崛起,绝非只是空有领导强人即可达成。任何的决策、同期的商业环境,都在都影响着企业的兴衰。《浪潮之巅》不只是一本历史书,除了讲述科技顶尖企业的发展规律,对于华尔街如何左右科技公司,以及金融风暴对科技产业的冲击,也多有着墨。此外,《浪潮之巅》也着力讲述很多尚在普......一起来看看 《浪潮之巅(下册)》 这本书的介绍吧!
