Re: UIImageView without using the Interface Builder?
Re: UIImageView without using the Interface Builder?
- Subject: Re: UIImageView without using the Interface Builder?
- From: Søren Krogh Neigaard <email@hidden>
- Date: Sun, 30 Nov 2008 19:05:22 +0100
I think I also need to assign/attach this UIImageView to the
viewcontroller somehow, so that it is visible. How is this done by code?
Best regards
Søren
On 30/11/2008, at 15.26, Andrey Dubinin wrote:
Something like this? :
UIImage* myImage = [UIImage imageNamed:@"myImage.jpg"];
UIImageView* myImgView = [[UIImageView alloc] initWithImage: myImage];
Hi
Im completely new to XCode, and I found a small tutorial where the
programmer added a UIImageView in Interface Builder, added a image
to this UIImageView and then linked the UIImageView to the code by
dragging it to "Files owner".
How do I do this in the code without using Interface Builder?
Med venlig hilsen/Best regards
Søren Neigaard <email@hidden>
If I'd known computer science was going to be like this, I'd never
have given up being a rock 'n' roll star.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Med venlig hilsen/Best regards
Søren Neigaard <email@hidden>
If I'd known computer science was going to be like this, I'd never
have given up being a rock 'n' roll star.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden