aboutsummaryrefslogtreecommitdiffstats
path: root/Drop Serve/AppDelegate.m
AgeCommit message (Collapse)Author
2020-10-17Add license (GNU GPLv3+)Teddy Wing
2020-10-13AppDelegate.m: Terminate after window is closedTeddy Wing
The application only has one window, and it doesn't really work if that window is closed. Also remove the unused `applicationDidFinishLaunching:` delegate method.
2020-10-11Retab filesTeddy Wing
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.
2020-10-10Start a Python SimpleHTTPServer in dropped file directoryTeddy Wing
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.
2020-10-10Add drag and drop areaTeddy Wing
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
2020-10-10New Xcode 4.5.2 projectTeddy Wing