Hello, Im just porting some Objective-C code to MonoTouch but I got stuck here
UIColor *color = ARandomColor(); // ARandomColor Returns a Random UIColor ;)
@synchronized(self) {
[_annotationDict enumerateKeysAndObjectsUsingBlock:^(NSNumber *page,
NSArray *annotations, BOOL *stop) {
[annotations makeObjectsPerformSelector:@selector(setColor:)
withObject:color];
[self.providerDelegate updateAnnotations:annotations
originalAnnotations:nil animated:YES];
}];
}
What would be the MonoTouch Equivalent to @synchronized and
enumerateKeysAndObjectsUsingBlock?
You can find the StackOverflow question here
Alex_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch