Comments (10)
I've implemented the new commit and it no longer crashes when loading the initial view controller. However the segue performs just as it did while using v1.1 of the floating panel.
I am very sorry to keep bothering you, I just don't know what I am doing wrong. Would it be possible to send you my project? If not, I completely understand. And I really do appreciate all the time you've already committed to this.
from floatingpanel.
Thank you for your report! You're right and this library has a problem on this case.
I'm trying to fix it now. Please wait for a little while longer.
from floatingpanel.
Could you try 'fix-show-segue-problem' branch referred by PR #21 ?
FloatingPanelController.show(_:sender)
causes this issue. After I changed the implementation at
0f60068 commit to keep the backward compatibility for v1.1.0, I think it's better to replace this method with FloatingPanelController.set(contentViewController:)
. The migration is easy through 2-time fixes of build errors.
What do you think of the change?
Thank you for your cooperation.
from floatingpanel.
I am getting a crash when I try to load the floating panel.
I'm sure that I've just done something wrong. Is the only code change that I need to make:
fpc.set(contentViewController: searchVC)
from floatingpanel.
Also, I tried adding another view controller to the map sample project and performing a segue using performSegue(withIdentifier: "pushVC", sender: nil)
it still adds the new view controller in the floating panel.
from floatingpanel.
Well, it should works only after you change your code like here
And I expect performSegue(withIdentifier:sender:)
works like here.
Could you find the difference between your codes and the above links?
from floatingpanel.
I am sorry, I am very new to iOS development. I'm just not understanding the sample project.
from floatingpanel.
I'm sorry too to confuse you. I've updated 'fix-show-segue-problem' branch. Now I hope it would work your 'pushVC' segue in your content view controller on the branch. You don't need to change from fpc.show(searchVC sender:nil)
to fpc.set(contentViewController: searchVC)
.
from floatingpanel.
Good news! Of course, could you send a email to me to share a dropbox link of your project ? My email address is in README.
from floatingpanel.
Sent, thank you!
from floatingpanel.
Related Issues (20)
- Dismiss action does not remove contentViewController? HOT 2
- I can't find version 2.8.0 in pod search
- Extend or override backdropview HOT 5
- cannot respond to the didSelectItemAt | didSelectRowAt method
- Change backdropAlpha for FloatingPanelLayout blocks parent ViewController
- Small Devices (iPhone SE) Library won't add space for grabber HOT 3
- Second floating panel doesn't update to width of landscape view HOT 3
- SWIFTUI supports
- Is it possible to disable attraction between anchors? HOT 1
- Any support of Privacy Manifest? HOT 2
- 【Fixed】iPhone SE 2nd scroll lock HOT 1
- [SwiftUI] UIViewControllerRepresentable HOT 1
- Adaptive Layout doesn't work with compositional layout of collection view HOT 4
- Tracking WebView is broken in iOS 17.4.x HOT 6
- SWIFTUI - scroll issue
- Strange scrolling behavior - all content of the FloatingPanel is scrolling HOT 4
- Release 2.8.2 presents error in Xcode 16 beta: 'CALayerCornerCurve' is only available in iOS 13.0 or newer HOT 2
- Crash in file Core.swift
- FloatingPanel is not able to be interacted with when added to a UIHostingController in Xcode 16 beta with iOS 18 beta.
- fatalError in method interruptibleAnimator HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from floatingpanel.