• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UIImageView without using the Interface Builder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UIImageView without using the Interface Builder?


  • Subject: Re: UIImageView without using the Interface Builder?
  • From: Andrey Dubinin <email@hidden>
  • Date: Mon, 01 Dec 2008 00:26:02 +1000

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
  • Follow-Ups:
    • Re: UIImageView without using the Interface Builder?
      • From: Søren Krogh Neigaard <email@hidden>
    • Re: UIImageView without using the Interface Builder?
      • From: Fritz Anderson <email@hidden>
References: 
 >UIImageView without using the Interface Builder? (From: Søren Krogh Neigaard <email@hidden>)

  • Prev by Date: UIImageView without using the Interface Builder?
  • Next by Date: Libraries switch binary to "ppc7400" how do I force it back to "ppc".
  • Previous by thread: UIImageView without using the Interface Builder?
  • Next by thread: Re: UIImageView without using the Interface Builder?
  • Index(es):
    • Date
    • Thread