forked from soffes/sstoolkit
-
Notifications
You must be signed in to change notification settings - Fork 100
/
SSNavigationController.h
37 lines (28 loc) · 1.05 KB
/
SSNavigationController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// SSNavigationController.h
// SSToolkit
//
// Created by Sam Soffes on 10/15/10.
// Copyright 2010-2011 Sam Soffes. All rights reserved.
//
#import "SSModalViewController.h"
@class SSViewController;
/**
@brief UINavigationController subclass that comforms to the SSModalViewController protocol.
This class contains a dirty hack to position it's navigation bar correctly when in a
custom modal that is created with the SSViewController class.
@see SSViewController
@see SSModalViewController
*/
@interface SSNavigationController : UINavigationController <SSModalViewController> {
@private
SSViewController *_modalParentViewController;
BOOL _dismissCustomModalOnVignetteTap;
CGSize _contentSizeForViewInCustomModal;
CGPoint _originOffsetForViewInCustomModal;
}
@property (nonatomic, assign) SSViewController *modalParentViewController;
@property (nonatomic, assign) BOOL dismissCustomModalOnVignetteTap;
@property (nonatomic, assign) CGSize contentSizeForViewInCustomModal;
@property (nonatomic, assign) CGPoint originOffsetForViewInCustomModal;
@end