Open markflowers opened 10 years ago
I'd like to work on making this one happen, just wanted to get feedback before I dive in.
I'm all for this. Best practices FTW. And yeah, the more we can mimic Xcode's behavior here, the better. Forewarning: This might get hairy, since it would be the one place where the directory structure doesn't match the group structure.
👍
.storyboard
,.xib
, andLocalizable.strings
files should be moved to be contained inside of aBase.lproj
folder so that adding additional localization is much easier in Xcode.This could be solved easily by directly changing the default template to use an
Base.lproj
instead of theNibs
andStoryboards
folders, and that would just be a user preference that anyone could make themselves in a custom template.However, I think the correct solution is to place the localizable files in the
Base.lproj
folder, but link them into the existing default template folders in Xcode (/Nibs
,/Storyboards
, etc ...). There should probably also be a default/Strings
folder with a defaultLocalizable.strings
file to nudge people in the correct direction with localization and string management.