Skip to content

Instantly share code, notes, and snippets.

@alperdincer
Created May 30, 2013 12:28
Show Gist options
  • Save alperdincer/5677483 to your computer and use it in GitHub Desktop.
Save alperdincer/5677483 to your computer and use it in GitHub Desktop.
Return BBOX proxy
-(NSDictionary*)showBBOX:(id)arg
{
ENSURE_SINGLE_ARG(arg,NSObject);
__block NSDictionary *myDict;
TiThreadPerformOnMainThread(^{
//myDict = [(ComMekansalGmapiosView*)[self view] showBBOX];
_globalDict = [(ComMekansalGmapiosView*)[self view] showBBOX];
//NSLog(@"myDict : %@", [myDict description]);
NSLog(@"myDict : %@", [_globalDict description]);
}, YES);
NSLog(@"myDict 2 : %@", [_globalDict description]);
return _globalDict;
//return myDict;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment