搜尋

首頁  >  問答  >  主體

ios - NSValueTransformer是什么?怎么用?

NSValueTransformer is an abstract class that is used by the Cocoa Bindings technology to transform values from one representation to another.

An application creates a subclass of NSValueTransformer, overriding the necessary methods to provide the required custom transformation.

PHPzPHPz2767 天前301

全部回覆(1)我來回復

  • PHPz

    PHPz2017-04-17 15:22:31

    可以參考 NSHipster 中 NSValueTransformer 這篇文章

    回覆
    0
  • 取消回覆