better naming

This commit is contained in:
Hailey
2024-01-18 21:34:35 -08:00
parent e335f5ab7f
commit e9ba104e6f
9 changed files with 10 additions and 292 deletions
@@ -0,0 +1,32 @@
@objc(RNUITextViewManager)
class RNUITextViewManager: RCTViewManager {
var textStorage = NSTextStorage()
override func view() -> (RNUITextView) {
return RNUITextView()
}
@objc override static func requiresMainQueueSetup() -> Bool {
return true
}
override func shadowView() -> RCTShadowView {
// Pass the bridge to the shadow view
return RNUITextViewShadow(bridge: self.bridge)
}
}
@objc(RNUITextViewChildManager)
class RNUITextViewChildManager: RCTViewManager {
override func view() -> (RNUITextViewChild) {
return RNUITextViewChild()
}
@objc override static func requiresMainQueueSetup() -> Bool {
return true
}
override func shadowView() -> RCTShadowView {
return RNUITextViewChildShadow()
}
}