title: Creating Albums on iCloud and storing different photos in each album using cloudKit Swift 4
body: <p>I am new to iOS Development and I am creating this project where I need to use <code>CloudKit</code> in order to <code>save photos</code> on <code>iCloud</code>. So basically my app will allow user to create different photo albums and inside every album adding photos of his/her choice, the catch is user will only be able to see this adding album page when a secret password is entered on a separate page. </p>
  
  <p>Basically I need some guidance from you guys in order to achieve this task. After searching online I came to know that i have to use <code>CloudKit</code> in order to integrate <code>iCloud</code> in my app.</p>
  
  <p>Basically i am looking for answers to this following questions :</p>
  
  <ul>
  <li>After integrating <code>CloudKit</code> what am I suppose to do?</li>
  <li>How can i create different folders on iCloud and how can I possibly give unique ids to them?</li>
  <li>How can I upload photos to specific album?</li>
  </ul>
  
  <p>If someone has reference code to such app,it will be of great help.
  looking forward to get my doubts cleared.</p>