• 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
leaking UIColor objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

leaking UIColor objects


  • Subject: leaking UIColor objects
  • From: WT <email@hidden>
  • Date: Sat, 4 Jul 2009 15:27:32 +0200

Hello all,

my iPhone OS 3.0 app uses UIColor objects to set the colors of various objects (text colors of labels, cell view backgrounds, and segmented control tint colors), but I *never* store any of these colors as ivars. In other words, I *only* do things like

label.textColor = [UIColor blueColor];

Now, after I installed 3.1 beta, **but still building under 3.0**, Instruments/Leaks tells me that my app is leaking UIColor objects. My app was leak-free under 3.0 Leaks.

My conclusion is that Instruments (or, at least, Leaks) has changed from 3.0 to 3.1 beta. I'm planning to report this as a bug, but I thought I'd ask the community first, to make sure that this isn't something I'm overlooking in my own code or elsewhere.

And, yes, I realize that discussing beta releases is a no-no. I'm not asking for a discussion; I'm merely asking for a "I'm having that problem too and I've already filed a radar" or "Yes, this looks like a bug and you should report it" or a "No, it must be something in your code" kind of response.

Thanks in advance.
Wagner
_______________________________________________

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: leaking UIColor objects
      • From: Conrad Taylor <email@hidden>
    • [modeator] Re: leaking UIColor objects
      • From: Scott Anguish <email@hidden>
    • Re: leaking UIColor objects
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: NSLinkAttributeName: can I control the visual presentation?
  • Next by Date: leaking UIColor objects (correction)
  • Previous by thread: Re: NSLinkAttributeName: can I control the visual presentation?
  • Next by thread: Re: leaking UIColor objects
  • Index(es):
    • Date
    • Thread