References are used to relate records to each other. This video covers the basics on how to create references and then how to let CloudKit know about them.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4247-beginning-cloudkit/lessons/6