FormsCardKit is tab bar library.
import FormsCardKit
Forms.framework
var demoCardContentController = DemoFormsCardContentController()
var demoCardController = CardController(demoCardContentController)
Add to parent controller
let overlayView = Components.container.view()
.with(backgroundColor: Theme.Colors.tertiaryBackground.withAlphaComponent(0.3))
demoCardController.add(to: self, overlay: overlayView)
Card appearance progress
demoCardController.onProgress = { (progress: CGFloat) in }
Close from card
cardController?.close()