> On another note, I don't know why this is having trouble:
>
>     dispatch_apply(4950,
>                    dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH,
> 0),
>                    ^(size_t idx) {  <--- error
>     });
> Incompatible block pointer types passing 'int (^)(size_t)' to parameter of
> type 'void (^)(size_t)'

My bad. I had an inadvertent 'return 0' in the block. Gotta learn to
translate Xcodese!
-Carl


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to