iOS Examples
Use AzeooSDK.init (or Pigeon initialize + connect), then sdk.modules.nutrition / sdk.modules.training and sdk.user / sdk.theme.
Init and connect
let sdk = AzeooSDK.init(apiKey: "key", config: config, theme: theme, ...)
sdk.connect(userId: "user-123", token: "jwt-token") { result in
switch result {
case .success(let profile): break // Use sdk.modules, sdk.user, sdk.theme
case .failure(let error): break
}
}
Embed and open screens
let nutritionVC = sdk.modules.nutrition.getViewController()
present(nutritionVC, animated: true)
sdk.modules.training.showWorkouts()
Full example app
See the example/ios_example project for a complete integration with Pigeon API and Config.