• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: pasteboard issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pasteboard issues


  • Subject: Re: pasteboard issues
  • From: Uli Kusterer <email@hidden>
  • Date: Sun, 11 Feb 2007 20:34:19 +0100

Am 11.02.2007 um 19:24 schrieb Brian Amerige:
Like I said before, NSFilenamesPboardType sets nicely, and I can read the array of paths (which are indeed PB-compatible) from the propertylist. The problem is, by custom PBoard doesn't. I was under the assumption that custom PBoard types were open to a multitude of object-types --- is this correct?

Well, the type is. However, setPropertyList:forType: still requires a valid plist. If you want to archive non-plist objects, you'll have to use NSKeyedArchiver to archive them into NSData and then put that on the pasteboard, or use some othe pasteboard method.


Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Follow-Ups:
    • Re: pasteboard issues
      • From: Brian Amerige <email@hidden>
References: 
 >pasteboard issues (From: Brian Amerige <email@hidden>)
 >Re: pasteboard issues (From: mmalc crawford <email@hidden>)
 >Re: pasteboard issues (From: Brian Amerige <email@hidden>)

  • Prev by Date: Re: Very strange Cocoa application issue.
  • Next by Date: Re: Very strange Cocoa application issue.
  • Previous by thread: Re: pasteboard issues
  • Next by thread: Re: pasteboard issues
  • Index(es):
    • Date
    • Thread