| Age | Commit message (Collapse) | Author |
|
|
|
Forgot to return here to exit when more than one file is dragged onto
the drop zone.
|
|
Use consistent indentation. Looks like I've been using tabs here, so
change everything to tabs. Some code was generated at the start of the
project, or I copied it from Apple reference documents, or it was
inserted from an Xcode snippet.
|
|
There's a noticeable delay with one second.
|
|
Saw during testing that the browser could try to load the page before
the server had started up.
|
|
|
|
Indicate that the server is running. Show what path it's serving from ,
what URL it's serving on, and a button to stop the server.
|
|
When a file or directory is dropped on the drop zone, start a Python
SimpleHTTPServer from that directory.
Ensure the server is terminated when the Drop Serve application quits.
|
|
|
|
|
|
Show an error message in a label in the drop zone if more than one is
dropped.
|
|
|
|
Allow dragging and dropping files.
Based on:
- https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/DragandDrop/Tasks/acceptingdrags.html#//apple_ref/doc/uid/20000993-BABHHIHC
- https://developer.apple.com/library/archive/samplecode/CocoaDragAndDrop/Introduction/Intro.html#//apple_ref/doc/uid/DTS10000384-Intro-DontLinkElementID_2
|