PDA

View Full Version : Pasteboard Monitor




coren2000
Jul 18, 2007, 11:19 AM
Hello, the Java Clipboard has a concept of adding "flavorlisteners" to inform of changes for a certain datatype. (see http://java.sun.com/j2se/1.5.0/docs/api/java/awt/datatransfer/Clipboard.html)

Is there a similar concept with the NSPasteboard in Cocoa/Obj-C?



kainjow
Jul 18, 2007, 01:47 PM
AFAIK, no. You will have to poll it periodically with NSTimer.