Skip to content

Salmon Bento 🍱

Compare
Choose a tag to compare
@sergdort sergdort released this 13 Apr 16:25
· 342 commits to master since this release

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