Force refresh on another ViewController component with swift
问题 I'm trying to pass a trigger between 2 view controller but i can't find something that works ... I have the main controller with a NSTableView, source linked, View Base. main Controller class : class ViewController: NSViewController { I have an array defined in Global variables. on the viewDidLoad i add 2 elements in my array, then i use setDelegate and setDataSource. It works fine. myLib.myCoins = fillCoinsTable() print ("My lib has \(myLib.myCoins.count) objects ") mainCoinTable.setDelegate