Re: CoreData headaches

2016-10-27 Thread Dave Fernandes
The managed objects exist in a MOC whether you have a reference to that MOC or not. You can get a reference to the MOC that an MO “belongs to" from the -[NSManagedObject managedObjectContext] instance method. Since the properties you need are so few and simple, why don’t you just pass these in t

Re: CoreData headaches

2016-10-27 Thread Steve Mills
On Oct 27, 2016, at 22:49:15, Dave Fernandes wrote: > > But what managed object are you dealing with? Is the Asset a managed object? > If so, you can only access its properties from the queue of its managed > object context. So if it is a main queue context, you can only access the > MO’s prop

Re: CoreData headaches

2016-10-27 Thread Dave Fernandes
But what managed object are you dealing with? Is the Asset a managed object? If so, you can only access its properties from the queue of its managed object context. So if it is a main queue context, you can only access the MO’s properties from the main queue. If it is a private queue context, yo

Re: CoreData headaches

2016-10-27 Thread Steve Mills
On Oct 27, 2016, at 19:00:14, Dave Fernandes wrote: > > Are you accessing the properties from within a > NSManagedObjectContext.performBlock block? Sounds like you may be accessing > the managed objects from the wrong queue. I'll explain what's going on. Each NSCollectionViewItem in the NSColl

Re: CoreData headaches

2016-10-27 Thread Dave Fernandes
> On Oct 27, 2016, at 5:24 PM, Steve Mills wrote: > > I have an app that uses CoreData to store document data, and an > IKImageBrowserView to display the items in the CoreData. Finding that > IKImageBrowserView is being deprecated, and since Xcode 8 causes a goofy > scrolling bug that the use

CoreData headaches

2016-10-27 Thread Steve Mills
I have an app that uses CoreData to store document data, and an IKImageBrowserView to display the items in the CoreData. Finding that IKImageBrowserView is being deprecated, and since Xcode 8 causes a goofy scrolling bug that the user can't work around, I decided to move away from IKImageBrowse

Re: Traceback from [SFLList removeItem:]

2016-10-27 Thread Quincey Morris
On Oct 26, 2016, at 22:19 , John Brownie wrote: > > Well, when you live in the tropics, you do look forward to cool weather! But > seriously, it's necessary to see family and supporters from time to time. > Having grown up in Australia, snow is still pretty exciting, though less so > for my wi

Re: View Confusions

2016-10-27 Thread Quincey Morris
On Oct 26, 2016, at 20:15 , Kevin W Pitcher wrote: > > NSDocument loads fine but in the NSWindowController windowDidLoad > self.document is NULL > Where and when can I get at my document data to pass it onto the > NSTabViewController and it’s NSViewController for Binding? One possibility that