Measuring View Visibility Percentage in SwiftUI Using PreferenceKeys

Hallo vrienden en vijanden, Leo hier. Today we will talk about PreferenceKeys in SwiftUI and how to use it to get how much of a percentage of a view is showing on the screen. If you are here just for SwiftUI content, you can skip the introduction. If you want the gossip, just continue reading. [ ]