simple Mac app that reproduces failure to set a to-one relationship using Core Data with Swift (Xcode 6b3)