Fixed direct comparison of string literals in Obj-C

These are very subtle changes, but comparing a string using == in Obj-C has undefined behavior. Should be using ```isEqualToString:``` instead.