Hello,I am trying to build an app using tableView with two columns (one displaying strings, the other one a CheckBox for each string).The strings are coming from a [AnyObject] variable.I have try so many things to insert the result of [AnyObject] into the NsMutableDictionnary (which is used by NsTableView) but none of them works.I have to build the dic manually with the right number of object (related to the result of [AnyObject]) to make it work but I would like the dic to build itself automatically.Here is an exemple of the code, working if [AnyObject] is made with 4 elements. The TableView column names are jobs and unload :import Cocoa@NSApplicationMainclass AppDelegate: NSObject, NSApplicationDelegate,NSTableViewDataSource,NSTableViewDelegate {@IBOutlet weak var window: NSWindow!@IBOutlet weak var myTableView: NSTableView!var dataArray:[NSMutableDictionary] = [[jobs: , unload: 0],[jobs: , unload: 0],[jobs: , unload: 0],[jobs: , unload: 0]];func applicationDidFinishLaunching(aNotification
3
0
1.6k