Skip to content

Instantly share code, notes, and snippets.

@0xc010d
Last active December 10, 2015 07:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0xc010d/4400010 to your computer and use it in GitHub Desktop.
Save 0xc010d/4400010 to your computer and use it in GitHub Desktop.
UIAppearance properties of UIKit
# cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/
# grep -H UI_APPEARANCE_SELECTOR ./* | sed 's/ UI_APPEARANCE_SELECTOR;//'
./UIActivityIndicatorView.h:@property (readwrite, nonatomic, retain) UIColor *color NS_AVAILABLE_IOS(5_0);
./UIBarButtonItem.h:- (void)setBackgroundImage:(UIImage *)backgroundImage forState:(UIControlState)state barMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UIBarButtonItem.h:- (UIImage *)backgroundImageForState:(UIControlState)state barMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UIBarButtonItem.h:- (void)setBackgroundImage:(UIImage *)backgroundImage forState:(UIControlState)state style:(UIBarButtonItemStyle)style barMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(6_0);
./UIBarButtonItem.h:- (UIImage *)backgroundImageForState:(UIControlState)state style:(UIBarButtonItemStyle)style barMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(6_0);
./UIBarButtonItem.h:@property(nonatomic,retain) UIColor *tintColor NS_AVAILABLE_IOS(5_0);
./UIBarButtonItem.h:- (void)setBackgroundVerticalPositionAdjustment:(CGFloat)adjustment forBarMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UIBarButtonItem.h:- (CGFloat)backgroundVerticalPositionAdjustmentForBarMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UIBarButtonItem.h:- (void)setTitlePositionAdjustment:(UIOffset)adjustment forBarMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UIBarButtonItem.h:- (UIOffset)titlePositionAdjustmentForBarMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UIBarButtonItem.h:- (void)setBackButtonBackgroundImage:(UIImage *)backgroundImage forState:(UIControlState)state barMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UIBarButtonItem.h:- (UIImage *)backButtonBackgroundImageForState:(UIControlState)state barMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UIBarButtonItem.h:- (void)setBackButtonTitlePositionAdjustment:(UIOffset)adjustment forBarMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UIBarButtonItem.h:- (UIOffset)backButtonTitlePositionAdjustmentForBarMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UIBarButtonItem.h:- (void)setBackButtonBackgroundVerticalPositionAdjustment:(CGFloat)adjustment forBarMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UIBarButtonItem.h:- (CGFloat)backButtonBackgroundVerticalPositionAdjustmentForBarMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UIBarItem.h:- (void)setTitleTextAttributes:(NSDictionary *)attributes forState:(UIControlState)state NS_AVAILABLE_IOS(5_0);
./UIBarItem.h:- (NSDictionary *)titleTextAttributesForState:(UIControlState)state NS_AVAILABLE_IOS(5_0);
./UIButton.h:@property(nonatomic,retain) UIColor *tintColor NS_AVAILABLE_IOS(5_0); // default is nil. only valid for some button types
./UINavigationBar.h:@property(nonatomic,retain) UIColor *tintColor;
./UINavigationBar.h:- (void)setBackgroundImage:(UIImage *)backgroundImage forBarMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UINavigationBar.h:- (UIImage *)backgroundImageForBarMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UINavigationBar.h:@property(nonatomic,retain) UIImage *shadowImage NS_AVAILABLE_IOS(6_0);
./UINavigationBar.h:@property(nonatomic,copy) NSDictionary *titleTextAttributes NS_AVAILABLE_IOS(5_0);
./UINavigationBar.h:- (void)setTitleVerticalPositionAdjustment:(CGFloat)adjustment forBarMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UINavigationBar.h:- (CGFloat)titleVerticalPositionAdjustmentForBarMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UIPageControl.h:@property(nonatomic,retain) UIColor *pageIndicatorTintColor NS_AVAILABLE_IOS(6_0);
./UIPageControl.h:@property(nonatomic,retain) UIColor *currentPageIndicatorTintColor NS_AVAILABLE_IOS(6_0);
./UIProgressView.h:@property(nonatomic, retain) UIColor* progressTintColor NS_AVAILABLE_IOS(5_0);
./UIProgressView.h:@property(nonatomic, retain) UIColor* trackTintColor NS_AVAILABLE_IOS(5_0);
./UIProgressView.h:@property(nonatomic, retain) UIImage* progressImage NS_AVAILABLE_IOS(5_0);
./UIProgressView.h:@property(nonatomic, retain) UIImage* trackImage NS_AVAILABLE_IOS(5_0);
./UIRefreshControl.h:@property (nonatomic, retain) UIColor *tintColor;
./UIRefreshControl.h:@property (nonatomic, retain) NSAttributedString *attributedTitle;
./UISearchBar.h:@property(nonatomic,retain) UIImage *backgroundImage NS_AVAILABLE_IOS(5_0);
./UISearchBar.h:@property(nonatomic,retain) UIImage *scopeBarBackgroundImage NS_AVAILABLE_IOS(5_0);
./UISearchBar.h:- (void)setSearchFieldBackgroundImage:(UIImage *)backgroundImage forState:(UIControlState)state NS_AVAILABLE_IOS(5_0);
./UISearchBar.h:- (UIImage *)searchFieldBackgroundImageForState:(UIControlState)state NS_AVAILABLE_IOS(5_0);
./UISearchBar.h:- (void)setImage:(UIImage *)iconImage forSearchBarIcon:(UISearchBarIcon)icon state:(UIControlState)state NS_AVAILABLE_IOS(5_0);
./UISearchBar.h:- (UIImage *)imageForSearchBarIcon:(UISearchBarIcon)icon state:(UIControlState)state NS_AVAILABLE_IOS(5_0);
./UISearchBar.h:- (void)setScopeBarButtonBackgroundImage:(UIImage *)backgroundImage forState:(UIControlState)state NS_AVAILABLE_IOS(5_0);
./UISearchBar.h:- (UIImage *)scopeBarButtonBackgroundImageForState:(UIControlState)state NS_AVAILABLE_IOS(5_0);
./UISearchBar.h:- (void)setScopeBarButtonDividerImage:(UIImage *)dividerImage forLeftSegmentState:(UIControlState)leftState rightSegmentState:(UIControlState)rightState NS_AVAILABLE_IOS(5_0);
./UISearchBar.h:- (UIImage *)scopeBarButtonDividerImageForLeftSegmentState:(UIControlState)leftState rightSegmentState:(UIControlState)rightState NS_AVAILABLE_IOS(5_0);
./UISearchBar.h:- (void)setScopeBarButtonTitleTextAttributes:(NSDictionary *)attributes forState:(UIControlState)state NS_AVAILABLE_IOS(5_0);
./UISearchBar.h:- (NSDictionary *)scopeBarButtonTitleTextAttributesForState:(UIControlState)state NS_AVAILABLE_IOS(5_0);
./UISearchBar.h:@property(nonatomic) UIOffset searchFieldBackgroundPositionAdjustment NS_AVAILABLE_IOS(5_0);
./UISearchBar.h:@property(nonatomic) UIOffset searchTextPositionAdjustment NS_AVAILABLE_IOS(5_0);
./UISearchBar.h:- (void)setPositionAdjustment:(UIOffset)adjustment forSearchBarIcon:(UISearchBarIcon)icon NS_AVAILABLE_IOS(5_0);
./UISearchBar.h:- (UIOffset)positionAdjustmentForSearchBarIcon:(UISearchBarIcon)icon NS_AVAILABLE_IOS(5_0);
./UISegmentedControl.h:@property(nonatomic,retain) UIColor *tintColor;
./UISegmentedControl.h:- (void)setBackgroundImage:(UIImage *)backgroundImage forState:(UIControlState)state barMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UISegmentedControl.h:- (UIImage *)backgroundImageForState:(UIControlState)state barMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UISegmentedControl.h:- (void)setDividerImage:(UIImage *)dividerImage forLeftSegmentState:(UIControlState)leftState rightSegmentState:(UIControlState)rightState barMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UISegmentedControl.h:- (UIImage *)dividerImageForLeftSegmentState:(UIControlState)leftState rightSegmentState:(UIControlState)rightState barMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UISegmentedControl.h:- (void)setTitleTextAttributes:(NSDictionary *)attributes forState:(UIControlState)state NS_AVAILABLE_IOS(5_0);
./UISegmentedControl.h:- (NSDictionary *)titleTextAttributesForState:(UIControlState)state NS_AVAILABLE_IOS(5_0);
./UISegmentedControl.h:- (void)setContentPositionAdjustment:(UIOffset)adjustment forSegmentType:(UISegmentedControlSegment)leftCenterRightOrAlone barMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UISegmentedControl.h:- (UIOffset)contentPositionAdjustmentForSegmentType:(UISegmentedControlSegment)leftCenterRightOrAlone barMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UISlider.h:@property(nonatomic,retain) UIColor *minimumTrackTintColor NS_AVAILABLE_IOS(5_0);
./UISlider.h:@property(nonatomic,retain) UIColor *maximumTrackTintColor NS_AVAILABLE_IOS(5_0);
./UISlider.h:@property(nonatomic,retain) UIColor *thumbTintColor NS_AVAILABLE_IOS(5_0);
./UIStepper.h:@property(nonatomic,retain) UIColor *tintColor NS_AVAILABLE_IOS(6_0);
./UIStepper.h:- (void)setBackgroundImage:(UIImage*)image forState:(UIControlState)state NS_AVAILABLE_IOS(6_0);
./UIStepper.h:- (UIImage*)backgroundImageForState:(UIControlState)state NS_AVAILABLE_IOS(6_0);
./UIStepper.h:- (void)setDividerImage:(UIImage*)image forLeftSegmentState:(UIControlState)leftState rightSegmentState:(UIControlState)rightState NS_AVAILABLE_IOS(6_0);
./UIStepper.h:- (UIImage*)dividerImageForLeftSegmentState:(UIControlState)state rightSegmentState:(UIControlState)state NS_AVAILABLE_IOS(6_0);
./UIStepper.h:- (void)setIncrementImage:(UIImage *)image forState:(UIControlState)state NS_AVAILABLE_IOS(6_0);
./UIStepper.h:- (UIImage *)incrementImageForState:(UIControlState)state NS_AVAILABLE_IOS(6_0);
./UIStepper.h:- (void)setDecrementImage:(UIImage *)image forState:(UIControlState)state NS_AVAILABLE_IOS(6_0);
./UIStepper.h:- (UIImage *)decrementImageForState:(UIControlState)state NS_AVAILABLE_IOS(6_0);
./UISwitch.h:@property(nonatomic, retain) UIColor *onTintColor NS_AVAILABLE_IOS(5_0);
./UISwitch.h:@property(nonatomic, retain) UIColor *tintColor NS_AVAILABLE_IOS(6_0);
./UISwitch.h:@property(nonatomic, retain) UIColor *thumbTintColor NS_AVAILABLE_IOS(6_0);
./UISwitch.h:@property(nonatomic, retain) UIImage *onImage NS_AVAILABLE_IOS(6_0);
./UISwitch.h:@property(nonatomic, retain) UIImage *offImage NS_AVAILABLE_IOS(6_0);
./UITabBar.h:@property(nonatomic,retain) UIColor *tintColor NS_AVAILABLE_IOS(5_0);
./UITabBar.h:@property(nonatomic,retain) UIColor *selectedImageTintColor NS_AVAILABLE_IOS(5_0);
./UITabBar.h:@property(nonatomic,retain) UIImage *backgroundImage NS_AVAILABLE_IOS(5_0);
./UITabBar.h:@property(nonatomic,retain) UIImage *selectionIndicatorImage NS_AVAILABLE_IOS(5_0);
./UITabBar.h:@property(nonatomic,retain) UIImage *shadowImage NS_AVAILABLE_IOS(6_0);
./UITabBarItem.h:- (void)setTitlePositionAdjustment:(UIOffset)adjustment NS_AVAILABLE_IOS(5_0);
./UITabBarItem.h:- (UIOffset)titlePositionAdjustment NS_AVAILABLE_IOS(5_0);
./UITableView.h:@property(nonatomic, retain) UIColor *sectionIndexColor NS_AVAILABLE_IOS(6_0); // color used for text of the section index
./UITableView.h:@property(nonatomic, retain) UIColor *sectionIndexTrackingBackgroundColor NS_AVAILABLE_IOS(6_0); // the background color of the section index while it is being touched
./UITableViewHeaderFooterView.h:@property(nonatomic, retain) UIColor *tintColor;
./UIToolbar.h:@property(nonatomic,retain) UIColor *tintColor;
./UIToolbar.h:- (void)setBackgroundImage:(UIImage *)backgroundImage forToolbarPosition:(UIToolbarPosition)topOrBottom barMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UIToolbar.h:- (UIImage *)backgroundImageForToolbarPosition:(UIToolbarPosition)topOrBottom barMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0);
./UIToolbar.h:- (void)setShadowImage:(UIImage *)shadowImage forToolbarPosition:(UIToolbarPosition)topOrBottom NS_AVAILABLE_IOS(6_0);
./UIToolbar.h:- (UIImage *)shadowImageForToolbarPosition:(UIToolbarPosition)topOrBottom NS_AVAILABLE_IOS(6_0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment