Function fruity::foundation::NSSelectorFromString
source · [−]Expand description
Returns the selector with a given name.
If the string cannot be converted to UTF-8 (this should be only due to
insufficient memory), this returns None
.
Use this function if you want your code to look more like Objective-C.
Otherwise, the to_selector
method should be preferred.
See documentation.