Altogether objective-c noob is here with a question. Is there a way to convert NSURL to NSString in one line? I need to get the url from sqlite database and then save it to a string.
Currently, the line I want to convert looks like this:>
MyString.url = [NSString stringWithUTF8String:(char *) sqlite3_column_text(sqlStatement, 1)];
so you get "Incompatible pointer types assigning" NSURL * "from" NSString * "
:)
source
share