title: Swift Core Data Predicate IN Clause
body: <p>I'm attempting to use an IN clause with an NSPredicate. I'm getting the following error:</p>
  
  <blockquote>
    <p>*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSTaggedPointerString countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0xa000000000000611'</p>
  </blockquote>
  
  <p>Here's the code:</p>
  
  <pre><code>let fetchRequest: NSFetchRequest&lt;Employee&gt; = NSFetchRequest(entityName: "Employee")
  
  fetchRequest.sortDescriptors = [
       NSSortDescriptor.init(key: "lastName", ascending: true)
  ]
  
  fetchRequest.predicate = NSPredicate(format: "ANY id IN %@", argumentArray: recentEmployeeIds)
  
  fetchedResultsController = NSFetchedResultsController.init(fetchRequest: fetchRequest,
                                                                             managedObjectContext: FLCoreDataController.shared.mainObjectContext,
                                                                             sectionNameKeyPath: nil,
                                                                             cacheName: nil)
  fetchedResultsController?.delegate = self
  
  try? fetchedResultsController?.performFetch()
  </code></pre>
  
  <p>Any ideas as to what the problem is?</p>