Skip to content

This repo shows how to build a protocol-oriented data source for both UITableView and UICollectionView

License

Notifications You must be signed in to change notification settings

pofat/protocol-tableview-and-collectionview

Repository files navigation

Pushing The Limits of Protocol-Oriented Programming

This repo is inspired by Jesse Squires's presentation at Swift Summit.

There are five desiring goals in this repos:

  1. protocol-based
  2. type-safe
  3. unify UITableView and UICollectionView
  4. remove UIKit boilerplate
  5. avoid NSObject and NSObjectProtocol, in order to be purely Swifty

To understand the power and benefits of POP, I try to implement it by myself and this is it.

Reference

About

This repo shows how to build a protocol-oriented data source for both UITableView and UICollectionView

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages