1
1
//
2
- // BaseViewController .swift
2
+ // RAKBaseViewController .swift
3
3
// RakuyoKit
4
4
//
5
5
// Created by Rakuyo on 2024/4/10.
@@ -14,11 +14,7 @@ import Combine
14
14
import RaLog
15
15
16
16
/// Base class for view controllers.
17
- ///
18
- /// Renamed with `@objc` to resolve symbol redefinition issues encountered in the `XXModule-swift.h` file
19
- /// when inheriting `SwissArmyKnife.BaseViewController` to implement its own `BaseViewController`.
20
- @objc ( RAKBaseViewController)
21
- open class BaseViewController : RotatableViewController {
17
+ open class RAKBaseViewController : RAKRotatableViewController {
22
18
#if !os(tvOS)
23
19
/// Default status bar style: black.
24
20
public static let statusBarStyle = UIStatusBarStyle . default
@@ -35,7 +31,7 @@ open class BaseViewController: RotatableViewController {
35
31
36
32
// MARK: - Life cycle
37
33
38
- extension BaseViewController {
34
+ extension RAKBaseViewController {
39
35
#if !os(tvOS)
40
36
override open var preferredStatusBarStyle : UIStatusBarStyle {
41
37
Self . statusBarStyle
@@ -75,7 +71,7 @@ extension BaseViewController {
75
71
76
72
// MARK: - Life cycle extension
77
73
78
- extension BaseViewController {
74
+ extension RAKBaseViewController {
79
75
@objc // swiftformat:disable:next unusedArguments
80
76
open func viewWillAppear( _ animated: Bool , isFirstEnter: Bool ) { }
81
77
@@ -85,7 +81,7 @@ extension BaseViewController {
85
81
86
82
// MARK: - Log
87
83
88
- extension BaseViewController {
84
+ extension RAKBaseViewController {
89
85
@objc
90
86
open func logDeinit( ) { Log . deinit ( self ) }
91
87
0 commit comments