CoreData - How to monitor progress during long fetch ?

  • Hi,

    PROBLEM : I am writing a CoreData app. When the app launches, about
    1500 instances of the same entity are created in order to populate an
    NSTableView (using bindings). It takes a lot of time (about 5
    seconds) to load data into the table view. During the process, UI is
    frozen. So bad user experience ! How can I monitor the fetch process
    in order to display some kind of a progress indicator ?

    I searched CoreData API but did not find any clue except
    awakeFromFetch:. Any better solution ?

    Thanks

    Mickaël Remars - mailto:<mremars...>
    Architecte des systèmes d'information
    NOZICAA (Groupe SIGIRE) - http://www.nozicaa.com
    20 rue de Sardaigne - Z.A. du Danemark - 72100 LE MANS
    Tel: +33 (0) 243 82 97 97
    Fax: +33 (0) 243 82 75 75
previous month september 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Go to today