Closed PacoPacoPakitor closed 3 years ago
add this extension to your project
extension String: SwiftyMenuDisplayable {
public var displayableValue: String {
return self
}
public var retrievableValue: Any {
return self
}
}
@PacoPacoPakitor as @rursache mentioned in the comment.
You have to make whatever type you want to add to SwiftyMeny
conform to SwiftyMenuDisplayable
.
Thank you
hi, when i tried the code as pic, but it's not work for me. can you help me?