Permalink
Browse files

[core] Expose rotation frames in NISnapshotRotation for subclasses.

  • Loading branch information...
1 parent 873917c commit b806c410280ab5db33526191b8a6c11b0563c9d1 @jverkoey committed Oct 12, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/src/NISnapshotRotation.h
View
3 src/core/src/NISnapshotRotation.h
@@ -50,6 +50,9 @@
@property (nonatomic, readwrite, weak) id<NISnapshotRotationDelegate> delegate;
+@property (nonatomic, readonly, assign) CGRect frameBeforeRotation;
+@property (nonatomic, readonly, assign) CGRect frameAfterRotation;
+
- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration;
- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration;
- (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation;

0 comments on commit b806c41

Please sign in to comment.