Is there a reason we are not using subclasses of UIImageView?

I'm currently trying to subclass UIImageView so that it loads its image from the server asynchronously;)

I tried to do it myself, but I have not gone very far: D

Anyway, I looked around and found this:

AsyncImageDownload

I looked at the code, and the first thing that comes to mind: why subclass UIView and not UIImageView ?!!?

Any thoughts?

Greetings

Gauthier.

+3
source share
2 answers

, UIView, , , , UIActivityIndicator . , , . , , .

Wayne . YellowJacket.zip .

+1

Fours

" " " ".

. . , .

, , , , .

+2

Source: https://habr.com/ru/post/1737115/


All Articles