From bdb486cf9e257d65cccf2ac8afed60de488d9549 Mon Sep 17 00:00:00 2001 From: Michael Schneider Date: Tue, 9 Feb 2016 06:56:34 -0800 Subject: [PATCH] Fix sample build errors --- examples/ASTableViewStressTest/Sample/AppDelegate.m | 2 -- .../VerticalWithinHorizontalScrolling/Sample/AppDelegate.m | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/ASTableViewStressTest/Sample/AppDelegate.m b/examples/ASTableViewStressTest/Sample/AppDelegate.m index 4bc15faea9..50382b9daa 100644 --- a/examples/ASTableViewStressTest/Sample/AppDelegate.m +++ b/examples/ASTableViewStressTest/Sample/AppDelegate.m @@ -20,8 +20,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - [ASDisplayNode setShouldUseNewRenderingRange:YES]; - self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; self.window.backgroundColor = [UIColor whiteColor]; self.window.rootViewController = [[UINavigationController alloc] init]; diff --git a/examples/VerticalWithinHorizontalScrolling/Sample/AppDelegate.m b/examples/VerticalWithinHorizontalScrolling/Sample/AppDelegate.m index 3ba9d1faf9..6c998ed4bb 100644 --- a/examples/VerticalWithinHorizontalScrolling/Sample/AppDelegate.m +++ b/examples/VerticalWithinHorizontalScrolling/Sample/AppDelegate.m @@ -19,9 +19,7 @@ @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions -{ - [ASDisplayNode setShouldUseNewRenderingRange:YES]; - +{ self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; self.window.backgroundColor = [UIColor whiteColor]; self.window.rootViewController = [[UINavigationController alloc] initWithRootViewController:[[ViewController alloc] init]];