• 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
retain before [NSImageView setImage:] ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

retain before [NSImageView setImage:] ?


  • Subject: retain before [NSImageView setImage:] ?
  • From: nicolas berloquin <email@hidden>
  • Date: Fri, 3 May 2002 20:27:08 +0200

Hi !

the online docs don't say whether NSImageView calls retain on the image you pass as a parameter to setImage: .
should I retain/release it myself, or is everything taken care of by cocoa ?

and what if I call setImage: a second time with a different image ?

thanks
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: retain before [NSImageView setImage:] ?
      • From: "Erik M. Buck" <email@hidden>
  • Prev by Date: How to obtain an expand/shrink button with Cocoa ?
  • Next by Date: New features in cocoa.mamasam.com
  • Previous by thread: How to obtain an expand/shrink button with Cocoa ?
  • Next by thread: Re: retain before [NSImageView setImage:] ?
  • Index(es):
    • Date
    • Thread