zoukankan      html  css  js  c++  java
  • 第9月第7天 uicollectionview

    1.

        /**
         The margins used to lay out content in the section controller.
        
         @see `-[UICollectionViewFlowLayout sectionInset]`.
         */
        open var inset: UIEdgeInsets
    
        
        /**
         The minimum spacing to use between rows of items.
        
         @see `-[UICollectionViewFlowLayout minimumLineSpacing]`.
         */
        open var minimumLineSpacing: CGFloat
    
        
        /**
         The minimum spacing to use between items in the same row.
        
         @see `-[UICollectionViewFlowLayout minimumInteritemSpacing]`.
         */
        open var minimumInteritemSpacing: CGFloat
    
    
    
    
    
        /**
         Asks the SupplementaryViewSource for a configured supplementary view for the specified kind and index.
        
         @param elementKind The kind of supplementary view being requested
         @param index The index for the supplementary veiw being requested.
        
         @note This is your opportunity to do any supplementary view setup and configuration.
        
         @warning You should never allocate new views in this method. Instead deque a view from the `IGListCollectionContext`.
         */
        @available(iOS 6.0, *)
        public func viewForSupplementaryElement(ofKind elementKind: String, at index: Int) -> UICollectionReusableView
    
        
        /**
         Asks the SupplementaryViewSource for the size of a supplementary view for the given kind and index path.
        
         @param elementKind The kind of supplementary view.
         @param index The index of the requested view.
        
         @return The size for the supplementary view.
         */
        public func sizeForSupplementaryView(ofKind elementKind: String, at index: Int) -> CGSize

    https://www.github.com/Instagram/IGListKit/

  • 相关阅读:
    Makefile 文件详细规则
    unrar命令
    Vector容器 和 iteration 迭代器
    python的with语句
    anaconda 使用总结
    vim 保存退出命令集
    Tensorflow实例集
    jupyter notebook 使用例子
    tensorflow 安装教程(最佳)
    Ext.NET 4.1.0 搭建页面布局
  • 原文地址:https://www.cnblogs.com/javastart/p/6957399.html
Copyright © 2011-2022 走看看