How to store values in NSUserDefaults like as a Database
<p>I need to create an application using NSUserDefaults.</p>

<p>In my first view i will enter the password. In second view i will enter the confirm password.
Then validation will be come. after then if password will be match in both views, then success window will be open.  After then some views will come. I need that password should be save in NSUserDefaults for future use.</p>

<p>if i will close my application after validation, then if i will build and run again my application now the password validation window should not be open.</p>

<p>Only one view simply will ask the password, if the current password is equal to before terminate application's password, then the application's success view will be open. Now here the validation should be compare with current password with NSUserDefaults's value[i.e old password, which is stored before terminate my application].</p>

<p>It is possible to using NSUserDefaults?</p>

<p>If anybody knows the any idea please help me..</p>

<p>Thanks.</p>
