PullToRefreshKit | 【Deprecated】Pull to refresh in Swift to use | RecyclerView library
kandi X-RAY | PullToRefreshKit Summary
kandi X-RAY | PullToRefreshKit Summary
【Deprecated】Pull to refresh in Swift, easy to use, easy to customize(下拉刷新/QQ/淘宝/优酷/雅虎天气/大众点评)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of PullToRefreshKit
PullToRefreshKit Key Features
PullToRefreshKit Examples and Code Snippets
Community Discussions
Trending Discussions on PullToRefreshKit
QUESTION
I am trying to debug a pretty difficult problem and I cannot get to the bottom of it, so I was wondering if anyone could share some suggestions.
I have a TableView that transitions to a different VC when didSelectRowAt is called, and while the tap is registered immediately, something in the background is causing the new VC to only be presented as much as 5 seconds later and I cannot figure out what is causing this.
What I tried so far: - moving the iCloud tasks to the global thread - commenting out the entirety of the iCloud functions and saving data locally - disabling the Hero pod and using a built in segue with or without an animation - commenting out the tableview.reloadData() calls - commenting out everything in viewDidAppear - running this on both iOS12 and iOS13 GM, so it's not an OS issue - profiling the app, where I couldn't see anything out of the ordinary, but then again I am not very familiar with the profiler
I apologise for the long code dump but since I'm not sure what is causing this, I want to provide as much detail as I can.
Thanks a lot for any insights you might be able to share.
The main class
...ANSWER
Answered 2019-Sep-12 at 02:16Normally if I cannot figure out what is causing the problem, I would perform "binary search" style debugging.
You mentioned that you have commented out the whole of viewDidAppear, but I am assuming you have not tried that with viewDidLoad.
In this case, I will comment out all the code in viewDidLoad, run it and see if the delay is still around.
If the delay is gone, I will comment out half the code in viewDidLoad, rerun. Generally, once I found the half that causes the delay, I would comment out half of that "bad" code and repeat until I find the exact lines causing the problem.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install PullToRefreshKit
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page