Skip to content

Instantly share code, notes, and snippets.

View nonameplum's full-sized avatar
🏠
Working from home

Łukasz Śliwiński nonameplum

🏠
Working from home
View GitHub Profile
@nonameplum
nonameplum / Container.swift
Last active July 11, 2019 19:08
Very simple dependency container for swift
import Foundation
public class Container {
//MARK:- Types
public enum ObjectLifeTime {
case persistent
case transient
}
private class Resolver {
let factory: (Container) -> Any
#!/bin/bash
#
# Fool'n'Lazy-Proof iOS .crash Symbolication
#
# Just run this script on a folder with your `.ipa`, the corresponding `.dSYM`,
# and (1+) `.crash` files. Will output symbolicated `sym-*.crash`es for you.
#
# Copyright (c) 2016 Ferran Poveda (@fbeeper)
# Provided under MIT License (MIT): http://choosealicense.com/licenses/mit/
#