본문 바로가기

seong_hye, the developer

검색하기
seong_hye, the developer
프로필사진 seong_hye

  • My P_Life (119) N
    • JAVA (3)
    • 알고리즘 코드 (3)
    • IOS (100) N
      • SwiftUI (25)
      • UIKit (13)
      • Error (7)
    • Infomation (6)
      • Firebase (1)
      • Git (1)
    • Daily Life (3)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/09   »
일 월 화 수 목 금 토
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Tags
  • 화면전환
  • escaping
  • SWIFTUI
  • Animation
  • calendar
  • uikit
  • list
  • mvvm
  • singleton
  • array
  • 고차함수
  • NotificationCenter
  • http
  • ScrollView
  • IOS
  • class
  • viewlifecycle
  • segue
  • self
  • PushNotification
  • apns
  • Switch
  • Git
  • struct
  • Refresh
  • SWIFT
  • 글또
  • error
  • CoreImage
  • Observer
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록TOAST (1)

seong_hye, the developer

SwiftUI) Toast 생성해보기(normal, enum에 따른 toast)

📘 Toast사용자가 앱을 조작할 때 화면 하단에 잠깐 표시되는 알림 메시지 🔹 기본 Toast 생성 방법➡️ toast struct toast 메시지를 보여줄 기본 틀struct Toast: Equatable { var message: String //보여줄 메시지 var duration: Double = 1.5 // 보여질 시간 var width: Double = 300 // toast 가로 크기} ➡️ toastViewtoast를 화면에 어떻게 보여줄 지 보여주는 뷰struct ToastView: View { var message: String var width = CGFlat(200) var onCancelTapped: (() -> Void) var b..

IOS/SwiftUI 2022. 10. 29.
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바