• 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: devil of a time with an NSImageView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: devil of a time with an NSImageView


  • Subject: Re: devil of a time with an NSImageView
  • From: Dave DeLong <email@hidden>
  • Date: Wed, 19 Aug 2009 15:19:38 -0600

Are you sure the outlet hasn't gotten disconnected? Or maybe you connected it, then changed the name of the outlet in Xcode? That's the output you would see if the outlet were null.

Dave

On Aug 19, 2009, at 3:15 PM, Jack Carbaugh wrote:

I am simply trying to set an NSImageView to an NSImage. I'm certain i'm doing the right methods, but alas, no images show.

Suggestions ?

Thanks in advance.

jack

boxPic is an IBOutlet connected to the NSImageView in the NIB.

-(void)setImage:(NSImage *)newImage;
{
NSLog(@"Incoming image: %@", newImage); // verifies that i am getting an image
[boxPic setImage:newImage];
NSLog(@"%@", [boxPic image]); // gives (null)
}
2009-08-19 17:10:42.474 ***[52934:10b] Incoming image: NSImage 0x63ca520 Name=NSUser Size={32, 32} Reps=(
NSCoreUIImageRep 0x7b1adf0 Size={32, 32} ColorSpace=NSCalibratedRGBColorSpace BPS=0 Pixels=0x0 Alpha=YES drawOptions={
imageNameKey = "image.User";
widget = image;
}
)
2009-08-19 17:10:42.475 ***[52934:10b] (null)
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: devil of a time with an NSImageView
      • From: Jack Carbaugh <email@hidden>
References: 
 >Statements in Replaced Method execute out of sequence - How? (From: Jerry Krinock <email@hidden>)
 >devil of a time with an NSImageView (From: Jack Carbaugh <email@hidden>)

  • Prev by Date: devil of a time with an NSImageView
  • Next by Date: bound popup cell not letting me set it's value
  • Previous by thread: devil of a time with an NSImageView
  • Next by thread: Re: devil of a time with an NSImageView
  • Index(es):
    • Date
    • Thread