Home
last modified time | relevance | path

Searched refs:dynamicType (Results 1 – 8 of 8) sorted by relevance

/expo/packages/expo-modules-core/ios/Swift/
H A DJavaScriptFunction.swift46 let dynamicType = ~ReturnType.self in call() variable
48 …guard let result = try dynamicType.cast(jsValue: value, appContext: appContext) as? ReturnType els… in call()
49 throw UnexpectedReturnType(dynamicType.description) in call()
H A DConversions.swift157 dynamicType: AnyDynamicType? = nil
171 … if let value = value as? SharedObject, let dynamicType = dynamicType as? DynamicSharedObjectType {
172 … guard let object = try? appContext.newObject(nativeClassId: dynamicType.typeIdentifier) else {
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/
H A DJavaScriptFunction.swift46 let dynamicType = ~ReturnType.self in call() variable
48 …guard let result = try dynamicType.cast(jsValue: value, appContext: appContext) as? ReturnType els… in call()
49 throw UnexpectedReturnType(dynamicType.description) in call()
H A DConversions.swift157 dynamicType: AnyDynamicType? = nil
171 … if let value = value as? SharedObject, let dynamicType = dynamicType as? DynamicSharedObjectType {
172 … guard let object = try? appContext.newObject(nativeClassId: dynamicType.typeIdentifier) else {
/expo/packages/expo-modules-core/ios/Tests/
H A DSharedRefSpec.swift20 let dynamicType = ~SharedRef<UIImage>.self in spec() variable
22 expect(dynamicType is DynamicSharedObjectType) == true in spec()
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Tests/
H A DSharedRefSpec.swift20 let dynamicType = ~SharedRef<UIImage>.self in spec() variable
22 expect(dynamicType is DynamicSharedObjectType) == true in spec()
/expo/packages/expo-modules-core/ios/Swift/Functions/
H A DSyncFunctionComponent.swift105 …return Conversions.convertFunctionResult(result, appContext: appContext, dynamicType: ~ReturnType.… in call()
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/Functions/
H A DSyncFunctionComponent.swift105 …return Conversions.convertFunctionResult(result, appContext: appContext, dynamicType: ~ReturnType.… in call()