Skip to content
Discussion options

You must be logged in to vote

Hi @hossamsherif-reo! In isowords we have an example "bottom menu" component that might be a good reference:

https://github.com/pointfreeco/isowords/tree/b87f4c61c0523564adf17c031f9fa4b88a40d631/Sources/BottomMenu

The module includes 2 files. The first, "BottomMenu.swift," includes just the core SwiftUI view, that can be configured with Texts, button action closures, and is driven by an optional binding of BottomMenu state:

https://github.com/pointfreeco/isowords/blob/b87f4c61c0523564adf17c031f9fa4b88a40d631/Sources/BottomMenu/BottomMenu.swift

The second file, "ComposableBottomMenu.swift," contains all the glue needed to drive the component UI from TCA:

https://github.com/pointfreeco/isow…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hossamsherif-reo
Comment options

Answer selected by hossamsherif-reo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants