일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- iOS배포
- 앱버전구하기
- DispatchGroup
- 웹
- Python
- 스위프트
- 개발기록
- 계산기앱
- 맥
- Swift
- ios
- 앱배포
- JavaScript
- 딩동말씀
- Xib
- 자바스크립트
- FLASK
- customclass
- FileOwner
- MainScheduler
- AJAX
- subscript
- jQuery
- spring
- iOS앱배포
- 파이썬서버
- iOS계산기
- Xcode
- 스프링
- 계산기앱만들기
- Today
- Total
목록iOS (13)
개발하는 뚝딱이
1. 현재 앱 버전 구하기 var appVersion: String? { guard let info = Bundle.main.infoDictionary, let currentVersion = info["CFBundleShortVersionString"] as? String else { return nil } return currentVersion } 2. Build number 구하기 var buildNumber: String? { guard let info = Bundle.main.infoDictionary, let buildNumber = info["CFBundleVersion"] as? String else { return nil } return buildNumber } 3. 앱스토어 버전 구하기 ..

커스텀 뷰를 생성할 일이 꽤 많은데, 다양한 방법과 사용이유를 공부해보았다! Storyboard나 코드로 커스텀 뷰 생성하기 (테이블뷰나 컬렉션뷰 셀에서 File's Owner 대신에 CustomClass를 사용해야 하는 이유) CustomClass와 FileOwner의 차이점 init 비교하기 Storyboard나 코드로 Custom View 생성하기 Storyboard로 CustomView 생성하기-A 1. CustomView.swift 파일 생성 import UIKit class CustomView: UIView { override init(frame: CGRect) { super.init(frame: frame) commonInit() } required public init?(coder aDec..

뷰 컨트롤러에 서브뷰를 추가했을 때 종종 레이아웃에 관련하여 문제가 발생하곤 합니다. viewDidLoad()에서 서브뷰의 프레임이 변경되거나, 레이어를 추가해줄 때, 코드로 뷰를 추가하는 등의 행동이 의도대로 실행되지 않을 때가 종종 있습니다. 뷰 컨트롤러의 viewDidLoad()가 실행되는 시점은, 뷰가 생성되어 메모리에 할당되었을 뿐 뷰 계층구조에 뷰가 추가되지 않았기 때문입니다. 이참에 뷰의 레이아웃에 관련된 메서드를 모두 정리해보았습니다. 뷰 컨트롤러에 대해 알아보기 ⏩ ttuk-ttak.tistory.com/73?category=917081 UIViewController의 생명주기 viewDidLoad(_:) 뷰가 메모리에 할당되었을 때 viewWillAppear(_:) 뷰가 계층구조에 추가..

사이트 1. git ignore - 개발환경을 검색하여 추가해서 파일을 생성할 수 있어 유용하다! www.toptal.com/developers/gitignore 2. WTF Auto Layout - 오토레이아웃으로 인해 생기는 로그들을 이해하기 쉽게 번역해주는 사이트 www.wtfautolayout.com/ 라이브러리 1. Alamofire - 아마 많은 사람들이 iOS에 네트워킹 단계를 개발하며 설치하는 라이브러리가 아닐까? github.com/Alamofire/Alamofire 2. SnapKit - 까다로운 뷰 작업이나, 계속해서 뷰 모양이 바뀌는 경우에 유용하다. github.com/SnapKit/SnapKit 3. SwiftyJson - Json을 쓰기 쉽게 만든 라이브러리. Json 데이터를..