0413--iOS之UICollectionReusableView类

UICollectionReusableView是集合视图中用于显示cell和补充视图的基础类,通过重用机制提高性能。它允许子类化以自定义行为,包括管理布局变化。重用机制在视图滚动出界时将其放入队列,以便再次使用。子类可以复写方法以响应布局更新,如调整视图属性和布局属性。
摘要由CSDN通过智能技术生成

Class

UICollectionReusableView

A view that defines the behavior for all cells and supplementary views presented by a collection view.

       --一个定义collection view所呈现的所有的cell和补充视图的行为的视图

      UICollectionViewCell 继承于该 UICollectionReusableView

 

Declaration

class UICollectionReusableView : UIView

Overview                       --概览

Reusable views are so named because the collection view places them on a reuse queue rather than deleting them when they are scrolled out of the visible bounds. Such a view can then be retrieved and repurposed for a different set of content.

         --可重用视图之所以如此命名,是因为集合视图将它们

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值