title: Default value to core data attributes (column) for iOS programmatically
body: <p><strong>Current Approach</strong></p>
  
  <ul>
  <li>I set the default value of the attribute directly to the data model file using the inspector.</li>
  </ul>
  
  <p><strong>Problem</strong></p>
  
  <ul>
  <li>I have enum for the values a particular attribute can take.</li>
  <li>I am worried maintaining them at a later stage might be difficult.</li>
  <li>Suppose if I decide to change the enum values, then I would have to manually go the inspector and change it. </li>
  <li>Since I have quite a number of attributes based on enum values, it becomes difficult.</li>
  </ul>
  
  <p><strong>Question</strong></p>
  
  <ul>
  <li>How can I add default values to core data attributes programmatically ?</li>
  <li>Is there any alternative to do this, so that maintenance would be easier ?</li>
  </ul>