iOSDev
iOSDev

Reputation: 1028

How to drag image into Mac app?

I'm building a Mac app. I want to be able to drag an image into my app and then press a button to resize the image into a smaller dimension. Then, I will export the image back to the original folder it came from. (Similar to the app Prepo)

Upvotes: 0

Views: 754

Answers (1)

Parag Bafna
Parag Bafna

Reputation: 22930

Take a look at Drag and Drop Programming Topics.

Cocoa gives you the ability to implement sophisticated drag-and-drop capabilities both within your application and between applications. This programming topic describes how you can implement drag-and-drop with just a few methods.

Upvotes: 2

Related Questions