i trying create nspredicate (for use in realm collection notifications) filters records based on current time.
not time when predicate created:
nspredicate(format: "endsat < %@", nsdate()) but time when predicate evaluated this:
nspredicate(format: "endsat < now()") because dynamic values , block based predicates isn't allowed there alternative solution ?
this not possible values substituted predicate fixed when predicate created. please file enhancement request against realm can track adding support sort of query in future.
Comments
Post a Comment