Open Shulepov opened 9 years ago
Apple did a great talk on this at WWDC 2015 called Swift in practise.
Thanks, this is valid feature request, I'd like to have it. I'll work on that after transition to Swift 2.0
@CallumOz As seen on tv ;-)
@krzyzanowskim was thinking of starting to look at help out on some of this, looking at the binary invocation, do you have thoughts on what it might look like in terms of invoking the API
hey, great! I don't have any preferences in that regard. Feel free to propose something. I'm looking forward to merge it!
I'm not sure that this functionality should be placed directly inside Natalie, may be should be created a different tool.
Generating identifiers for storyboards stuff definitely is a good step :) But there are also quite a lot of magic strings in the project - for localizable strings (NSLocalizedString("Hello", ...)) or for images UIImage(named: "Logo"), and other files in the bundle.
So, may be also can be generated analogue of R file on android. So, for strings and images can be generated something like:
And for convenience: