How to make better architecture decisions in SwiftUI | iOS Dev Live Mentoring

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2025

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

  • @bhavinsuthar8949
    @bhavinsuthar8949 3 ปีที่แล้ว +3

    Thanks for posting this

  • @UK-lp7no
    @UK-lp7no 3 ปีที่แล้ว +2

    It is a bit off topic! but how do we make views applicable to different hardwares with SwiftUI? Such as watch, macbook etc. Any tutorial explains this topic in Essential Developer?

    • @EssentialDeveloper
      @EssentialDeveloper  3 ปีที่แล้ว

      Hello! SwiftUI already works on multi-platforms. So as long you don't use any platform-specific methods, your code will compile and run on any supported platform. For platform-specific features, you will need customizations points for each platform (e.g., with separate views or compiler directives)