• 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: NSImageView in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImageView in IB


  • Subject: Re: NSImageView in IB
  • From: Scott Frankel <email@hidden>
  • Date: Thu, 23 Mar 2006 08:34:02 -0800


Sill no luck.

I tried following a suggestion that I quit and relaunch IB, but I think my question is more fundamental than a s/w issue.

In order to use an image in an NSImageView widget, does the image first need to be added to the Images tab of IB's main panel? If so, how is this done? Do I need to sub-class and instantiate an NSImage object first? I've tried, but still haven't found a mechanism for importing the image.

Note that I am not working in Xcode. I'm building a GUI in IB, then using the PyObjC bridge for coding.

Thanks
Scott



On Mar 22, 2006, at 4:22 PM, Scott Frankel wrote:


Pardon the simple question below. I'm new to Cocoa & InterfaceBuilder.


How does one specify an image content for a NSImageView widget in InterfaceBuilder? My attempts to declare one in the Inspector Window's --> Attributes --> Image field yields a broken image icon. (The image in question is a jpeg; I assume jpegs are supported, though I can't find docs on which image file formats are supported.)

Also, I've found a number of docs on working with cocoa widgets programmatically. Is there a good source for docs on working with specific widgets in IB?

Thanks in advance!
Scott



_______________________________________________
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

_______________________________________________ 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
  • Follow-Ups:
    • Re: NSImageView in IB
      • From: Scott Thompson <email@hidden>
References: 
 >NSImageView in IB (From: Scott Frankel <email@hidden>)

  • Prev by Date: NSImages are killing my WindowServer
  • Next by Date: Re: NSImages are killing my WindowServer
  • Previous by thread: NSImageView in IB
  • Next by thread: Re: NSImageView in IB
  • Index(es):
    • Date
    • Thread