自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

豆瓣相冊精選集

移動開發(fā)
豆瓣相冊精選集的源碼,來自Tonny&Sunm,可以參考,修改后使用,但界面不得隨便使用。

源碼簡介

豆瓣相冊精選集的源碼,來自Tonny&Sunm,可以參考,修改后使用,但界面不得隨便使用。
源碼運(yùn)行截圖

源碼片段:

  1. - (IBAction)showPhotosInAlbum:(UISwipeGestureRecognizer *)gesture { 
  2.     if (IsShowingCategory) return
  3.       
  4.     CGPoint point = [gesture locationInView:_tableView]; 
  5.     NSIndexPath *selectedIndexPath = [_tableView indexPathForRowAtPoint:point]; 
  6.     if (!selectedIndexPath) return
  7.       
  8.     NSUInteger row = selectedIndexPath.row; 
  9.       
  10.     [self hidePaperIndicator]; 
  11.       
  12.     DAPhotoWallViewController *vc = (DAPhotoWallViewController *)[self.storyboard instantiateViewControllerWithIdentifier:@"DAPhotoWallViewController"]; 
  13.       
  14.     NSDictionary *dic = _dataSource[@"albums"][row]; 
  15.       
  16.     vc.albumDic = dic; 
  17.     NSArray *doubanCategory = [_appData valueForKeyPath:@"cg_all"]; 
  18.     vc.canNotGotoUserAlbum = (_seletedCategory == doubanCategory.count); 
  19.       
  20.     CGFloat offset = [_tableView rectForRowAtIndexPath:selectedIndexPath].origin.y-[_tableView contentOffset].y; 
  21.     vc.paperIndicatorOffset = offset; 
  22.   
  23.     _lastSelectedRow = row; 
  24.     //// 
  25.     UITableViewCell *cell = [_tableView cellForRowAtIndexPath:selectedIndexPath]; 
  26.     UIView *view = [cell.contentView viewWithTag:4]; 
  27.     [UIView animateWithDuration:0.3 
  28.                      animations:^{ 
  29.                          view.alpha = 1
  30.                      }completion:^(BOOL finished) { 
  31.                          [self.navigationController pushViewController:vc animated:YES]; 
  32.                      }]; 

源碼鏈接:http://down.51cto.com/data/1984620

責(zé)任編輯:chenqingxiang 來源: 網(wǎng)絡(luò)整理
相關(guān)推薦

2015-07-22 10:40:57

豆瓣相冊

2021-12-14 08:26:52

Chrome瀏覽器Google

2022-05-16 14:19:31

谷歌數(shù)據(jù)3D

2018-07-03 08:33:43

程序員阿里開源

2017-12-19 14:40:41

阿里內(nèi)部技術(shù)年度精選

2012-10-30 13:12:55

PythonicHackathon豆瓣

2014-07-29 11:20:28

Swift豆瓣電臺編程實戰(zhàn)

2009-12-16 09:40:38

Linux終端Linux命令

2013-06-17 14:10:08

WP7開發(fā)Windows Pho豆瓣電臺

2016-07-18 16:09:40

精益生產(chǎn)Testin質(zhì)量控制

2016-12-05 18:54:53

Rexxar豆瓣

2017-05-10 16:01:39

推薦系統(tǒng)算法實踐

2022-03-02 15:59:37

HarmonyOS操作系統(tǒng)鴻蒙

2013-11-06 11:29:39

PhoneGap

2020-01-13 13:01:41

Windows軟件電腦

2018-11-14 10:36:47

Python 開發(fā)編程語言

2009-06-16 11:53:21

Java試題

2015-01-12 13:04:39

Swift開源項目匯總

2020-03-27 15:03:17

React JS框架開發(fā)平臺

2015-11-12 16:14:52

Python開發(fā)實踐
點贊
收藏

51CTO技術(shù)棧公眾號