일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- toast
- view
- 앱
- 기계학습
- IOS
- 템플릿
- AI
- APP
- Pycharm
- 파이썬
- Machine Learning
- ios toast message
- 머신러닝
- 시각화
- 장고
- Artificial Intelligence
- python
- Toast Message
- 빅데이터
- model
- Deep learning
- swift
- 모델
- BigData
- 인공지능
- 디자인패턴
- swift toast message
- 딥러닝
- Django
- Android
- Today
- Total
목록ios Toast (2)
이끼의 생각
앞서 보여준 2가지의 토스트 메세지와 다르게 이번에 만들 토스트 메시지는 커스텀 클래스로 만들 겁니다. - 간단한 Toast 메세지 만들기(1) https://ikkison.tistory.com/12?category=761126 - 간단한 Toast 메세지 만들기(2) https://ikkison.tistory.com/13?category=761126 먼저 커스텀 클래스를 xcode 프로젝트에 생성합니다. (1) ToastView import UIKit import Foundation import UIKit open class ToastView: UILabel { var overlayView = UIView() var backView = UIView() var lbl = UILabel() class va..
//Toast Message //How To Use : showToast(controller: self, message : "This is a test", seconds: 2.0) func showToast(controller: UIViewController, message : String, seconds: Double) { let alert = UIAlertController(title: nil, message: message, preferredStyle: .alert) alert.view.backgroundColor = UIColor.black alert.view.alpha = 0.6 alert.view.layer.cornerRadius = 15 controller.present(alert, anim..