zoukankan      html  css  js  c++  java
  • tableView//collectionView加载时的动画

    - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath {

        ProjectIntroViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:COLLECTIONVIEW_CELLID forIndexPath:indexPath];

        [cell updateUIWithModel:model];

    //    cell.layer.transform = CATransform3DMakeScale(0.1, 0.1, 1);

    //    //设置动画时间为0.25,xy方向缩放的最终值为1

    //    [UIView animateWithDuration:0.25 animations:^{

    //        cell.layer.transform = CATransform3DMakeScale(1, 1, 1);

    //    }];

        return cell;

    }

  • 相关阅读:
    名字匹配(水题)
    奇怪的键盘
    杰杰的键盘
    Windows Message Queue(优先队列)
    筛法求素数
    会场安排问题(贪心)
    Sail
    Elevator
    Lowest Bit
    File Searching
  • 原文地址:https://www.cnblogs.com/melons/p/5792046.html
Copyright © 2011-2022 走看看