AMTabView | AMTabView is a custom tab bar with amazing animation | Animation library
kandi X-RAY | AMTabView Summary
kandi X-RAY | AMTabView Summary
AMTabView is a custom tab bar with amazing animation.
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 AMTabView
AMTabView Key Features
AMTabView Examples and Code Snippets
Community Discussions
Trending Discussions on AMTabView
QUESTION
I have an app where it is a marketplace and when you click on a product, it opens a detail view controller passing the data to display on the DetailVC. Additionally, inside the DetailVC, if you click on a button to claim the product, it segues to another VC to finalize the transaction.
In the DetailVC, there is a back button which is an unwind segue back to the main marketplace VC. Inside the TransactionVC, there is a cancel button which takes you back to the DetailVC.
When I am clicking the backButton in the DetailVC to take me back to the main market VC but I am getting a SIGBART Error and this :
020-07-15 09:05:23.707490-0500 evolutionatx[707:141952] Could not cast value of type 'evolutionatx.MarketplaceViewController' (0x1032c7868) to 'evolutionatx.PopUpPurchaseViewController' (0x1032c7ba8).
Here is the code for the DetailVC
...ANSWER
Answered 2020-Jul-15 at 14:46As @matt already said in his comment and the error clearly states, you cannot cast a MarketplaceViewController
to a PopUpPurchaseViewController
.
Furthermore instead of doing a forced cast, always look for a safe one like below. Doing so will prevent crashes.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install AMTabView
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