When I’m reading the apple iOS Developer Guide, it explains me a bit about using Blocks (For use with GCD). It should pass some “snippit of code” into a objective-c object, and pass it to the other thread so it can be executed there. Wouldn’t make the use of this exremely vulnarible to viruses and such? (data execution). Or am I missing some point here?
Share
No – you can think of this ‘code snippet’ as a compiled, private, hidden function declared within your function (method…). IOW, it’s as dangerous as any compiled function in your binary.