//
//  DDBaseViewController.h
//  DDBasicControlsKit_Private
//  Created by DDIsFriend on 2022/10/27.

#import <UIKit/UIKit.h>
#import <DDCategoryKit_Private/UIViewController+DDCategory.h>

NS_ASSUME_NONNULL_BEGIN

@interface DDBaseViewController : UIViewController

@property (nonatomic, strong, nullable) NSString *dd_navigationItemTitle;

@property (nonatomic, strong, nullable) UIView *dd_navigationItemTitleView;

@property (nonatomic, strong, nullable) UIBarButtonItem *dd_backBarButtonItem; // This item contains a customView consist of a button.

- (void)dd_backButtonWithImage:(nullable UIImage *)backButtonImage action:(SEL)sel;

- (void)dd_backActionPopViewController:(BOOL)isAnimated;
- (void)dd_backActionPopToRootViewController:(BOOL)isAnimated;

- (void)dd_setInterfaceOrientation:(UIInterfaceOrientation)orientation;
@end

NS_ASSUME_NONNULL_END
