4 ms·
Anyone knows of a safe way to use Selector in Swift. I am not a fan of using string though.
by namelezz 11y ago
Anyone knows of a safe way to use Selector in Swift. I am not a fan of using string though.
- tl 11y agoI've been experimenting with python scripts in my build process to create structs of static strings for Apple APIs that require strings (ex: Storyboard filenames/identifiers, Core Data entity/properties, Image filenames) for compile time safety. I haven't done selectors yet partially because I use relatively few of them and partially because parsing code is slightly harder than file system walks and xml parsing.