If NSString stringWithContentsOfFile is deprecated, what is its replacement?

Posted by mobibob on Stack Overflow See other posts from Stack Overflow or by mobibob
Published on 2010-06-02T03:54:19Z Indexed on 2010/06/02 4:03 UTC
Read the original article Hit count: 447

Filed under:
|
|

I have some sample code from Tuaw which is probably 3 releases old ;) The compiler is issuing a warning that the method is deprecated, but I do not see that mentioned in the SDK docs. If it is deprecated, there must be an alternative approach or replacement method. Does anyone know what the replacement is for this method?

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about cocoa