Вопрос

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.

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top