When I created my core data file and after adding this code into done method to save the data I got an error of above stated topic of unable to find a class.
It also showing an error of
Class not found, using default NSManagedObject instead
@IBAction func done()
{
let hudView = HudView.hudInView(navigationController!.view, animated: true)
hudView.text = "Tagged"
let location = NSEntityDescription.insertNewObjectForEntityForName("Location", inManagedObjectContext: managedObjectContext) as! Location
location.locationDescription = descriptionText
location.category = categoryName
location.latitude = coordinate.latitude
location.longitude = coordinate.longitude
location.date = date
location.placemark = placemark
var error: NSError?
if !managedObjectContext.save(&error)
{
println("Error: \(error)")
abort()
}
afterDelay(0.6) {self.dismissViewControllerAnimated(true, completion: nil)}
}