This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// AppDelegate.swift | |
// LeakCheck | |
// | |
// Created by Alex Robinson on 15/2/17. | |
// Copyright © 2017 Alex Robinson. All rights reserved. | |
// | |
import UIKit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import SwiftUI | |
extension ScrollView { | |
/// Workaround for large titles flickering on collapse. Not applied for iOS 15+. | |
/// Based on https://stackoverflow.com/a/67270977/99714 but avoids a questionable API by using a concrete type. | |
func largeTitleFlickerWorkaround() -> some View { | |
Group { | |
if #available(iOS 15.0, *) { |