Skip to content

Instantly share code, notes, and snippets.

@ennioma
Last active July 6, 2017 21:26
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ennioma/a05ce398e0a0747e1899003b133c5693 to your computer and use it in GitHub Desktop.
import RealmSwift
func fetch<T: Object>(_ model: T.Type, predicate: NSPredicate?, sorted: Sorted?, completion: (([T]) -> ()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment