Skip to content

Instantly share code, notes, and snippets.

@bartjacobs
Created March 12, 2019 07:34
Show Gist options
  • Save bartjacobs/25563354b01fca199a189124a13c763b to your computer and use it in GitHub Desktop.
Save bartjacobs/25563354b01fca199a189124a13c763b to your computer and use it in GitHub Desktop.
var imagesFromCoreData: [Image]? {
guard let _imagesFromCoreData = toImages as? Set<Image> else { return nil }
return Array(_imagesFromCoreData)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment