objective c - iPhone Sdk: Is it possible to add an UIImageView as a file? -
I was just thinking the weather was this one. It is possible to add Uiimageview as a .m and .h class file because you can only select a subclass and a subclass from the UIVUV or the utiwweil in the apple template. Creates M and H files. Is there a way to do it for a UIImageView or is it possible that it is possible for UIViv to "turn" in an image view?
Thanks in advance!
You can use subclass to UIImageView , yes . And if you are very brave, you can also create your own sub-section of UIView , it takes a UIImage and color in it - ( Zero) Direct: method. So it will be like a UIImageView .
But why do you
edit subclassing UIImageView UIView Easy, and then by changing the UIImageView word with UIView , so that you get:
@interface UIImageViewPlus: UIImageView {/ / ...} All this is there, now just use the UIImageViewPlus You UIImageView .
Comments
Post a Comment