Created
June 30, 2023 02:10
-
-
Save tanner-west/86dd9ba2eb2c3fc815f83e99c60d40fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// RCTVisionModule.swift | |
// VisionNativeModulePOC | |
// | |
// Created by Tanner West on 6/2/23. | |
// | |
import Foundation | |
@objc(RCTVisionModule) | |
class RCTVisionModule: NSObject { | |
@objc(sayHello:specialNumber:) | |
func sayHello(_ specialMessage: String, specialNumber: NSNumber) { | |
print("read this special message: ", specialMessage) | |
print("look at this special number: ", specialNumber) } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment