RegexKitLite & Unrecognized Selector Sent to Instance Error..

Posted by Susanth on Stack Overflow See other posts from Stack Overflow or by Susanth
Published on 2010-05-18T11:04:39Z Indexed on 2010/05/18 11:10 UTC
Read the original article Hit count: 136

Filed under:
|
|
|
|

Hi Guys,

I am not sure why the following line:

addDetails.Address = [addDetails.Address stringByReplacingOccurrencesOfRegex:@" +" withString:@" "];

causes an "Unrecognized Selector Sent to Instance" error, closing my iPhone App in my Simulator(XCode).

What's wrong with my code?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about xcode