Technically, UIImageView
does not have an image; it saves a link to a copy of the image in order to be able to display it effectively. UIImage
just turns out to be unchanged, so the copy is the same instance as the original.
UILabel
behaves the same, but explicitly declares its text
property as copy
.
source share