Skip to content

Instantly share code, notes, and snippets.

View AncAinu's full-sized avatar
👨‍💻
Working in stealth mode

Tancrède Chazallet AncAinu

👨‍💻
Working in stealth mode
View GitHub Profile
@AncAinu
AncAinu / Injector.swift
Last active July 24, 2018 11:13
Dependency injector for MVVM architectures in swift
//
// Injector.swift
//
// Created by Tancrède Chazallet on 11/07/2018.
// Copyright © 2018 BitBuildr Ltd. MIT Licence, feel free to use.
//
import Foundation
class Injector {
@AncAinu
AncAinu / PhoneGapLocalBuildIconsSplashs.md
Last active August 29, 2015 14:01 — forked from LinusU/README.md
Forked from LinusU and fixed. Icons and Splash images for your Cordova project. (with iOS 7 support)

Usage

Even if it's present in config.xml, your icons won't be set automatically in your phonegap android/ios app, unless you use the cloud service PhoneGap Builder of Adobe. For many reason you would not want to. Here is this script which allow you to solve the issue with some little efforts and without need to change generated content in your /platforms/ directory.

Install cordova into node_modules

npm install cordova