I have a view controller that can extract many different types of objects from my MOC. How can I determine if an object is for an object of type NSManagedObject?
[managedObject entity] will provide you with NSEntityDescription . From there, you can send it -name to get the name of the object, which will be more convenient for the user.
[managedObject entity]
NSEntityDescription
-name
Method call.
Source: https://habr.com/ru/post/1306438/More articles:Gnu Emacs in the fingerprint of my typedef - cThe domain service method does not compile; claims "Return types must be an entity ..." - wcf-ria-servicesHow to properly transfer TCP traffic between sockets? - pythonDjango post_save signal behaves strangely with models using multiple table inheritance - djangoProblem executing python executable - pythonWhen does Visual Studio call the target AfterBuild & BeforeBuild? And how is it handled when these goals are not defined? - visual-studioCan I develop iPhone applications with Java? - javaHow to find out if two exe are the same by code? - c ++The difference between a list and an enumeration - javaCommunication between OPC and DCOM - dcomAll Articles