Objective-C Block type as return value -


how write following:

typedef void (^t)(void); t f() {     return ^{}; } 

without typedef?

void (^f())(void) {    return ^{}; } 

you'd better keep typedef return type not easy understand in form.


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

php - Improving script execution time -

How to provide Authorization & Authentication using Asp.net, C#? -