missing [ at start message send expression

What is the problem with this code:

NSError *error = nil;

[SFHFKeychainUtils deleteItemForUsername:@"<span class="Apple-style-span" style="font-family: Times; font-size: small;">IAPNoob01</span>" andServiceName:kStoredData error:&error];

The error is:

The problem: missing [ at start message send expression


You have to escape the quotes in the string.

NSError *error = nil;

[SFHFKeychainUtils deleteItemForUsername:@"<span class=\"Apple-style-span\" style=\"font-family:Times;
    font-size: small;\">IAPNoob01</span>"

Need Your Help

BufferedInputStream to ByteArrayOutputStream very slow

java bytearray

I have a problem very similar to the link below: