Closed a-v-ebrahimi closed 6 years ago
let selectionMenu = RSSelectionMenu(dataSource: simpleDataArray) { (cell, object, indexPath) in cell.textLabel?.text = object }
When I try to create a menu using code above, compiler give this error:
Have you tried with latest pod version 2.0.8?
If you're using swift4 project and installing RSSelectionMenu then please follow following steps.
Cheers.
let selectionMenu = RSSelectionMenu(dataSource: simpleDataArray) { (cell, object, indexPath) in cell.textLabel?.text = object }
When I try to create a menu using code above, compiler give this error: