forked from RossAnderson/EarthView
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New RAPageNode rendering method separates paging in/out with page switching, so the page generation can occur on a background thread. Still have to work out some kinks related to updating geometries on a separate thread.
- Loading branch information
1 parent
69115fc
commit aee1e40
Showing
16 changed files
with
275 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+3.4 KB
(110%)
....xcodeproj/project.xcworkspace/xcuserdata/ross.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// RAPageNode.h | ||
// EarthViewExample | ||
// | ||
// Created by Ross Anderson on 5/3/12. | ||
// Copyright (c) 2012 Ross Anderson. All rights reserved. | ||
// | ||
|
||
#import "RANode.h" | ||
|
||
#import "RAPage.h" | ||
|
||
@interface RAPageNode : RANode | ||
|
||
@property (strong, nonatomic) RAPage * page; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// | ||
// RAPageNode.m | ||
// EarthViewExample | ||
// | ||
// Created by Ross Anderson on 5/3/12. | ||
// Copyright (c) 2012 Ross Anderson. All rights reserved. | ||
// | ||
|
||
#import "RAPageNode.h" | ||
|
||
@implementation RAPageNode | ||
|
||
@synthesize page = _page; | ||
|
||
|
||
- (SEL)visitorSelector { | ||
return @selector(applyPageNode:); | ||
} | ||
|
||
- (void)calculateBound { | ||
_bound = self.page.bound; | ||
} | ||
|
||
- (RAPage *)page { | ||
return _page; | ||
} | ||
|
||
- (void)setPage:(RAPage *)page { | ||
_page = page; | ||
[self dirtyBound]; | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.