Skip to main content
Version: 5.7

Loading

Loading Page

To create your own Loading page, you create a class that implements BaseLoadingComponent.

import SwiftUI
import MealziOSSDK

@available(iOS 14, *)
public struct MyCustomLoadingView: LoadingProtocol {
public func content(params: BaseLoadingParameters) -> some View {
// your implementation here
}
}

with

public struct BaseLoadingParameters {}