weissi/FRLayeredNavigationController — pull request #9 by apurvam (2012-08-13 21:26:54+00:00)
Title: Custom, global, Navigation Bar background and title text styles

This code implements a portion of the iOS 5.0 appearance API to style the background view and the title text style of all FRNavigationBars in the application. With this change, the developer can change the look and feel of all FRNavigationBars in her application as follows:

```objective-c

[[FRNavigationBar appearance] setBackgroundImage:[[UIImage imageNamed:@"navbar"] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 3, 0, 3)]];

[[FRNavigationBar appearance] setTitleTextAttributes:
[NSDictionary dictionaryWithObjectsAndKeys:
[UIFont fontWithName:@"GillSans" size:20.5],
UITextAttributeFont,
[UIColor whiteColor],
UITextAttributeTextColor,
[UIColor colorWithRed:66.0/255 green:66.0/255 blue:66.0/255 alpha:1.0],
UITextAttributeTextShadowColor,
nil]
];

```

All new FRNavigationLayers created after running that code will get the new style.

If a user does not specify a custom style, the application defaults to the standard iPad UINavigationBar background and title text style.