Skip to content

Commit

Permalink
[core] Expose rotation frames in NISnapshotRotation for subclasses.
Browse files Browse the repository at this point in the history
  • Loading branch information
jverkoey committed Oct 12, 2012
1 parent 873917c commit b806c41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/src/NISnapshotRotation.h
Expand Up @@ -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;
Expand Down

0 comments on commit b806c41

Please sign in to comment.