title: Inheritance from non-protocol type 'PFObject'
body: <p>I am getting this error <code>Inheritance from non-protocol type 'PFObject'</code> on Xcode with Swift while trying to create a Model, here is the code of the model:</p>
  <pre><code>import Foundation
  import ParseSwift
  import Parse
  import SwiftUI
  
  struct Category: ParseObject, PFObject {
  
      // Required properties from ParseObject protocol
      var originalData: Data?
      var objectId: String?
      var createdAt: Date?
      var updatedAt: Date?
      var ACL: ParseACL?
  
      // Custom fields for the contact's information
      var name: String = &quot;&quot;
      var cover: String = &quot;&quot;
      var color: String = &quot;&quot;
      var createdBy: String = &quot;&quot;
  }
  
  extension Category {
      init(name: String, cover: String, color: String, createdBy: String) {
          self.name = name
          self.cover = cover
          self.color = color
          self.createdBy = createdBy
      }
  }
  </code></pre>
  <p>What am I doing wrong?</p>