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/

  • 相关阅读:
    点击某个内容复制到粘贴板
    滚动条全局样式
    23个Python爬虫开源项目代码:爬取微信、淘宝、豆瓣、知乎、微博等
    爬虫数据清洗
    邮件二次验证
    mysql基础语句
    orm操作
    解决跨域请求
    第二十一章 线程局部存储区
    第二十章 DLL高级技术
  • 原文地址:https://www.cnblogs.com/javastart/p/6957399.html
Copyright © 2011-2022 走看看