• 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: Problem with NSDragPboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with NSDragPboard


  • Subject: Re: Problem with NSDragPboard
  • From: Jamie Phelps <email@hidden>
  • Date: Wed, 12 Mar 2008 20:47:30 -0500

Thanks to both of you guys. Chalk another one up for missing info from my textbook.

JP


On Mar 12, 2008, at 12:12 AM, Jens Alfke wrote:

You need to declare the type(s) on the pasteboard, before setting the data.

—Jens


On Mar 11, 2008, at 11:42 PM, Dave Hersey wrote:

The only thing I can see is that the docs say that you need to send the pasteboard the "types" or "availableTypeFromArray:" selectors before sending "stringForType:", so maybe you're getting screwy log results without that. Does it change if you add a [pb types]; before the last NSLog?

- d
_______________________________________________

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


References: 
 >Problem with NSDragPboard (From: Jamie Phelps <email@hidden>)
 >Re: Problem with NSDragPboard (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: performSelectorOnMainThread problem
  • Next by Date: Re: What is the status on the New Cocoa 2.0 Books?
  • Previous by thread: Re: Problem with NSDragPboard
  • Next by thread: Prevent click through (Tiger and Leopard)
  • Index(es):
    • Date
    • Thread