Is it possible to make components with auto layou. E.g. I’m making form container with auto-layout enabled and wherever I’m using it, I can drop different components (fields and buttons) inside it.
You can add any objects only to the master component. It is not possible to add or remove objects to instances of this component.
There’s a sort of hacky way to go about this. You can create a main component called Placeholder, and then another main component (let’s call it Container) with Auto Layout that wraps multiple Placeholders.
This way, any time you create an instance of Container, you can replace the nested Placeholders that you want to have visible for that instance, with any other component you want from within the tools in the Inspector.
Does that make sense?