Group Group Group Group Group Group Group Group Group

Presently delete core data item in uicollectionviewcell through tag

I am trying to permanently delete a single element from a core data set. Right now the code below removes the core data item but it does not permanently delete it. Once the class is called again it shows up again like nothing happened. I want it permanently deleted.

          var itemName : [Item] = []
  @objc func elete(_ sender:UIButton){
itemName.remove(at: sender.tag)
 collectionView.reloadData()

}