nerdsupremacist / fancyscrollview Goto Github PK
View Code? Open in Web Editor NEWA SwiftUI ScrollView Designed to imitate the App Store and Apple Music ScrollViews (with or without a Parallax Header)
License: MIT License
A SwiftUI ScrollView Designed to imitate the App Store and Apple Music ScrollViews (with or without a Parallax Header)
License: MIT License
Hello! Thanks for the great work!
Just one tiny issue: Could you have the title property be a text view instead of a string? So we can use custom font style.
Let me know
Hello. Thanks for making this handy library. I've noticed that on modern iOS versions the swipe back functionality is broken despite the fact that an old fix is in place. Luckily, I found a solution by implementing the following extension.
extension UINavigationController {
override open func viewDidLoad() {
super.viewDidLoad()
interactivePopGestureRecognizer?.delegate = nil
}
}
That's it! View+hideNavigationBarWithoutLosingSwipeBack.swift
and View+hideNavigationBarWithoutLosingSwipeBack.swift
are no longer required using this method.
If you wish I could open a pull request. Regardless I hope this may be useful to someone in the future.
Hi, great work, really!!
Just two questions: I've been going through the code and wanted to ask how do you change the blur effect? I'm not talking about the ultraThinMaterial which is fine but I think the issue comes with the opacity, that makes the blur less effective.
Also it seems like the blur effect appears with a delay (for example if you scroll very fast at the start). How can I change that?
Thanks.
Is it possible to disable the scroll indicators with this library?
If the next is too long for the existing view we get the ...
and the text doesn't wrap.
When FancyScrollView is used in a view that is reached through a NavigationLink, it is not possible to pan from the left screen edge to navigate back.
Minimal example:
import SwiftUI
import FancyScrollView
struct ContentView: View {
var body: some View {
NavigationView {
NavigationLink("Foo", destination: ChildView())
}
}
}
struct ChildView: View {
var body: some View {
FancyScrollView {
Text("Bar")
}
}
}
Steps to reproduce:
Version information:
FancyScrollView 0.1.2
iOS 13.6 (17G5045c)
Is it somehow possible to add custom buttons to the navigation bar, like one would normally do with the .navigationBarItems() method? I really love this library but this seems like something that could be very useful.
Can you add this design?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.