I just declared an entity called \"Users\" array:
var UsersArray = [Users]()
I got this error:
use of unresolved id
Please try this solutions !!
Solution 1 :- Product->Buld for testing solved this issue for me(it solves most unresolved identifier bugs for some strange reason)
Solution 2 :- changing import Foundation to import UIKit. It seems like UIApplication isn't included in Foundation framework.
Solution 3 :- Highlight the Data Model, go to Editor -> Create NSManagedObject Subclass...
Hope this helps thank you..