Card Drag Drop Dismiss
AppStore JSON APIs
Finally, after a lot of code refactor in the last lesson, we're ready to implement a nice difficult feature that enables drag and drop dismissing for our cards in the Today page. To get the effect down perfect, we have to accomplish three different tasks:
  • Implement UIPanGestureRecognizer for dragging
  • Add a UIVisualEffectView for blurring the background
  • Don't interfere with the scrolling of our UITableView component
I wont be able to do everything in one video so we'll take care of bugs and issues in the next lesson.

Comments (3)
juliolocoh
4 years ago
hi Brian when clicking today's cells it shows appDetailController and when scrolling down the appDetailController view there is a small container that appears on the Bottom which contains imageView, the name of the app, get button and when scrolling up it disappears can you please include that in the next video? thanks
Brian Voong
4 years ago
juliolocoh
4 years ago
awesome Brian thank you so much
Tucker MacDonald
4 years ago
Hi Brian- have a quick question about a UIPropertyViewAnimator. I'm using one to apply a blur effect with a UIVisualEffectView in relation to a collection view's scroll offset. When I present another view controller modally, and return to the collection view, the UIPropertyViewAnimator can no longer change it's fractionComplete value like before, and seemingly becomes unresponsive. I tried to initialize a new one each time in viewDidAppear, but that doesn't really work too well. Curious if you know a good solution here?
Tokyojogo
4 years ago
Hi Brian, I got a question. How come we are setting the gesture delegate to the TodayController and not the appFullScreenController?
HELP & SUPPORT