Hello,
I have an app using NSUrlConnection to connect to the internet and to get some data (XML). When the connection is done I parse the data. In the method parserDidEndDocument I fill a mapView with the data. It works fine. The problem is only that I want to block a segmentedController util the map has its annotations in place. I have set sementedControl.enable = YES at the end of the parser delegate method and have realized this is to sone. The annotations are put on the map (grapically) a bit later. So my question is - where am I after the parser is done? Can I call some delegate method for the view, the map...in order to keep my segmentedControl blocked till the map really is done??
Any ideas?
MACloop
I have an app using NSUrlConnection to connect to the internet and to get some data (XML). When the connection is done I parse the data. In the method parserDidEndDocument I fill a mapView with the data. It works fine. The problem is only that I want to block a segmentedController util the map has its annotations in place. I have set sementedControl.enable = YES at the end of the parser delegate method and have realized this is to sone. The annotations are put on the map (grapically) a bit later. So my question is - where am I after the parser is done? Can I call some delegate method for the view, the map...in order to keep my segmentedControl blocked till the map really is done??
Any ideas?
MACloop