Binding a View-Based NSTableview to NSArrayController in Swift 4
У вашего броузера проблема в совместимости с HTML5
This video demonstrates how to set up an NSArrayController with your NSTableView. This is only for a Cocoa (Mac app), and uses Xcode 9.2 and Swift 4.
I spent a lot of time wondering why I couldn't get my bindings to work, so I'm sharing what I discovered. This solution does not use Core Data, so its easily accessible for the new programmer or programmer new to Cocoa programming.
You can download the sample code from GitHub at:
https://github.com/ericrosko/View-based-nstableview-binding-sample-code
In case the GitHub link isn't working, my username on GitHub is "ericrosko" and you'll find it there.
You can follow me at:
https://twitter.com/ericrosko
Versions used in this video:
Swift 4
Xcode Version 9.2 (9C40b)
If you are doing bindings and seeing these errors, then this video might be for you!:
Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
or
Thread 1: signal SIGABRT