Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Prototype: block-based editor using UICollectionView #692

Closed
gordonbrander opened this issue Jun 7, 2023 · 3 comments
Closed

Prototype: block-based editor using UICollectionView #692

gordonbrander opened this issue Jun 7, 2023 · 3 comments
Assignees

Comments

@gordonbrander
Copy link
Collaborator

gordonbrander commented Jun 7, 2023

Prototype block-based editor using stacked UITextViews and UICollectionView (or similar).

Progress toward #214

@gordonbrander
Copy link
Collaborator Author

gordonbrander commented Jun 7, 2023

UICollectionView is like an updated UITableView, and supports other layouts, such as a grid of images. As of iOS 14, UICollectionView can now do lists as well and is now the recommended approach.

  • Updates and replaces UITableView
  • More flexible layout and styling than UITableView
  • Auto-sizing (self-sizing) of cells is default (unlike UITableView)
    • Build cells with auto layout, and collection view will do the rest automatically.
    • Can still hardcode through preferredLayoutAttributesFittingAttributes
  • Buffered rendering of data->view based on scroll viewport

Resources:

@gordonbrander
Copy link
Collaborator Author

@bfollington bfollington moved this from 🏔️ Icebox to 📚 Todo in Subconscious + Noosphere Jul 13, 2023
@gordonbrander gordonbrander moved this from 📚 Todo to 🧑‍🌾 In Progress in Subconscious + Noosphere Jul 19, 2023
@gordonbrander
Copy link
Collaborator Author

Moving forward with this in app.

@github-project-automation github-project-automation bot moved this from 🧑‍🌾 In Progress to 🌱 Done in Subconscious + Noosphere Sep 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: 🌱 Done
Development

No branches or pull requests

1 participant