Non-retaining array for delegates

后端 未结 10 1389
感动是毒
感动是毒 2020-11-29 18:41

In a Cocoa Touch project, I need a specific class to have not only a single delegate object, but many of them.

It looks like I should create an NSArray for these del

10条回答
  •  情歌与酒
    2020-11-29 19:19

    What about storing in the array or dictionary

    __weak typeof(pointer) weakPointer = pointer;
    

提交回复
热议问题