Tuesday, November 17, 2020

Calling selectors using Dynamic library



let result = Dynamic(toolbar)            // Wrap the object with Dynamic
    .titleForItem("foo", withTag: "bar") // Call the method directly!


 https://github.com/mhdhejazi/Dynamic

https://github.com/mhdhejazi/Dynamic/blob/master/Tests/DynamicTests/DynamicTests.swift