Skip to content
No description, website, or topics provided.
Swift Ruby
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Pods Added square example Oct 22, 2019
Self-Sizing-Hell-Square.xcodeproj Added square example Oct 22, 2019
Self-Sizing-Hell-Square.xcworkspace Added square example Oct 22, 2019
Self-Sizing-Hell-Square Added workaround for size calculation Oct 27, 2019
LICENSE Initial commit Oct 22, 2019
Podfile Added square example Oct 22, 2019
Podfile.lock Added square example Oct 22, 2019
README.md Update README.md Oct 22, 2019

README.md

Self Sizing Cells

Exploratory sample project used to determine how to better implement self-sizing cells.

Introduction

In order to explore better ways to implement self sizing cells beyond the most basic cases (standalone table or collection view) we decided to create examples of a UICollectionView inside a UITableView.

1. Square View

The first example contains a fixed size square view as the sole object inside the UICollectionViewCell.

In a very general level, the objective is to create something like this:

  • UIViewController
    • UITableView
      • UITableViewCell
        • Square view
      • UITableViewCell ...
      • UITableViewCell ...
You can’t perform that action at this time.