Posts

Post not yet marked as solved
7 Replies
3.6k Views
HiI'm hoping that someone can assist here as I cannot work this one out and the Easter holiday weekend has already passed me by trying to resolve this.I have had no previous issues with this code in previous versions of xcode.However, installed 9.3 at the tail end of last week and a issue has appeared.The line of code that throws the error is a boolean predicate with all other predicates seemingly working as usual.Other lines with similar boolean conditions also give this error.let Currentpredicate1 = NSPredicate(format: "%K == %@", "managed", true as CVarArg)Having tried to find info as well as various formats, for example,let Currentpredicate1 = NSPredicate(format: "managed == %@", true as CVarArg)Yet I cannot solve this issue. Please can anyone help or point me in the right direction of a solution?Kindest regards,AD
Posted
by ajdeacon.
Last updated
.