3

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 <....>

enter image description here

and it's turned to NSFetchedResultsController<AnyObject>? but still it's showing me an error which I am not able to figure. enter image description here

Can anyone please help to understand what exactly it mean? and how to figure out?

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Tapas Pal
  • 7,073
  • 8
  • 39
  • 86

0 Answers0