Re: Saving NSManagedObject in Core-Data

2008-04-01 Thread Felix Franz
On 01.04.2008, at 02:03, malcom wrote: This is what I've made (suppose you receive a data from a multithreaded socket). 1) You receive the packet 2) Put it into a temp array 3) When you reach a number x of messages you can call the save function The save function repeats these statements f

Saving NSManagedObject in Core-Data

2008-03-31 Thread malcom
Hello to all! What's the correct way in Core Data to save a stream of data? This is the problem. Suppose to have lots of packets each of these can be linked to a parent and could have one or more childrens. You can receive these packets ordered (so you can receive the parent of message only in a me