Re: Doc bug for NSAttributedString pasteboard read/write
Re: Doc bug for NSAttributedString pasteboard read/write
- Subject: Re: Doc bug for NSAttributedString pasteboard read/write
- From: Kyle Sluder <email@hidden>
- Date: Fri, 06 Sep 2013 11:33:22 -0700
On Fri, Sep 6, 2013, at 11:20 AM, Gordon Apple wrote:
> The docs for NSPasteboardReading/Writing still claim that
> NSAttributedString
> conforms. However, I can find no evidence of such in the refs, headers,
> or
> additions for NSAttributedString . Is it is, or is it ainĀ¹t.
Python 2.7.2 (default, Oct 11 2012, 20:14:37)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on
darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import Foundation
>>> import objc
>>> import AppKit
>>> objc.protocolNamed("NSPasteboardWriting")
<objc.formal_protocol NSPasteboardWriting at 0x10ead2af8>
>>> NSPBR = _
>>> Foundation.NSAttributedString.conformsToProtocol_(NSPBR)
True
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden