Cocoa, the development of Words, and other software projects (including those dang assessment tasks).
Turns out my sneakly little plan to squeeze information back through
the managedObjects attributes into the main thread is working out. I
AM using a NSMutableDictionary and NSArchiver in the thread, but the
other thread isn't actually working on the objects I create with
those classes, so I'm hoping that will be ok?
I create a dashboard for each word, then archive it up and pop it in
the dashboardData attribute in the managedObject, which has been
passed to the thread through the communications port set up when the
worker thread is instantiated.
The information seems to get though the thread wall ok. My next job
is to unarchive it on the other side and put it where it belongs, as
blob managedObjects in the managedObjectContext proper.
0 Responses to “Threading Issues”
Leave a Reply