i work with swift 3 and nsoutlineview. i would like to save the objectID of a core data record into a textfield. so i have to convert it into a string:
txtFied.stringValue = "\(CoreData[outlineView.selectedRow].objectID)"
how can i convert it back to an NSManagedObjectID?