according to the new Core Data changes, Xcode generates this subclass for me:
extension Person { @nonobjc public class func fetchRequest() -> NSFetch
Because fetchRequest() is generic for all entity,you can see same method in all your generated extensions , you have to make it specific .
Below line is specific to YourEntity class fetch request method
let fetchRequest: NSFetchRequest<**YourEntity**> = **YourEntity**.fetchRequest()