Why does string show up in NSDictionary with quotes, but others don’t? [duplicate]

The quotes appear because the string contains something besides basic alphanumerics — in this case, an underscore. It’s the same reason "tbyg.jpg" and "6bcb4126-4bbe-4b3d-be45-9a06cf56a22f" have quotes (they contain a dot and dashes, respectively). That’s just how the description method works. It wouldn’t cause your second log to fail.

Leave a Comment