Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated latest changes in the README.txt file

  • Loading branch information...
commit d7e72293d6fd615f44d943b10588aab9665f0b32 1 parent d5037f0
Edward Patel authored
Showing with 23 additions and 5 deletions.
  1. +23 −5 DemoProject/README.txt
28 DemoProject/README.txt
View
@@ -1,6 +1,8 @@
This was done to a "Utility Application" straight from the Xcode template
+• Added files from 'src' the directory.
+
• Added frameworks
- OpenGLES.framework
- QuartzCore.framework
@@ -20,14 +22,30 @@ This was done to a "Utility Application" straight from the Xcode template
DemoTransition *transition = [[[DemoTransition alloc] init] autorelease];
- EPGLTransitionView *glview = [[EPGLTransitionView alloc]
- initWithWindow:self.view.window
- delegate:transition];
+ EPGLTransitionView *glview = [[[EPGLTransitionView alloc]
+ initWithView:self.view
+ delegate:transition] autorelease];
- [glview autorelease];
- [glview startAnimation];
+ #ifdef ENABLE_PHASE_IN
+
+ // Get texture for the "next" view
+ [glview prepareTextureTo:controller.view];
+
+ // If you are using an "IN" animation for the "next" view set appropriate
+ // clear color (ie no alpha)
+ [glview setClearColorRed:0.3
+ green:0.3
+ blue:0.3
+ alpha:1.0];
+ #endif
+
+ [glview startTransition];
[self presentModalViewController:controller animated:NO];
[controller release];
}
+
+
+• To enable a demo of creating a transition for the 'next' view, uncomment the
+ macro definition in 'DemoTransition.h'
Please sign in to comment.
Something went wrong with that request. Please try again.