This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4518-demystifying-views-in-ios/lessons/17
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4518-demystifying-views-in-ios/lessons/17
@jessycatterwaul, @catie, why is animateIn() a method of a UIView meanwhile ainmateOut() a func within a LessonViewController?
@catie, @jessycatterwaul, please explain
completion: handleCompletion.map { handleCompletion in
{ _ in handleCompletion() }
in animateIn() a bit more detailed. It is unclear for me now. =(
The first step to understanding it is to get comfortable with Optional.map. Let me know if you have any questions about that method in particular, and we’ll go from there!
1 Like
it is clear now! thanks!
1 Like