NSFetchRequest could not locate an NSEntityDescription for entity name 'Article''
<p>I know other people have asked this before. But i tried the answers and they didn't solve the issue. </p>

<pre><code>2016-03-23 13:12:41.837 Project[2453:622728] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSFetchRequest could not locate an NSEntityDescription for entity name 'Article''
*** First throw call stack:
(0x182d7ee38 0x1823e3f80 0x184be5824 0x184bfde18 0x1000c4f38 0x1000c4af0 0x1000c47bc 0x1000c2738 0x1000c1790 0x1000c1ac8 0x187ec8b40 0x187ee0fd0 0x18807bd10 0x187f87d28 0x187f87a04 0x187f8796c 0x194581fd0 0x187ec40e4 0x18586aa28 0x185865634 0x1858654f4 0x185864b24 0x18586486c 0x18585ddd8 0x182d347b0 0x182d32554 0x182d32984 0x182c5cd10 0x184544088 0x187f31f70 0x1000d4f00 0x1827fa8b8)
libc++abi.dylib: terminating with uncaught exception of type NSException
</code></pre>

<p>in view controller</p>

<pre><code>// MARK: - Core Data Convenience
func saveContext() {
    CoreDataStackManager.sharedInstance().saveContext()
}
var sharedContext: NSManagedObjectContext {
    return CoreDataStackManager.sharedInstance().managedObjectContext
}
lazy var fetchedResultsController: NSFetchedResultsController = {
    let request = NSFetchRequest(entityName: "Article")
    request.predicate = NSPredicate(format: "pin == %@", self.annotation)
    request.sortDescriptors = [NSSortDescriptor(key: "title", ascending: true)]

    let fetched =  NSFetchedResultsController(fetchRequest: request, managedObjectContext: self.sharedContext, sectionNameKeyPath: nil, cacheName: nil)
    fetched.delegate = self
    return fetched
}()
</code></pre>

<p>In Model.xcdatamodel</p>

<p><a href="https://i.stack.imgur.com/h1j6f.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h1j6f.png" alt="Model.xcdatamodel"></a></p>

<p><a href="https://i.stack.imgur.com/f4S1L.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f4S1L.png" alt="Model.xcdatamodel"></a></p>

<p><a href="https://gist.github.com/anonymous/ba52c42104dab2ce6b44" rel="nofollow noreferrer">Link to Article.swift</a></p>