You can do this with the streaming parser API. Or just do the parsing on a background thread and notify the main thread when done. GCD is your friend there.
SBJSON, check if data is done loading
-
10-12-2021 - |
Frage
I am using SBJSON to parse data, and I want to know if there is a method to notify when the data is done loading/retrieving.
For example, when I launch the app, I want to show a splash screen when I am parsing data, and when its done, I want to show a new view.
I am building an app for ios 4 and up.
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow