Storing and retrieving a long array from NSUserDefaults
<p>How can I store a long array into NSUserDefaults and retrieve it?</p>

<p>Here is how my long array looks:</p>

<p>long *arr;</p>

<p>arr = new long [10];</p>

<p>for(int i = 0 ; i&lt;10 ; i++)
{</p>

<p>arr[i] = i;</p>

<p>}</p>

<p>Now I want to store this arr into UserDefaults and then retrieve it later</p>
