B4i Library mcBottomSheet - Native iOS Sheet

This is a native Sheet implemented using inline Objective C. The truth is I have Zero knowledge in Objective C.
With the Help of Claude AI, I present the v1 of the Bottom Sheet.

Feel Free to explore and expand it.

mcBottomSheet

Author:
Mcqueccu
Version: 1.00
  • mcBottomSheet
    • Functions:
      • Dismiss
        Dismiss the bottom sheet
      • initSheet (ContentPanel As B4XView)
        Initialize the BottomSheet with a View
      • ShowFull
        Show the bottom sheet at full height (large detent)
      • ShowHalf
        Show the bottom sheet at half height (medium detent)
      • UpdateHeight (HalfHeight As Boolean)
        Update the bottom sheet height (True for half, False for full)

Usage
You can Add Views Directly or Add the views to a layout then load the layout to the Sheet

1746735755493.pnggif video.gif
 

Attachments

  • mcBottomSheet.b4xlib
    1.8 KB · Views: 13
  • Example_BottomSheet.zip
    171.8 KB · Views: 13
Last edited:
Top