I have an NSString containing the name of a selector I would like to call with performSelector. How can I get a reference to the selector from the string?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- C# how to invoke a field initializer using reflect
- back button text does not change
- iOS (objective-c) compression_decode_buffer() retu
相关文章
- 现在使用swift开发ios应用好还是swift?
- TCC __TCCAccessRequest_block_invoke
- xcode 4 garbage collection removed?
- Unable to process app at this time due to a genera
- How can I add media attachments to my push notific
- Are GetCallingAssembly() and GetExecutingAssembly(
- didBeginContact:(SKPhysicsContact *)contact not in
- Custom Marker performance iOS, crash with result “
Could use NSSelectorFromString.
Probably inefficient as parameterizing a SEL is preferred.
NSSelectorFromString(name)