Skip to content

Instantly share code, notes, and snippets.

View cjlarsen's full-sized avatar
🍕
Working...

Chris Larsen cjlarsen

🍕
Working...
View GitHub Profile
SHELL := /bin/bash
PHONY: help
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
clean: ## Clean the project using cargo
cargo clean
build: ## Build the project using cargo
import Foundation
private class Localizer {
static let sharedInstance = Localizer()
lazy var localizableDictionary: NSDictionary! = {
if let path = Bundle.main.path(forResource: "Localizable", ofType: "plist") {
return NSDictionary(contentsOfFile: path)
}