Structure
RenderNode.Variant
A render node variant based on a collection of pre-defined traits.
struct Variant
Discussion
A variant features a collection of traits and a path where the variant can be found. When rendered as JSON, the data looks like this:
{
"traits" : [
{ "interfaceLanguage": "swift" }
],
"paths" : ["/path/to/variant"]
}
Topics
Initializers
Instance Properties
Instance Methods
Enumerations