Using Objective-C Blocks

后端 未结 3 1124
时光说笑
时光说笑 2020-12-13 20:56

Today I was experimenting with Objective-C\'s blocks so I thought I\'d be clever and add to NSArray a few functional-style collection methods that I\'ve seen in other langua

3条回答
  •  独厮守ぢ
    2020-12-13 21:08

    Looks like you're re-inventing High-Order Messaging. Marcel Weiher has done extensive work on HOM in Objective-C, which you can find here:

    http://www.metaobject.com/blog/labels/Higher%20Order%20Messaging.html

提交回复
热议问题