A question about Swift course day 5 (UIPangesture)


#1

Hi,
I just finished day 5 lesson. I understood almost every step in creating UIPangesture. The only thing that didn’t make complete sense is this line of code:
var label = panGesture.view as UILabel

can anybody explain it more for me please?

Thanks,
Maher