Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @protocol EAGLViewDelegate <NSObject>
- - (void) didResizeEAGLSurfaceForView:(EAGLView*)view;
- //Called whenever the EAGL surface has been resized
- @end
- @interface EAGLView : UIView
- {
- @private
- id<EAGLViewDelegate> _delegate;
- }
- @property(assign) id<EAGLViewDelegate> delegate;
- @implementation EAGLView
- @synthesize
- delegate = _delegate,
- //......
- @end
Add Comment
Please, Sign In to add comment