CarbonKit
CarbonKit copied to clipboard
Swift: Dynamic Creation of ViewController Tabs
The number of tabs and contents for each tab to be created is base on a response call from an API.
for example
data: {
types: [
men-clothing: [
Valentine,
Swimwear,
Socks
],
men-footh-wear: [
shoe-fair,
slippers,
sneakers
]
]
}
From the json above the types node is dynamic, it could be two or more object.
have you found a solution for this..