Learn the basic Apple News Format container concepts required for the three advanced tutorials.
- Apple News Format
- Apple News API
Most of the design and layout effects in this tutorial require you to create hierarchies of nested components. In Apple News Format JSON, a container is a component that can hold other components. Container components include four types:
This is an example of a simple container.
In the example above, the
container component has two child components. Notice that a container has a property named
components whose value is an array. Any components inside the container’s
components array are children of the container.