• 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
Control and default colors?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Control and default colors?


  • Subject: Control and default colors?
  • From: Jeffrey Walton <email@hidden>
  • Date: Thu, 14 Jul 2011 19:43:46 -0400

Hi ALl,

Is it possible to query a control (such as a background or button) for
its default color? Under interface builder, there appears to be a
default color recognized. Is this specific to IB?

I'm more interested in assigning the default color at runtime (if the
user previously changed it), but there does not seem to be a [UIColor
defaultColor] or UIDefaultColor. The idea is similar to:

    self.view.backgroundColor = [UIView defaultColor];

Jeff
_______________________________________________

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

  • Prev by Date: Re: Core Data search optimizations
  • Next by Date: A better solution? - Accessing an array of strings saved to user defaults via bindings (solved in the end...)
  • Previous by thread: Re: model key path and properties
  • Next by thread: A better solution? - Accessing an array of strings saved to user defaults via bindings (solved in the end...)
  • Index(es):
    • Date
    • Thread