Skip to content

Commit 712f156

Browse files
update DemoSegue app
1 parent 304a07c commit 712f156

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

WYPopoverController/WYPopoverController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ - (UIColor*)glossShadowColor
729729

730730
if (result == nil)
731731
{
732-
result = [self.fillTopColor colorByLighten:0.1];
732+
result = [self.fillTopColor colorByLighten:0.2];
733733
}
734734

735735
return result;

demos/DemoSegue/WYPopoverDemoSegue/WYAppDelegate.m

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ @implementation WYAppDelegate
1515

1616
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
1717
{
18-
WYPopoverBackgroundView* popoverAppearance = [WYPopoverBackgroundView appearance];
19-
[popoverAppearance setTintColor:[UIColor lightGrayColor]];
18+
//WYPopoverBackgroundView* popoverAppearance = [WYPopoverBackgroundView appearance];
19+
//[popoverAppearance setTintColor:[UIColor lightGrayColor]];
2020

21-
[popoverAppearance setOuterCornerRadius:8];
22-
[popoverAppearance setInnerCornerRadius:6];
21+
//[popoverAppearance setOuterCornerRadius:8];
22+
//[popoverAppearance setInnerCornerRadius:6];
2323

2424
/*
2525
[popoverAppearance setBorderWidth:12];
@@ -37,13 +37,15 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
3737
[popoverAppearance setInnerShadowBlurRadius:3];
3838
[popoverAppearance setInnerShadowOffset:CGSizeMake(0, 1)];
3939
*/
40-
40+
41+
/*
4142
UINavigationBar* navBarAppearance = [UINavigationBar appearanceWhenContainedIn:[WYPopoverBackgroundView class], [UINavigationController class], nil];
4243
[navBarAppearance setTitleTextAttributes:@{
4344
UITextAttributeTextColor : [UIColor darkGrayColor],
4445
UITextAttributeTextShadowColor: [UIColor whiteColor],
4546
UITextAttributeTextShadowOffset: [NSValue valueWithUIOffset:UIOffsetMake(0, -1)]
4647
}];
48+
*/
4749

4850
NSArray *temp = [NSArray arrayWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"players" ofType:@"plist"]];
4951

demos/DemoSegue/WYPopoverDemoSegue/WYPlayersViewController.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#import "WYPlayerDetailsViewController.h"
1313
#import "WYStoryboardPopoverSegue.h"
1414
#import "WYTestViewController.h"
15-
#import "WYTestView.h"
1615

1716
@interface WYPlayersViewController () <WYPlayerDetailsViewControllerDelegate, WYPopoverControllerDelegate, UIPopoverControllerDelegate>
1817
{

0 commit comments

Comments
 (0)