Clothparency/ios-widgets
Clear Fashion native iOS SDK for the widgets
Sample Project
<br /> <img style="margin: auto; height: 600px" src="https://user-images.githubusercontent.com/6204865/217008831-f702f4be-98ce-4606-87e8-dce01e22a84f.gif" alt="Clear Fashion Widget GIF"> </img> <br />
ClearFashionWidget is compatible with the following platforms:
- iOS
- MacOS
This package exposes a class ClearFashionWidget returning a View object.
You can easily use it in your application, once you added the package ios-widgets to your dependencies.
import SwiftUI
import ClearFashionWidget
struct ContentView: View {
var body: some View {
ClearFashionWidget(
brandId: "The id of your brand as given by Clear Fashion",
productId: "The identifier of your product as given by Clear Fashion",
lang: "fr" // Must be either "fr" or "en"
)
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}Monitoring
In case of trouble, you can always check server's status at https://status.clear-fashion.com
<br /> <br /> <p align="center"> <img style="margin: auto; width: 20%;" src="https://user-images.githubusercontent.com/2159699/215894277-8251062e-b339-4bf6-a958-42e792059ba3.svg" alt="Logo Clear Fashion"> </img> </p>
Package Metadata
Repository: Clothparency/ios-widgets
Homepage: https://open.clear-fashion.com
Stars: 3
Forks: 0
Open issues: 0
Default branch: main
Primary language: swift
License: MIT
Topics: cocapods, ios, sdk, swift, swift-package-manager, swiftui, widgets
README: README.md