-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCLViewController.h
executable file
·48 lines (37 loc) · 1.47 KB
/
CLViewController.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
38
39
40
41
42
43
44
45
46
47
48
//
// CLViewController.h
// Cascade
//
// Created by Emil Wojtaszek on 11-03-26.
// Copyright 2011 CreativeLabs.pl. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import "CLViewControllerDelegate.h"
#import "CLGlobal.h"
@class CLSegmentedView;
@class CLViewControllerDelegate;
@class CLGlobal;
@class CLCascadeNavigationController;
@interface CLViewController : UIViewController <CLViewControllerDelegate> {
CLCascadeNavigationController* _cascadeNavigationController;
CLViewSize _viewSize;
BOOL _roundedCorners;
}
- (id) initWithSize:(CLViewSize)size;
- (id) initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil size:(CLViewSize)size;
@property (nonatomic, strong) IBOutlet CLCascadeNavigationController* cascadeNavigationController;
@property (nonatomic, assign, readonly) CLViewSize viewSize;
@property (nonatomic, assign) BOOL showRoundedCorners;
// method used to push (animated) new UIViewController on Cascade stack
- (void) pushDetailViewController:(CLViewController *)viewController animated:(BOOL)animated;
// Outer left shadow methods
- (void) addLeftBorderShadowWithWidth:(CGFloat)width andOffset:(CGFloat)offset;
- (void) removeLeftBorderShadow;
/*
Override this methods to return view which represent left border shadow.
It could be UIImageView with gradient image or simle UIView, where you can overrider drawRect: method
to draw gradient in Core Animation.
*/
- (UIView *) leftBorderShadowView;
@end