Swift package manager package for shared DCUI schema types. It contains the definitions of layout schema models, nodes and styles which can be utilized by Rokt libraries
- Thomson Thomas - [email protected]
- James Newman - [email protected]
Swift 5.5 or higher. The package is compatible with iOS 13.0 and above.
This Swift package defines the shared schema models for DCUI (Dynamically Composable User Interface) which are used across Rokt libraries. The package primarily contains:
- Layout schema models
- Node definitions
- Style definitions
These types are designed to be used as a foundation for rendering dynamic UI layouts in iOS applications.
To install dcui-swift-schema
, add the following dependency to your Package.swift
file:
dependencies: [
.package(url: "https://github.com/ROKT/dcui-swift-schema.git", from: "2.0.0")
]
Then, add DcuiSchema to your target's dependencies:
targets: [
.target(
name: "YourTargetName",
dependencies: ["DcuiSchema"]),
]
Import the DcuiSchema
module in your Swift files:
import DcuiSchema
Select the DcuiSchema scheme, select an iPhone and press command + U, or Product -> Test menu in Xcode.
The main branches of this repository include: master, release- and feature branches
- master - Main development branch
- release branches - Branches with release- prefix are considered production branches.
- feature branches - All other branches are considered feature branches.
We are using semantic versioning starting with version 1.0.0. Each new feature requires incrementing minor version and breaking changes require incrementing major version.
In case you run into any problems you can try:
- Clean the build folder of the project. Select menu: Product -> Clean Build Folder on Xcode
- Delete the derived data folder for the project
- Make sure you're using the correct Swift version
Copyright 2020 Rokt Pte Ltd
Licensed under the Rokt Software Development Kit (SDK) Terms of Use Version 2.0 (the "License")
You may not use this file except in compliance with the License.
You may obtain a copy of the License at https://rokt.com/sdk-license-2-0/