owned this note changed 6 years ago
Published Linked with GitHub

Integrate your app to modern world - Daiki Matsudate

所有議程請見議程表

歡迎來到 https://hackmd.io/@iPlayground/2019 共筆

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

點擊本頁上方的 開始用 Markdown 一起寫筆記!
手機版請點選上方 按鈕展開議程列表。

請從這裡開始

YouTube

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Slide

把現有專案跟潮潮的 SwiftUI 整合的入坑好時機!

tldr: UIKit to SwiftUI

the age of Declarative UI

  • iOS: Swift UI
  • iOS13 以上才支援🥺

Small Components

  • Use StackView as possible
  • Use Xib as possible
  • Use UIViewController than UIView
  • Some of SwiftUI still be broken
    • use UIKit instead

VStackViewController

dataflow

  • @ObservedObject

using uivc in swiftui

too fast to read🤷🏼‍♂️ lol
just use VStack / HStack to layout

xib -> stactView

duo to preview in swiftUI can read .xib
use stack view instead xib

Recap - UIKit to SwiftUI

  • some of swiftui feature still be broken
  • sometime need to use UIKit instead
  • keeping components small is key factor to migrate
  • 總之, 好像還有一些坑要踩, 並且要將您的畫面元件切割成小單元較佳

XieXie

https://developer.apple.com/videos/play/wwdc2019/226/

tags:iPlayground2019
Select a repo