@@ -15,36 +15,36 @@ @implementation WYAppDelegate
1515
1616- (BOOL )application : (UIApplication *)application didFinishLaunchingWithOptions : (NSDictionary *)launchOptions
1717{
18- // WYPopoverBackgroundView* popoverAppearance = [WYPopoverBackgroundView appearance];
18+ WYPopoverBackgroundView* popoverAppearance = [WYPopoverBackgroundView appearance ];
19+
20+ [popoverAppearance setTintColor: [UIColor colorWithRed: 63 ./255 . green: 92 ./255 . blue: 128 ./255 . alpha: 1 ]];
1921
20- // [popoverAppearance setOuterCornerRadius:8];
21- // [popoverAppearance setInnerCornerRadius:6];
22+ [popoverAppearance setOuterCornerRadius: 6 ];
23+ [popoverAppearance setMinOuterCornerRadius: 2 ];
24+ [popoverAppearance setInnerCornerRadius: 4 ];
2225
23- /*
24- [popoverAppearance setBorderWidth:12];
25- [popoverAppearance setArrowBase:40];
26- [popoverAppearance setArrowHeight:20];
26+ [popoverAppearance setBorderWidth: 6 ];
27+ [popoverAppearance setArrowBase: 32 ];
28+ [popoverAppearance setArrowHeight: 14 ];
2729
28- [popoverAppearance setGlossShadowColor:[UIColor lightGrayColor]];
29- [popoverAppearance setGlossShadowOffset:CGSizeMake(0, 1)];
30+ [popoverAppearance setGlossShadowColor: [UIColor colorWithWhite: 1 alpha: 0.5 ]];
31+ [popoverAppearance setGlossShadowBlurRadius: 1 ];
32+ [popoverAppearance setGlossShadowOffset: CGSizeMake (0 , 1.5 )];
3033
31- [popoverAppearance setOuterShadowColor:[UIColor colorWithWhite:0 alpha:0.75 ]];
32- [popoverAppearance setOuterShadowBlurRadius:10 ];
33- [popoverAppearance setOuterShadowOffset:CGSizeMake(0, 0 )];
34+ [popoverAppearance setOuterShadowColor: [UIColor colorWithRed: 16 ./ 255 . green: 50 ./ 255 . blue: 82 ./ 255 . alpha: 1 ]];
35+ [popoverAppearance setOuterShadowBlurRadius: 8 ];
36+ [popoverAppearance setOuterShadowOffset: CGSizeMake (0 , 2 )];
3437
35- [popoverAppearance setInnerShadowColor:[UIColor colorWithWhite:0 alpha:0.75 ]];
38+ [popoverAppearance setInnerShadowColor: [UIColor colorWithWhite: 0 alpha: 1 ]];
3639 [popoverAppearance setInnerShadowBlurRadius: 3 ];
37- [popoverAppearance setInnerShadowOffset:CGSizeMake(0, 1)];
38- */
40+ [popoverAppearance setInnerShadowOffset: CGSizeMake (0 , 0.5 )];
3941
40- /*
41- UINavigationBar* navBarAppearance = [UINavigationBar appearanceWhenContainedIn:[WYPopoverBackgroundView class], [UINavigationController class], nil];
42+ UINavigationBar* navBarAppearance = [UINavigationBar appearanceWhenContainedIn: [UINavigationController class ], [WYPopoverBackgroundView class ], nil ];
4243 [navBarAppearance setTitleTextAttributes: @{
43- UITextAttributeTextColor : [UIColor darkGrayColor ],
44- UITextAttributeTextShadowColor: [UIColor whiteColor ],
44+ UITextAttributeTextColor : [UIColor whiteColor ],
45+ UITextAttributeTextShadowColor: [UIColor colorWithWhite: 0 alpha: 0.8 ],
4546 UITextAttributeTextShadowOffset: [NSValue valueWithUIOffset: UIOffsetMake (0 , -1 )]
4647 }];
47- */
4848
4949 NSArray *temp = [NSArray arrayWithContentsOfFile: [[NSBundle mainBundle ] pathForResource: @" players" ofType: @" plist" ]];
5050
0 commit comments