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:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.