Mailing List webobjects-dev@wocommunity.org Message #223
From: OCsite <webobjects-dev@wocommunity.org>
Subject: change toString for some classes?
Date: Sun, 27 Jun 2021 15:41:32 +0200
To: <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
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster