For example, I have an entity named Profile with attributes like
name,
gender,
dateOfBirth,
height,
weight,
bloodGroup,
province,
country,
picture
But, I am going to use a single profile for the whole app. So I think I don’t need to persist this object into core data. So is it a good practice to store all attributes in NSUserDefaults? My app may store other fields in the NSUserDefaults too. Is it a good thing to store many values into NSUserDefaults? Otherwise any other idea would be appreciated.
You can store values in NSUserDefaults but make sure to add conditions while getting them maybe other users wants to login, like you can erase everything on logout and save on login. Or you can store values in a PList file.