• 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: Creating controls dynamically (Rohit Bhatia)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Creating controls dynamically (Rohit Bhatia)


  • Subject: RE: Creating controls dynamically (Rohit Bhatia)
  • From: Anish Kumar <email@hidden>
  • Date: Tue, 29 Mar 2005 10:19:43 +0530

Hi,

Your code seems to show that you want to display undetermined number of images during runtime. I feel the best way to do this is to use a seperate nib file with a instantiated object which is a sub-class of NSView(or NSImageView).

You can then load the nib file as and when you want and set an image of your choice to the sub-class of NSView on the nib file. After loading and setting the image you can add that sub-class of NSView as a sub-view of your main view.

Try this and if you face any problem implementing this mail me back.

regards,
-Anish
http://www.qubyx.com/


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: tags and sliders
  • Next by Date: Re: [Bug report] XCode
  • Previous by thread: Re: tags and sliders
  • Next by thread: RE: Creating controls dynamically (Rohit Bhatia)
  • Index(es):
    • Date
    • Thread