title: How to filter date from textfield in swift
body: <p>this is my array</p>
  <pre><code>   var servicesArray = [ServicesModel]()
    servicesArray.append(.init(header: openData.get_service_category?.category, title: openData.request_title, date: openData.from_date, location: openData.location, gender: openData.gender, id: openData.id))
  </code></pre>
  <p>this is my service call: here if i add <code>from_date</code> date from search textfield then i need to show only the date contain tableview cell should show</p>
  <pre><code>   func postedServicesCall(){
      
      let param = [&quot;from_date&quot; : fromDateTextField.text, &quot;to_date&quot; : &quot;&quot;]
      APIReqeustManager.sharedInstance.serviceCall(param: param as [String : Any], method: .post, loaderNeed: false, loadingButton: nil, needViewHideShowAfterLoading: nil, vc: self, url: CommonUrl.posted_requests, isTokenNeeded: true, isErrorAlertNeeded: true, isSuccessAlertNeeded: false, actionErrorOrSuccess: nil, fromLoginPageCallBack: nil) { [weak self] (resp) in
          
          self?.postedServicesData = Posted_services_base_model(dictionary: resp.dict as NSDictionary? ?? NSDictionary())
          
      }
  }
  
  func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
      return servicesArray.count
   }
  
   func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
      let cell = tableView.dequeueReusableCell(withIdentifier: &quot;ServicesTableViewCell&quot;, for: indexPath) as! ServicesTableViewCell
      
      cell.headerLabel.text = servicesArray[indexPath.row].header
      cell.serviceTitle.text = servicesArray[indexPath.row].title
      cell.dateLabel.text = servicesArray[indexPath.row].date
      cell.locationLabel.text = servicesArray[indexPath.row].location
      
      return cell
  }
  </code></pre>
  <p>this is searchbtn:</p>
  <pre><code>@IBAction func searchButtonTapped(_ sender: Any) {
      
      if fromDateTextField.text != nil{
          
      }
  }
  </code></pre>
  <p>how to show filtered date contain tableview cells, please do help with code</p>