• 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: Jens Alfke <email@hidden>
  • Date: Tue, 11 Mar 2008 22:12:56 -0700


On 11 Mar '08, at 8:13 PM, Jamie Phelps wrote:

   // Copy string data to the pasteboard.
   [pb setString:self.string
         forType:NSStringPboardType];

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


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • Re: Problem with NSDragPboard
      • From: Jamie Phelps <email@hidden>
References: 
 >Problem with NSDragPboard (From: Jamie Phelps <email@hidden>)

  • Prev by Date: Re: Prevent click through (Tiger and Leopard)
  • Next by Date: Re: warning: assignment from distinct Objective-C type
  • Previous by thread: Re: Problem with NSDragPboard
  • Next by thread: Re: Problem with NSDragPboard
  • Index(es):
    • Date
    • Thread