Day#23 github连结先来

先丢github连结!晚点再补内容呜呜呜
居然还有300字以上的限制XDD

ProfileViewController

        let actionSheet = UIAlertController(title: "Sure to sign out",
                                            message: "",
                                            preferredStyle: .actionSheet)

        actionSheet.addAction(UIAlertAction(title: "Sign out",
                                            style: .destructive,
                                            handler: { [weak self] _ in
                                                guard let strongSelf = self else{
                                                    return
                                                }

                                                do {
                                                    try FirebaseAuth.Auth.auth().signOut()

                                                    let vc = LoginViewController()
                                                    let nav = UINavigationController(rootViewController: vc)
                                                    nav.modalPresentationStyle = .fullScreen // if not-> pop up as a card
                                                    strongSelf.present(nav, animated: true)
                                                }
                                                catch {
                                                    print("Fail to log out")
                                                }
                                            }))

        actionSheet.addAction(UIAlertAction(title: "Cancel",
                                            style: .cancel,
                                            handler: nil))

        present(actionSheet, animated: true)

<<:  Day 23 ATT&CK for ICS - Lateral Movement(1)

>>:  【Day23】隐写技术 ─ 工具实作篇(二)

Day23-按钮分身术(上)_纯CSS汉堡图样与改变

今天明天要来写纯CSS可控制的按钮分身术 感谢室友的idea提供~ 之前在重写网站时的首页按钮也是类...

Day 13:因应在地口味调整,根据各平台实作功能!

Keyword: expect/actual 有的时候,在不同平台上,功能的实作有平台上的限制,而这...

【Day 30】结语

不知不觉也来到了第 30 篇,虽然说这是一个三十天的学习纪录,但是却是花了我将近两个月的时间让这个课...

Day 23 : 案例分享(7.2) 库存与制造 - 供应商直运、制造出货、采购出货(自动化库存调拨)

案例说明及适用场景 销售订单出货时,公司可以决定要走公司仓出库路线、或是由供应商直送(用於代销),或...

Day 11 - 成长曲线N+1 : 商业分析师

图片来源 其实心中想要考取商业分析师(PBA - Professional in Business...