I want to call [NSString compare:options:range:] and pass no options.
What should be the correct value to provide for the options parameter?
Both nil and NULL produce a warning in Xcode : “Incompatible pointer to integer conversion sending ‘void *’ to parameter of type … “
Just pass
0. Alternatively, if you’ve been around the Mac block a few times, you might catch yourself passingkNilOptionswhich is just another name for0, but implies the relevant flagginess.