Skip to content

Instantly share code, notes, and snippets.

@wassim93
wassim93 / airports.json
Created December 16, 2021 20:58 — forked from tdreyno/airports.json
JSON data for airports and their locations
This file has been truncated, but you can view the full file.
[
{
"code": "AAA",
"lat": "-17.3595",
"lon": "-145.494",
"name": "Anaa Airport",
"city": "Anaa",
"state": "Tuamotu-Gambier",
"country": "French Polynesia",
@wassim93
wassim93 / String+Localization.swift
Created February 20, 2020 15:55 — forked from Juanpe/String+Localization.swift
String extension to localize more easy way
extension String {
var localized: String {
return NSLocalizedString(self, comment: "\(self)_comment")
}
func localized(_ args: [CVarArg]) -> String {
return localized(args)
}