Reordering table views with drag and drop
macOS has excellent support for drag and drop. Here’s how to allow a user to reorder an NSTableView.
Swift is a general purpose language for application, server-side and command line development. Swift drops the baggage and byzantine syntax of Objective-C and can be faster for beginners to learn.
Swift combines many ideas from Rust, Haskell, Objective-C and JavaScript.
macOS has excellent support for drag and drop. Here’s how to allow a user to reorder an NSTableView.
Finder on macOS has an ingenious color tag selector in the context menu. Find out how to make this and other custom views inside an NSMenu.
Using Xcode Playgrounds makes testing UI elements easy and fast. It’s not obvious how to add an NSTableView without using a NIB – here’s how to create a table view programatically.