Here is the situation..
I've inserted a whole NSArray
in one field of my SQLite
table, now I retrieve the data and it becomes a string. How can I convert it into NSArray
again?
This is the contents of my NSArray
inserted in SQLite
:
"<tbl_news:annyfksM8D:(null)> {\n \"news_content\" = \"Lorem ipsum dolor sit\";\n \"news_date\" = \"Sep 23, 2013\";\n \"news_featuredimage\" = \"uploads/1373124691956-160x120.jpg\";\n \"news_title\" = \"Lorem Ipsum2\";\n}",
"<tbl_news:fEgOpdgflF:(null)> {\n \"news_content\" = \"Lorem ipsum dolor sit.\";\n \"news_date\" = \"Sep 23, 2013\";\n \"news_featuredimage\" = \"uploads/2560x1440.jpg\";\n \"news_title\" = \"Lorem Ipsum3\";\n}"
It is an array from parse. Can anyone know how will i be able to convert it to NSArray
. I've already tried Convert NSString to NSArray but i think doing the solution there will no solve my problem.