title: Swift Init Optional Array in Struct
body: <p>I can do an element with optinal like below but I dont know how create optional Array in Struct. </p>
  
  <pre><code>struct HomeElement {
       var title:String!
       var description:String?
       var body:String!
  
       init(title:String!,description:String,body:String!) {
             self.title = title
             self.description = description
             self.body = body
        }
  }
  </code></pre>
  
  <p>I get an exception below code that nil for UIImage Array. How can I do when the Images input comes as nil.</p>
  
  <pre><code>struct HomeElement {
       var title:String!
       var description:String?
       var body:String!
       var images = [UIImage]()
  
       init(title:String!,description:String,body:String!,images:[UIImage]) {
             self.title = title
             self.description = description
             self.body = body
             self.images = images
        }
  }
  </code></pre>