iOS
[Swift] iOS 개발과 Swift 관련 참고 및 정리
건복치
2020. 3. 4. 00:05
반응형
자동 Indent
ctrl + i
UIBarButtonItem
*네비게이션바 왼쪽 버튼 텍스트로 만들기
self.navigationItem.leftBarButtonItem = UIBarButtonItem(title: "LEFT", style: .done, target: nil, action: nil)
* 네비게이션바 오른쪽 버튼 이미지로 만들기
let rightButtonImage = #imageLiteral(resourceName: "camera")
self.navigationItem.rightBarButtonItem = UIBarButtonItem(image: rightButtonImage, style: .plain, target: self, action: #selector(addTapped))
Swift Naming Guide
https://stackoverflow.com/questions/52347745/ios-naming-conventions-for-buttons-labels-etc
ERROR 해결 - 'UIScene' is only available in iOS 13.0 or newer
https://cishome.tistory.com/151
Parse XML in iOS with Swift - Build a RSS News Reader App
https://www.youtube.com/watch?v=fP69LI5bZlg
App Transport Security has blocked a cleartext HTTP (http://) resource load
https://dark0946.tistory.com/312
https://www.hahwul.com/2019/03/ios-app-http-app-trasport-security.html
공부할 것
#Selector addTarget
Any AnyObject
sender
_
개발자도 잘 모르는 가장 일반적인 실수 10가지
반응형