Learn React Native iOS Turbo Modules by Building a Photo Picker with Swift

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ธ.ค. 2024

ความคิดเห็น •

  • @ilyxxxa4523
    @ilyxxxa4523 7 ชั่วโมงที่ผ่านมา

    Thank you!!!❤

  • @VladyslavMartynov
    @VladyslavMartynov วันที่ผ่านมา

    Again really useful material for learning. Are you planning to make the same tutorial for Android with Turbo Modules?

    • @ramielwan48
      @ramielwan48  22 ชั่วโมงที่ผ่านมา

      Thank you! I dont think so since I already had a kotlin Turbo Module video, though not a Photo Picker. I though perhaps something I didnt conver before like Fabric Native Components would be better than covering the same topic again. I did this because I didnt do one with Swift.
      Feel free to provide suggestions for future videos if you have any!

  • @bakoj1993
    @bakoj1993 5 วันที่ผ่านมา +1

    hello thanks for the tutorial. i followed it step by step, but i am facing an error i am not able to solve. before adding the changes below the build was successful. i added 2 functions
    public func peripheralManagerDidUpdateState(_ peripheral: CBPeripheralManager) {
    return;
    }

    var peripheralManager: CBPeripheralManager? = nil
    private func initBle(){
    peripheralManager = CBPeripheralManager(delegate: self, queue: nil)
    }
    i started getting 3 errors is swift header
    Type argument 'CBPeripheralManager' must be a pointer (requires a '*')
    Type arguments cannot be applied to non-parameterized class 'NSObject'
    Unknown class name 'CBPeripheralManagerDelegate'; did you mean 'CBPeripheralManager'?
    are you able to help me solve these issue? i am stuck since the morning with no solution

    • @ramielwan48
      @ramielwan48  5 วันที่ผ่านมา

      Hi,
      It is quite hard to understand and fix the issue from this comment. If you push your code to a repo then I can help you better.

    • @bakoj1993
      @bakoj1993 5 วันที่ผ่านมา +1

      @@ramielwan48 thank you, i was able to fix my error finally. for some reason i had to add #import to my BleAdvertise.h

    • @ramielwan48
      @ramielwan48  4 วันที่ผ่านมา

      Yes you absolutely need to import the header files for classes you use 😅. Glad you got it working!