Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

124
Visualizações
React native invoke functions from Swift

Our app needs to do integration with IOT devices and we get the NFC driver framework from device manufacturer. But the lib and APIs from the framework is in Swift. I was able to follow this tutorial to invoke bridge at objective-c level, but I have no idea how to invoke the function from Swift. Following is an example of swift integration code from the device manufacturer. Thanks in advance.

import DeviceLib
class NFCViewController: UIViewController {
    private var nfcDriver: NFCDriver?
    override func viewDidLoad() {
        super.viewDidLoad()
        self.nfcDriver = NFCDriver(delegate: self)
    }
    @IBAction func startNFC(_ sender: Any) {
        if self.nfcDriver != nil {
          do {
                try self.nfcDriver!.sessionBegin()
          } catch {}
    }
}
over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda