Skip to content

Instantly share code, notes, and snippets.

@chanonly123
chanonly123 / SimpleObservable.swift
Created November 4, 2019 12:01
Simple and lite Observable protocol, with weak storage
//
// SimpleObserver.swift
//
// Created by Chandan Karmakar on 15/10/19.
// Copyright © 2019 Chandan Karmakar. All rights reserved.
//
import Foundation
fileprivate let rTargets = NSMapTable<AnyObject, AnyObject>(keyOptions: .weakMemory,
# force tag to another commit
git tag --force v1.0 <ID-of-commit-127>
# then force push
git push --force --tags
# pod cache clean all
pod cache clean --all
pod lib lint
pod spec lint