• 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: Why is my UIColor white actually gray?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is my UIColor white actually gray?


  • Subject: Re: Why is my UIColor white actually gray?
  • From: David Duncan <email@hidden>
  • Date: Fri, 6 Mar 2009 13:42:24 -0800

On Mar 6, 2009, at 12:57 PM, James Cicenia wrote:

[self setImage:[[UIImage imageNamed:@"WF-MyLocBu- DistBack.png"]autorelease]];


Unrelated, but don't do this. You don't have ownership to the results of +imageNamed:, so you should not be releasing or autoreleasing it.
--
David Duncan
Apple DTS Animation and Printing


_______________________________________________

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


References: 
 >Why is my UIColor white actually gray? (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Why is my UIColor white actually gray?
  • Next by Date: Re: NSImage/NSBitmapImageRep color shifts when creating scaled copy
  • Previous by thread: Re: Why is my UIColor white actually gray?
  • Next by thread: How to change the Installer.app path of files in a XCode project
  • Index(es):
    • Date
    • Thread