AlbumView
2016-11-24 17:56:45 0 举报
AlbumView是一个功能强大的音乐播放器,它提供了一种简单而直观的方式来浏览和管理您的音乐收藏。这款应用程序具有用户友好的界面,让您可以轻松地找到和播放您喜欢的歌曲。AlbumView支持多种音频格式,包括MP3、FLAC、AAC等,确保您可以畅享高质量的音乐体验。此外,它还具有强大的搜索功能,可以帮助您快速找到特定的歌曲或专辑。AlbumView还提供了一些实用的功能,如歌词显示、封面下载、自动分类等,让您的音乐收藏更加有序和个性化。总之,AlbumView是一款值得一试的音乐播放器,它将为您带来全新的音乐享受。
作者其他创作
大纲/内容
FCHAlbumDelAlertView(删除照片的提示)
+ alertMsgLabel : UILabel //提示的文本+ firstButton : UIButton //第一个按钮+ secondButton : UIButton //第二个按钮+ model : FCHAlbumDelAlertViewModel //model
FCHMyAlbumCollectionViewCell(故事Cell)
+ thumImgView : UIImageView //图片- alphaView : UIView //白色蒙层,不透明度0.3- selectMarkImgView : UIImageView //勾选的标记 - videoSignImgView : UIImageView //视频的icon- videoTimeLabel : UILabel //视频时间长度- settingImgView : UIImageView //渐变背景
FCHAlbumTabBar(UITabBar)
+backBtn : UIButton //返回按钮- allSelectedBtn : UIButton //全选按钮- selectBtn : UIButton //选择按钮- centerLbl : UILabel //中间标题+downloadAnimaImgView : UIImageView //下载提示动画视图
FCHSystemAlbumNavBar(顶部栏)
- backBtn : UIButton //返回按钮- centerLbl : UILabel //中间标题- selectBtn : UIButton //选择按钮
FCHAlbumTabBarController(tabbarController)
+backgroundImage : UIImage //顶部背景图片+myAlbumVc : FCHMyAlbumViewController //故事+sysAlbumVc : FCHSystemAlbumViewController //系统相册
- myAlbumNavBarBackButtonDidBeTouchUpInside2 //返回 FCHMyAlbumViewControllerDelegate- myAlbumTableViewSendImageButtonDidBeTouchUpInside //发送照片- myAlbumTableViewSendVideoButtonDidBeTouchUpInside //发送视频- myAlbumTableNavCamButtonDidBeTouchUpInside //镜头icon- systemAlbumNavBarBackButtonDidBeTouchUpInside //返回 FCHSystemAlbumViewControllerDelegate- systemAlbumPhotosTableSendButtonDidTouchUpInsideWithSourcePath //发送照片- systemAlbumPhotosTableViewNavCamButtonDidBeTouchUpInside //镜头icon
FCHMyAlbumCollectionHeaderCell(故事列表头部Cell)
- titleLabel : UILabel //显示标题- titleStr : NSString //标题
FCHSystemAlbumViewController(系统相册)
- imageRequestOptions : PHImageRequestOptions //照片管理参数- imageManager : PHCachingImageManager //照片管理类- sectionFetchResults : NSMutableArray //存放所有的照片资源的数组- assetGroups : NSMutableArray //存放相册的标题- selectIndex : NSInteger //选中相册的tag- progressView : FCHABProgressView //导入照片的进度- listView : FCHAlbumListViewController //列表控制器- FCHPhotosPickerViewController *thumbPicker; //选择控制器- bigImgTable : FCHPhotosTableViewController //预览控制器- authoritySettingTipBtn : UIButton //设置权限的按钮
- configureData // 获取系统相册的数据 - configureUI //初始化界面- tableViewCellThumImage : imageView : secondImgView :thirdImgView :titleLabel //设置cell的图片 (PhotoListViewControllerDelegate)- albumPickerImageFinish //选择了某个相册- pressedSystemNavigationBar //顶部栏(FCHSystemAlbumNavigationBarDelegate)- importPhotosToBuildInWithPhassets //导入 (PhotosPickerController代理方法)- cancelImportPhotos //取消导入- photosTableViewSendButtonDidBeTouchUpInsideWithSourcePath //发送- photosTableViewNavCamButtonDidBeTouchUpInside //镜头icon
FCHPhotosTableViewController(预览控制器)
+assets : PHFetchResult //该相册的数据源+tableAlbumRoute : TableAlbumRoute //进入系统相册的路径- _isPreview : BOOL //是否在预览- _serialQueue : dispatch_queue_t //串行队列- _collectionView :: UICollectionView - navBar : FCHAlbumPickerNavBar //顶部的navbar- progressView : FCHABProgressView //显示导入的进度- currentIndex : NSInteger // 点击的图片的索引
+ initWithAssets : index //初始化- scrollViewDidScroll //滚动(UIScrollViewDelegate)- scrollViewWillEndDragging : withVelocity : targetContentOffset ( 结束拖动)- collectionView : cellForItemAtIndexPath //设置数据源- updateImportPhotoProgress //更新导入进度- pressedSystemNavigationBar //点击顶部栏
FCHMyAlbumNavigationBar(顶部栏)
FCHMyAlbumTableViewController (预览大图的控制器)
- _isPlaying : BOOL //视频是否正在播放- _isPreview : BOOL //是否在预览- imageNames : NSMutableArray //资源名字- currentIndex :NSInteger //当前预览的图片下标- player : AVPlayer //播放layer
+ initWithAllImageNames : index //初始化- scrollViewDidScroll- scrollViewWillEndDragging- collectionView : cellForItemAtIndexPath- addPlayerToSelfView : thumImgPath //添加播放layer- deletePlayerLayer //删除layer- isBringCollectionViewToFontOrSendToBack //是否移动collecView 到最顶层- avPlayerItemPlayToEnd //播放完毕
FCHImageEditingViewController(照片编辑控制器)
FCHAlbumViewController(相册)
+tabBarController : FCHAlbumTabBarController+userInfo : NSDictionary //存放用户信息的字典
- ablumTabbarControllerMyAlbumGobackBtnDidBeTouchUpInside //故事-返回 FCHAlbumTabBarControllerDelegate- ablumTabbarControllerMyAlbumTableViewSendImageButtonDidBeTouchUpInside //故事-发送图片- ablumTabbarControllerMyAlbumTableViewSendVideoButtonDidBeTouchUpInside //故事-发送视频- ablumTabbarControllerMyAlbumTableNavCamButtonDidBeTouchUpInside //故事-镜头icon- ablumTabbarControllerSystemAlbumGobackBtnDidBeTouchUpInside //系统相册-返回- ablumTabbarControllerSystemAlbumPhotosTableSendButtonDidTouchUpInsideWithSourcePath //系统相册-发送- albumTabbarControllerSystemAlbumPhotosTableViewNavCamButtonDidBeTouchUpInside //系统相册-镜头icon
FCHAlbumListViewController(列表控制器)
+assetGroups : NSMutableArray //数据源- tableView : UITableView //列表
+ initWithTitle //设置标题- tableView : cellForRowAtIndexPath //tableView 数据源方法- tableView : didSelectRowAtIndexPath //tableView 代理可方法
FCHAlbumPasswordView(密码页)
+ onPressGetPassword : RCTBubblingEventBlock //RN调用-tipBgView : UIView //密码输入提示背景- pwStr : NSString //密码字符串
+ showAlertViewToPasswordView //密码输入错误提示
FCHPhotosPreViewCell(预览Cell)
+ singleTapGestureBlock singleTapGestureBlock //单击手势Block+ doubleTapGestureBlock : doubleTapGestureBlock //双击手势Block+ playBtnDidBeTouchUpInsideBlock : playBtnDidBeTouchUpInsideBlock //播放按钮Block+ singleTap : UITapGestureRecognizer //单击手势+ doubleTap : UITapGestureRecognizer //双击手势+ playBtn : UIButton //播放按钮+ source : id //资源+sourceType : SourceType //资源类型+imageView : UIImageView //显示的图片- scrollView : UIScrollView //用于缩放的
FCHMyAlbumViewController(故事)
+backgroundImage : UIImage //背景图+delegate : FCHMyAlbumViewControllerDelegate //代理//Other-_monitorDownloadTimer : NSTimer //监听是否下载的定时器- _pwString : NSString //拼接输入的密码字符串- _passwordTipSetViewFrame : CGRect //提示设置密码View在没有图片时的frame- condition : NSCondition //线程锁- images : NSMutableArray //存放了所有资源信息- sectionImages :NSMutableArray //每组后的资源信息- imageNames : NSMutableArray //所有资源的缩略图名字 - delAlertView : FCHAlbumDelAlertView //是否删除照片提示//View- navBar : FCHMyAlbumNavigationBar //顶部栏- collectionView : UICollectionView //显示照片的列表- noPhotoView : UIView //没有照片时,提示导入图片的View- cloudTipView : UIView //云提示- passwordTipSetView ; UIView //密码设置按钮- selectToolView : UIView //点击了选择按钮,底部的工具条- passwordView : FCHAlbumPasswordView //密码输入页- progressView : FCHABProgressView //进度- bigImgTable : FCHMyAlbumTableViewController //预览大图控制器- systemVC : FCHSystemAlbumViewController //系统相册控制器
- configureImgData //初始化数据- uploadResourceToAliyun //上传图片/视频到阿里云- downloadResource //下载资源(目前没用到,当前的下载是放到collectionView数据源方法中)- monitorAllResourceIsDowoloadFinish // 判断/监听是否所有资源都下载完成- passwordInputViewIsNeedToShowJudge //判断相册密码是否显示- configurePasswordSettingTipViewAsImagesCountGraterThanZero //密码提示设置(照片数量大于0)- configurePasswordSettingTipViewAsImagesCountEqualZero //密码提示设置(照片数量为0) - addtionWaterMarkImgWithSourceImg //获得一张带水印的图片- updateImportPhotoProgress //刷新导出照片的进度- deleteButtonDidBeTouchUpInside //删除- saveButtonDidBeTouchUpInside //导出- image : didFinishSavingWithError //保存照片/视频到系统相册之后的回调- importBtnDidBeTouchUpInside //“导入”- cameraBtnDidBeTouchUpInside //镜头icon- lockpushBtnDidBeTouchUpInside //设置密码- dropViewDidBeginRefreshing //下拉刷新(目前没用到)- deleteMyAlbumPhotoNotification //删除(通知)- myAlbumTableSendButtonDidBeTouchUpInsideAssetTag (预览控制器的代理方法) - importImageToAlbumDBSuccessNotificatiion // 插入图片成功的 (FCHAlbumDBManager通知)- albumPasswordCorrectNotificatiion //密码输入正确(通知)- albumPasswordHasSetNotification //设置完密码的通知- pressedMyNavigationBar : sender //顶部栏 (代理方法)- collectionView : cellForItemAtIndexPath //UIColectionView数据源方法- collectionView : didSelectItemAtIndexPath //UIColectionView代理方法
FCHPhotosPickerViewController(选择控制器)
- pickerAlbumRoute : PickerAlbumRoute //进入系统相册的路径- ssetGroup : PHFetchResult //照片数据- selectedSmarks : NSMutableArray //选中的图片缩略图名字- bottomBgView : UIView // 导入按钮白色背景- navBar : FCHSystemAlbumNavBar //顶部栏- progressView : FCHABProgressView //进度条
+ updateImportPhotoProgress : text //更新导入进度- importBtnDidBeTouchUpInside //导入- collectionView : cellForItemAtIndexPath //数据源方法- collectionView : didSelectItemAtIndexPath //选中
FCHPhotosCollectionViewCell
- alphaView : UIView //白色蒙层- selectMarkImgView : UIImageView //选中标记- asset : PHAsset //照片资源
0 条评论
下一页
为你推荐
查看更多