メーリングリスト webobjects-dev@wocommunity.org メッセージ #223
差出人: OCsite <webobjects-dev@wocommunity.org>
件名: change toString for some classes?
日付: Sun, 27 Jun 2021 15:41:32 +0200
宛先: <webobjects-dev@wocommunity.org>
Hi there,

is there some Wonder (or NS- or Java-level) trick to “override” (for the original class; in ObjC I would simply swizzle the method) toString for some classes? Namely, in my current application, I would need that

- NSTimestamps always return millis
- NSData never return contents, just length.

Thanks!
OC
リストを購読 ダイジェストを購読 インデックスを購読 購読停止 メーリングリスト管理者に送信