Check out example codes for "objective c struct initialization". It will help you in understanding the concepts better.

Code Example 1

Struct initialization

Learn ReactJs, React Native from akashmittal.com