 public class FetchedCollectionViewController: UIViewController, UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout, NSFetchedResultsControllerDelegate {
     
     @IBOutlet public var collectionView: UICollectionView!
-    private var fetchedController: NSFetchedResultsController!
+    private var fetchedController: NSFetchedResultsController?
     private var measuringCell: UICollectionViewCell?
     private var changeActions: [CollectionCoreDataChangeAction]!
     

    }
    
    public func hasObjectAtIndexPath(indexPath: NSIndexPath) -> Bool {
        guard let sections = fetchedController.sections where sections.count > indexPath.section else {
            return false
        }
        

    public func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {
        collectionView.deselectItemAtIndexPath(indexPath, animated: true)
        
        let object = fetchedController!.objectAtIndexPath(indexPath)
        tappedCell(indexPath, object: object)
    }
    
