Implementing copy and paste is very straightforward with NSPasteBoard
. However, NSPasteBoard
doesn't seem to provide an obvious method to implement cut and paste. One strategy is to first copy then delete, but that only works for simply types such as strings or text but becomes ineffective when manipulating files. What's the best way to implement cut and paste in Cocoa?
0条回答
相关问题
- NSOutlineView drag line stuck + blue border
- iphone sdk see size of local file (one created
- How can you detect the connection and disconnectio
- QuickLook Plugin Failing with sandboxing error
- NSTextField font styling resets when selected
相关文章
- Converting (u)int64_t to NSNumbers
- “getter” keyword in @property declaration in Objec
- NSMenuItem KeyEquivalent “ ”(space) bug
- Detect if cursor is hidden on Mac OS X
- NSNumberFormatter doesn't allow typing decimal
- Is subclassing NSNotification the right route if I
- emacs terminal mode: how to copy and paste efficie
- Creating an NSMutableArray with a literal via muta