code_junkie

understanding EAGLView

Nov 13th, 2011
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. @protocol EAGLViewDelegate <NSObject>
  2. - (void) didResizeEAGLSurfaceForView:(EAGLView*)view;
  3. //Called whenever the EAGL surface has been resized
  4. @end
  5.  
  6. @interface EAGLView : UIView
  7. {
  8. @private
  9. id<EAGLViewDelegate> _delegate;
  10. }
  11.  
  12.  
  13. @property(assign) id<EAGLViewDelegate> delegate;
  14.  
  15. @implementation EAGLView
  16.  
  17. @synthesize
  18. delegate = _delegate,
  19.  
  20. //......
  21. @end
Add Comment
Please, Sign In to add comment