In a swift project, i’m using some objective c class files. from these files i need to call AppDelegate.swift file to access to pesistentContainer. but Xcode give me this error. How can I fix it?
@rufy Thanks very much for your question!
It seems that you haven’t declared a property called “persistentContainer” in your AppDelegate class.
I hope this helps!
All the best!
@syedfa I’m sorry but it’s not correct. when you create a project that use Core Data, that variable is automatically created. there is one note: it’s lazy.
there are anyone can give an solution of this problem?
This topic was automatically closed after 166 days. New replies are no longer allowed.