• 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
[Q] How will the Pasteboard manager be changed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Q] How will the Pasteboard manager be changed?


  • Subject: [Q] How will the Pasteboard manager be changed?
  • From: JongAm Park <email@hidden>
  • Date: Fri, 19 Dec 2008 14:39:45 -0800

Hello.

I'm implementing some logic to enable drag from my application's NSTableView and drop on the Final Cut Pro's project.
I found out that it was not possible with NSFilenamesPboardType. When I compared it a drag&drop from the Finder to the FCP, the one between the Finder and the FCP contained "fURL" and "hfs" flavors and its hfs flavor data showed that the dragged item was a QuickTime movie, while the one between from my program and the Finder contained same kind of data but its "hfs" flavor didn't show that it was a QuickTime movie.
So, I tried using NSCreateFilenamePboardType( @"mov" ) and NSCreateFilenamePboardType( (NSString *)kUTTypeQuickTimeMovie ); but they didn't allow the drag&drop. Although the default NSFilenamesPboardType generates "fURL" and "hfs" flavor, the one from NSCreateFilenamePboardType() doesn't generate them.
So, I started thinking that mechanism using NSCreateFilenamePboardType() is on its way to death.


So, I read Apple's document further, and found out that the Carbon's pasteboard manager dropped many functions like something related to flavors.
Almost all functions are deprecated, and it gave me feeling that probably the Carbon's pasteboard manager would work like that of Cocoa.
(Well, eventually Carbon would die, but.. at least 64bit support on the Carbon and GUI support look so. )
So, I wonder if I really give up drag&drop from my application and the FCP.
The FCP looks like a Carbon app. So, I may need to write carbon code to put "hfs" flavor. But I doubt if it is worth while to doing so.


So, can anyone tell me how the Carbon's pasteboard manager will change, and why Cocoa's pasteboard manager doesn't reveal some methods which handles flavors easily? Probably flavors are being deprecated also? ( Although there should be some similar mechanism.. )

I will appreciate any comment.
Thank you.
_______________________________________________

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: [Q] How will the Pasteboard manager be changed?
      • From: Jim Correia <email@hidden>
  • Prev by Date: Re: Determining width of a cell in an NSOutlineView
  • Next by Date: Re: [Q] How will the Pasteboard manager be changed?
  • Previous by thread: Re: Determining width of a cell in an NSOutlineView
  • Next by thread: Re: [Q] How will the Pasteboard manager be changed?
  • Index(es):
    • Date
    • Thread