This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //! Sometimes it's handy to be able to temporarily swap over NSAttributedString with | |
| //! something you can instrument. Since NSAttributedString is part of a class cluster | |
| //! it can't easily be sub-classed. | |
| //! | |
| //! This class wraps it with composition and re-implements the public (at time of writing) | |
| //! NSAttributedString API by passing through calls to the NSAttributedString component. | |
| //! | |
| //! Add instrumentation for your purposes and use at your own risk! | |
| //! | |
| @interface NSAttributedStringWrapper : NSAttributedString |