Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Łukasz Śliwiński nonameplum

🏠
Working from home
View GitHub Profile
View ios_symbolication.sh
#!/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/
#
@nonameplum
nonameplum / Container.swift
Last active Jul 11, 2019
Very simple dependency container for swift
View Container.swift
import Foundation
public class Container {
//MARK:- Types
public enum ObjectLifeTime {
case persistent
case transient
}
private class Resolver {
let factory: (Container) -> Any