Skip to content

Instantly share code, notes, and snippets.

@alextrob
alextrob / AppDelegate.swift
Last active Feb 16, 2017
Swift: Memory leak when storing enum in class
View AppDelegate.swift
//
// AppDelegate.swift
// LeakCheck
//
// Created by Alex Robinson on 15/2/17.
// Copyright © 2017 Alex Robinson. All rights reserved.
//
import UIKit
View SmoothAnchors_usage.html
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="SmoothAnchors.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$().SmoothAnchors();
});
</script>
You can’t perform that action at this time.