문제

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