I'm currently tackling a function related to the native elements of iOS that is coded in Objective-C,
My goal is to create a method that will output a string in Objective-C,
However, I've hit a roadblock while trying to implement this method:
The Objective-C method selector is expected
,
Here's the snippet of my code:
RCT_EXPORT_METHOD((NSString *)getName)
{
return "Sammeme";
}
@end
If there's anyone out there with experience in iOS development who could offer some guidance on solving this issue, I would greatly appreciate it.
Thank you!