Skip to content

Instantly share code, notes, and snippets.

Boris Vinogradov mrcompoteee

  • Lviv
Block or report user

Report or block mrcompoteee

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mrcompoteee / RetainCycle.swift
Created Nov 19, 2018
Example of a simple retain cycle
View RetainCycle.swift
import Foundation
class A {
var child: B?
init() {
self.child = B(parent: self)
You can’t perform that action at this time.