How to share NSManagedObjectContext to Custom NSViews
As the title suggests how would I share the NSManagedObjectContext/NSManagedObjectModel to a Custom NSView? I am trying to draw stuff based upon some of the information in the Core Data store.
The Apple Support Community will permanently close on November 20, 2026. Starting today, the site will no longer accept new posts and is available in a read-only state.
You can continue to find trusted guidance and support on the official Apple Support site.
We want to thank the community members who have contributed their time and expertise to help others with their Apple products.
The Apple Support Community will permanently close on November 20, 2026. Starting today, the site will no longer accept new posts and is available in a read-only state.
You can continue to find trusted guidance and support on the official Apple Support site.
We want to thank the community members who have contributed their time and expertise to help others with their Apple products.
As the title suggests how would I share the NSManagedObjectContext/NSManagedObjectModel to a Custom NSView? I am trying to draw stuff based upon some of the information in the Core Data store.
This may help: http://nachbaur.com/blog/smarter-core-data
The article is target to iOS, but the concepts apply to Mac as well.
Message was edited by: xnav
How to share NSManagedObjectContext to Custom NSViews