- Description of what's the pr about.
- Why is this created? Is it a fix for a bug or a new feature?
| import Foundation | |
| typealias LanguageCode = String | |
| extension LanguageCode { | |
| var bundle: Bundle { | |
| let path = Bundle.main.path(forResource: self, ofType: "lproj") ?? | |
| Bundle.main.path(forResource: "Base", ofType: "lproj") | |
| return path.map { Bundle(path: $0) ?? .main } ?? .main |
| // Staging.xcconfig | |
| // API URL | |
| API_BASE_URL = http:/$()/my-less-cool-staging-url.com | |
| // API Key | |
| API_KEY = my_super_secret_staging_api_key | |
| // Backward Compatible Values | |
| IS_PRODUCTION = NO |
| namespace SolidVendingMachine | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| Console.WriteLine("Hello World!"); | |
| } | |
| } | |
| } |