IGListKit 实战经验分享调研

作者: 酷酷的哀殿 | 来源:发表于2016-10-21 10:30 被阅读1104次

IGListKit 实战分享调研

昨晚被人邀请分享一些东西,仔细考虑了一下,最近学到并值得分享的也只有 IGListKit 实战经验了。

所以,今天把项目中用到一部分相关代码提出来并创建了一个开源库 SunCollectionViewCell

如果有足够多的开发者对这个库感兴趣(根据 star 数量决定),那么我会做一次详尽的实战分享。如果很少,也请各位读者提供一些 topic,我会考虑换个关注度比较高的话题进行分享。

IGListKit 简介

IGListKit 是一个数据驱动的 UICollectionView 库,可以快速创建灵活地创建 UICollectionView 视图。

基本架构

酷酷的哀殿原创

主要特性

| Main Features |
---------|---------------
🙅 | Never call performBatchUpdates(_:, completion:) or reloadData() again
🏠 | Better architecture with reusable cells and components
🔠 | Create collections with multiple data types
🔑 | Decoupled diffing algorithm
✅ | Fully unit tested
🔍 | Customize your diffing behavior for your models
📱 | Simply UICollectionView at its core
🚀 | Extendable API
🐦 | Written in Objective-C with full Swift interop support

相关文章

网友评论

  • 七堇年华cc:这个KIT最低支持到iOS 7吗?
  • 戴仓薯:感觉有一点像把安卓搬过来了呀:)
    酷酷的哀殿:@戴仓薯 对安卓的布局不是很了解,但我看过的布局都是放在 Activity 里面。
    我现在的整体布局代码放到 ViewController 里面,局部的复杂代码放到 SectionController 里面。

本文标题: IGListKit 实战经验分享调研

本文链接:https://www.haomeiwen.com/subject/tnwquttx.html