//
// ViewController.h
// YZ音乐播放器
//
// Created by 杨志 on 16/3/5.
// Copyright © 2016年 杨志. All rights reserved.
//
#import <UIKit/UIKit.h>
@class BoFangLan;
@interface ViewController : UIViewController<UITableViewDataSource,UITableViewDelegate,UIPickerViewDataSource,UIPickerViewDelegate>
#define Kuan [UIScreen mainScreen].bounds.size.width
#define Gao [UIScreen mainScreen].bounds.size.height
@property(nonatomic)BOOL hehe; //用来记录调用UIPickerView的次数
@property(nonatomic)NSInteger diJiGe; //第几首歌
@property(nonatomic)NSInteger jishu; //第几首歌
@property(nonatomic)NSInteger shuxing; //第几段歌词
@property(nonatomic)NSInteger kuan; //当前歌词的宽
@property(nonatomic)NSInteger zongkuan; //当前歌词的总宽
@property(strong,nonatomic)NSTimer *myTimer; //定时器,用来实现歌词的渐变效果
@property(strong,nonatomic)UITableView *tab; //歌曲列表
@property(nonatomic,strong)UILabel* jianbian; //歌词渐变顶部
@property(nonatomic,strong)UILabel* jianbiant; //歌词渐变底部
@property(strong,nonatomic)UIPickerView* uip; //歌词列表
@property(strong,nonatomic)UIScrollView* scr; //歌曲和歌词的切换
@property(strong,nonatomic)BoFangLan* bofanglan; //便于传值
@property(strong,nonatomic)NSMutableArray *data; //歌曲数组
@property(strong,nonatomic)NSMutableArray* geCiShuZu; //歌词数组
-(void)shezhigeci;
-(CGRect)boundingRectWithInitSize:(CGSize)size;
@end
IOS 音乐播器卡拉OK效果
1星 需积分: 31 163 浏览量
2016-03-10
19:33:23
上传
评论
收藏 11.29MB ZIP 举报
会装系统的程序员
- 粉丝: 7
- 资源: 4