<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1487260481872_4944">Hello,</div><div id="yui_3_16_0_ym19_1_1487260481872_4944"><br></div><div id="yui_3_16_0_ym19_1_1487260481872_4944">Using the Apple core audio I come to this problem:&nbsp;</div><div id="yui_3_16_0_ym19_1_1487260481872_4944">I have to implement a callback method that is called by the API. As a variable I get a class with void * member. I have to allocate some object in memory and assign this void* member to point to it.</div><div id="yui_3_16_0_ym19_1_1487260481872_4944">How can I do this in SWIFT?</div><div id="yui_3_16_0_ym19_1_1487260481872_4944"><br></div><div id="yui_3_16_0_ym19_1_1487260481872_4944"><br></div><div id="yui_3_16_0_ym19_1_1487260481872_4944">Regards,</div><div id="yui_3_16_0_ym19_1_1487260481872_4944">Alex</div></div></body></html>