Babylonhealth Bento Versions Save

Swift library for building component-based interfaces on top of UITableView and UICollectionView 🍱

0.4

5 years ago

Features

  • Adds ready to use components
  • Adds Stylesheet as a way to style components

Additional changes

  • Improves documentation
  • Adds MVP example
  • Removes <> operator for Node

0.3

5 years ago

Features:

  • Conditional operators for Section and Node, supporting Optional and Bool evaluation.

0.2

6 years ago

Features:

  • Added support for Carthage 🐘
  • Restructured project so internal dependencies are handled via git submodules.

0.1

6 years ago

The first release of Bento 🍱

Features:

  • Declarative table view building
let box = Box<SectionId, RowId>.empty
                |-+ Section(id: SectionId.user, header: EmptySpaceComponent(height: 24, color: .clear))
                |---+ RowId.user <> IconTitleDetailsComponent(icon: image, title: patient.name)
                |-+ Section(id: SectionId.consultantDate, header: EmptySpaceComponent(height: 24, color: .clear))
                |---+ RowId.loading <> LoadingIndicatorComponent(isLoading: true)
                
tableView.render(box) 
  • Component-based: Design reusable components and share your custom UI across multiple screens of your app
  • Diffing: reloads your UI with beautiful animations when your data changes