I'm trying to use FSCopyObjectAsync() to copy a file and get progress callbacks to update my UI. The last parameter (clientContext) gets passed on to the callback. Under ARC, I can not pass self because the parameter has a void* type. Using (__bridge void*)self silences the compiler warning but it results in EXC_BAD_ACCESS. Is there any way to pass an object for this parameter under ARC?_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com