This commit is contained in:
eevee committed 2024-06-30 09:34:53 +03:00
1 parent e8e77f07cf
commit e153fff66e
5 files changed
+58 -14

No files matched your search

@@ -1,8 +1,12 @@
import Foundation
@objc protocol SPTEncoreAttributedString {
func initWithString(_ string: String, typeStyle: Any, attributes: Any) -> SPTEncoreAttributedString
func initWithString(_ string: String, typeStyle: SPTEncoreTypeStyle, attributes: SPTEncoreAttributes) -> SPTEncoreAttributedString
func text() -> String
func typeStyle() -> Any
@available(iOS 15.0, *)
func typeStyle() -> SPTEncoreTypeStyle
@available(iOS 15.0, *)
func attributes() -> SPTEncoreAttributes
}
@@ -2,5 +2,6 @@ import Foundation
@objc protocol SPTEncoreLabel {
func text() -> NSArray
func setNumberOfLines(_ number: Int)
func setText(_ text: NSArray)
}
@@ -0,0 +1,5 @@
import Foundation
@objc protocol SPTEncoreTypeStyle {
static func bodyMediumBold() -> SPTEncoreTypeStyle
}