ios - Instance method xyz not found (return type defaults to id)? -
i facing issue method, have using other nsstring , working fine.
see image.
here html nsstring, have used in other project, clone of this, working fine there, wrote this, working fine in project,
html = [html stringbyconvertinghtmltoplaintext];
but here in method , both ways giving warning. mean , how can solve ?
if html
is typed id
, know it's in fact nsstring
, try casting nsstring
and call selector there (id type nsstring).
that said, reported error occurs when method not declared in header file (https://stackoverflow.com/a/13154244/865688). did forget #import
?
Comments
Post a Comment