Today I converted my old code base to swift 3 and xCode did everything but there are few things that I am not able to understand.
Old swift:
private var fetchedResultController: NSFetchedResultsController?
Swift 3:
fileprivate var fetchedResultController: NSFetchedResultsController<AnyObject>?
Now the problem is when I simply write the previous one xCode throw an error Reference to generic type NSFetchedResultsController requires arguments in <....>
and it's turned to NSFetchedResultsController<AnyObject>?
but still it's showing me an error which I am not able to figure.
Can anyone please help to understand what exactly it mean? and how to figure out?