NSObject

extension NSObject: WrapperCompatible
extension NSObject: AnyChainable

ExtendCustomModelType

  • Finds the internal object in object as the designatedPath specified designatedPath is a string like result.data.orderInfo, which each element split by . represents key of each layer

    Declaration

    Swift

    public static func getInnerObject(inside object: Any?, by designatedPath: String?) -> Any?

NSObject+Theme

  • iOS13主题改变包装器钩子,如果父类有重写,记得调用super,需订阅后才生效

    Declaration

    Swift

    @MainActor
    open func themeChanged(_ style: ThemeStyle)
  • iOS13主题改变渲染钩子,如果父类有重写,记得调用super,需订阅后才生效

    Declaration

    Swift

    @MainActor
    open func renderTheme(_ style: ThemeStyle)