├── .gitignore ├── .travis.yml ├── DataSourceKit.podspec ├── DataSourceKit.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── xcshareddata │ └── xcschemes │ ├── DataSourceKit.xcscheme │ └── Demo.xcscheme ├── DataSourceKit ├── BindableCell.swift ├── CellBinder.swift ├── CellsDeclarator.swift ├── CollectionViewDataSource.swift ├── DataSourceKit.h ├── Info.plist └── TableViewDataSource.swift ├── DataSourceKitTests ├── CollectionViewDataSourceTests.swift ├── Example │ ├── A.swift │ ├── ACollectionViewCell.swift │ ├── ACollectionViewCell.xib │ ├── ATableViewCell.swift │ ├── ATableViewCell.xib │ ├── B.swift │ ├── BCollectionViewCell.swift │ ├── BCollectionViewCell.xib │ ├── BTableViewCell.swift │ ├── BTableViewCell.xib │ ├── C.swift │ ├── CCollectionViewCell.swift │ └── CTableViewCell.swift ├── Info.plist ├── TableViewDataSourceTests.swift └── TestView │ ├── TestCollectionView.swift │ └── TestTableView.swift ├── Demo ├── AppDelegate.swift ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ ├── Kaminarimon_at_night.imageset │ │ ├── Contents.json │ │ └── Kaminarimon_at_night.jpg │ ├── ishkawa.imageset │ │ ├── Contents.json │ │ └── ishkawa.png │ └── yamotty.imageset │ │ ├── Contents.json │ │ └── yamotty.png ├── Base.lproj │ └── LaunchScreen.storyboard ├── Cell │ ├── CollectionViewFullWidthCell.swift │ ├── RelatedVenueCell.swift │ ├── RelatedVenueCell.xib │ ├── ReviewCell.swift │ ├── ReviewCell.xib │ ├── SectionHeaderCell.swift │ ├── SectionHeaderCell.xib │ ├── VenueOutlineCell.swift │ └── VenueOutlineCell.xib ├── Info.plist ├── Model │ ├── Review.swift │ └── Venue.swift └── ViewController │ ├── AdvancedVenueDetail.storyboard │ ├── AdvancedVenueDetailViewController.swift │ ├── AdvancedVenueDetailViewState.swift │ ├── SimpleVenueDetail.storyboard │ └── SimpleVenueDetailViewController.swift ├── DemoTests ├── AdvancedVenueDetailViewStateTests.swift └── Info.plist ├── LICENSE ├── README.md └── Screenshot └── declarative.png /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/.travis.yml -------------------------------------------------------------------------------- /DataSourceKit.podspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKit.podspec -------------------------------------------------------------------------------- /DataSourceKit.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKit.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /DataSourceKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /DataSourceKit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /DataSourceKit.xcodeproj/xcshareddata/xcschemes/DataSourceKit.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKit.xcodeproj/xcshareddata/xcschemes/DataSourceKit.xcscheme -------------------------------------------------------------------------------- /DataSourceKit.xcodeproj/xcshareddata/xcschemes/Demo.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKit.xcodeproj/xcshareddata/xcschemes/Demo.xcscheme -------------------------------------------------------------------------------- /DataSourceKit/BindableCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKit/BindableCell.swift -------------------------------------------------------------------------------- /DataSourceKit/CellBinder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKit/CellBinder.swift -------------------------------------------------------------------------------- /DataSourceKit/CellsDeclarator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKit/CellsDeclarator.swift -------------------------------------------------------------------------------- /DataSourceKit/CollectionViewDataSource.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKit/CollectionViewDataSource.swift -------------------------------------------------------------------------------- /DataSourceKit/DataSourceKit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKit/DataSourceKit.h -------------------------------------------------------------------------------- /DataSourceKit/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKit/Info.plist -------------------------------------------------------------------------------- /DataSourceKit/TableViewDataSource.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKit/TableViewDataSource.swift -------------------------------------------------------------------------------- /DataSourceKitTests/CollectionViewDataSourceTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKitTests/CollectionViewDataSourceTests.swift -------------------------------------------------------------------------------- /DataSourceKitTests/Example/A.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKitTests/Example/A.swift -------------------------------------------------------------------------------- /DataSourceKitTests/Example/ACollectionViewCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKitTests/Example/ACollectionViewCell.swift -------------------------------------------------------------------------------- /DataSourceKitTests/Example/ACollectionViewCell.xib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKitTests/Example/ACollectionViewCell.xib -------------------------------------------------------------------------------- /DataSourceKitTests/Example/ATableViewCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKitTests/Example/ATableViewCell.swift -------------------------------------------------------------------------------- /DataSourceKitTests/Example/ATableViewCell.xib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKitTests/Example/ATableViewCell.xib -------------------------------------------------------------------------------- /DataSourceKitTests/Example/B.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKitTests/Example/B.swift -------------------------------------------------------------------------------- /DataSourceKitTests/Example/BCollectionViewCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKitTests/Example/BCollectionViewCell.swift -------------------------------------------------------------------------------- /DataSourceKitTests/Example/BCollectionViewCell.xib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKitTests/Example/BCollectionViewCell.xib -------------------------------------------------------------------------------- /DataSourceKitTests/Example/BTableViewCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKitTests/Example/BTableViewCell.swift -------------------------------------------------------------------------------- /DataSourceKitTests/Example/BTableViewCell.xib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKitTests/Example/BTableViewCell.xib -------------------------------------------------------------------------------- /DataSourceKitTests/Example/C.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKitTests/Example/C.swift -------------------------------------------------------------------------------- /DataSourceKitTests/Example/CCollectionViewCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKitTests/Example/CCollectionViewCell.swift -------------------------------------------------------------------------------- /DataSourceKitTests/Example/CTableViewCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKitTests/Example/CTableViewCell.swift -------------------------------------------------------------------------------- /DataSourceKitTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKitTests/Info.plist -------------------------------------------------------------------------------- /DataSourceKitTests/TableViewDataSourceTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKitTests/TableViewDataSourceTests.swift -------------------------------------------------------------------------------- /DataSourceKitTests/TestView/TestCollectionView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKitTests/TestView/TestCollectionView.swift -------------------------------------------------------------------------------- /DataSourceKitTests/TestView/TestTableView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DataSourceKitTests/TestView/TestTableView.swift -------------------------------------------------------------------------------- /Demo/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/AppDelegate.swift -------------------------------------------------------------------------------- /Demo/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Demo/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Demo/Assets.xcassets/Kaminarimon_at_night.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Assets.xcassets/Kaminarimon_at_night.imageset/Contents.json -------------------------------------------------------------------------------- /Demo/Assets.xcassets/Kaminarimon_at_night.imageset/Kaminarimon_at_night.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Assets.xcassets/Kaminarimon_at_night.imageset/Kaminarimon_at_night.jpg -------------------------------------------------------------------------------- /Demo/Assets.xcassets/ishkawa.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Assets.xcassets/ishkawa.imageset/Contents.json -------------------------------------------------------------------------------- /Demo/Assets.xcassets/ishkawa.imageset/ishkawa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Assets.xcassets/ishkawa.imageset/ishkawa.png -------------------------------------------------------------------------------- /Demo/Assets.xcassets/yamotty.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Assets.xcassets/yamotty.imageset/Contents.json -------------------------------------------------------------------------------- /Demo/Assets.xcassets/yamotty.imageset/yamotty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Assets.xcassets/yamotty.imageset/yamotty.png -------------------------------------------------------------------------------- /Demo/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /Demo/Cell/CollectionViewFullWidthCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Cell/CollectionViewFullWidthCell.swift -------------------------------------------------------------------------------- /Demo/Cell/RelatedVenueCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Cell/RelatedVenueCell.swift -------------------------------------------------------------------------------- /Demo/Cell/RelatedVenueCell.xib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Cell/RelatedVenueCell.xib -------------------------------------------------------------------------------- /Demo/Cell/ReviewCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Cell/ReviewCell.swift -------------------------------------------------------------------------------- /Demo/Cell/ReviewCell.xib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Cell/ReviewCell.xib -------------------------------------------------------------------------------- /Demo/Cell/SectionHeaderCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Cell/SectionHeaderCell.swift -------------------------------------------------------------------------------- /Demo/Cell/SectionHeaderCell.xib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Cell/SectionHeaderCell.xib -------------------------------------------------------------------------------- /Demo/Cell/VenueOutlineCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Cell/VenueOutlineCell.swift -------------------------------------------------------------------------------- /Demo/Cell/VenueOutlineCell.xib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Cell/VenueOutlineCell.xib -------------------------------------------------------------------------------- /Demo/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Info.plist -------------------------------------------------------------------------------- /Demo/Model/Review.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Model/Review.swift -------------------------------------------------------------------------------- /Demo/Model/Venue.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/Model/Venue.swift -------------------------------------------------------------------------------- /Demo/ViewController/AdvancedVenueDetail.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/ViewController/AdvancedVenueDetail.storyboard -------------------------------------------------------------------------------- /Demo/ViewController/AdvancedVenueDetailViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/ViewController/AdvancedVenueDetailViewController.swift -------------------------------------------------------------------------------- /Demo/ViewController/AdvancedVenueDetailViewState.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/ViewController/AdvancedVenueDetailViewState.swift -------------------------------------------------------------------------------- /Demo/ViewController/SimpleVenueDetail.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/ViewController/SimpleVenueDetail.storyboard -------------------------------------------------------------------------------- /Demo/ViewController/SimpleVenueDetailViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Demo/ViewController/SimpleVenueDetailViewController.swift -------------------------------------------------------------------------------- /DemoTests/AdvancedVenueDetailViewStateTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DemoTests/AdvancedVenueDetailViewStateTests.swift -------------------------------------------------------------------------------- /DemoTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/DemoTests/Info.plist -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/README.md -------------------------------------------------------------------------------- /Screenshot/declarative.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ishkawa/DataSourceKit/HEAD/Screenshot/declarative.png --------------------------------------------------------------------------------