본문 바로가기
반응형

#모바일 [Mobile]56

[iOS] GestureRecognizer이 반응하지 않을 경우 (GestureRecognizer not responding to tap) 📄 Swift Source Code [target view].userInteractionEnabled = true 🚀 REFERENCE GestureRecognizer not responding to tap After initialisation of by subclass of UIImageView I have the following line of code: self.userInteractionEnabled = true self.addGestureRecognizer(UITapGestureRecognizer(target: self, action: "han... stackoverflow.com 2019. 7. 3.
[iOS] 테이블 뷰 셀 밀어서 삭제하기 (Add swipe to delete UITableViewCell) 테이블 뷰 셀 밀어서 삭제하기 (Add swipe to delete UITableViewCell) 📄 Add swipe to delete UITableViewCell Source Code by Swift func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool { return true } func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath) { if (editingStyle == .delete) { // handle delete (by removin.. 2019. 7. 2.
[iOS] UserDefaults (How to save user settings using UserDefaults) How to save user settings using UserDefaults 📄 Swift Source Code // Save let defaults = UserDefaults.standard defaults.set(25, forKey: "Age") defaults.set(true, forKey: "UseTouchID") defaults.set(CGFloat.pi, forKey: "Pi") // Retrive let age = defaults.integer(forKey: "Age") let useTouchID = defaults.bool(forKey: "UseTouchID") let pi = defaults.double(forKey: "Pi") 🚀 REFERENCE How to save user se.. 2019. 7. 2.
[iOS] 부스트코스 - iOS 프로그래밍 📌 iOS - Edwith Boost Course 네이버에서 설립한 커넥트재단은 교육을 통해 개인의 지속적인 성장과 발전을 돕고, 원하는 곳 어디든 배움의 기회가 열리는 세상을 만들기 위해 노력합니다. 부스트코스는 커리어 역량을 강화할 수 있도록, 커넥트재단에서 기획하고 운영하는 실무형 온라인 교육 프로그램입니다. 📌 iOS 부스트 코스 프로젝트 목록 (Boost Course Project List for iOS) [#1 Project Tech Keyword] - Foundation, UIKit, Autolayout, Cocoa Touch, MVC (Model-View-Controller), AVFoundation [#2 Project Tech Keyword] - H.I.G (Human Interface.. 2019. 6. 30.
반응형