Skip to content

Instantly share code, notes, and snippets.

@nicol3a
Last active February 3, 2019 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicol3a/f3decf77e8f7bc9872304ae47339aedc to your computer and use it in GitHub Desktop.
Save nicol3a/f3decf77e8f7bc9872304ae47339aedc to your computer and use it in GitHub Desktop.
/// An object that wants to be convertible in a managed object should implement the `ObjectConvertible` protocol.
protocol ObjectConvertible {
/// An identifier that is used to fetch the corresponding database object.
var identifier: String? { get }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment