Swift 140

Mapkit custom annotation

https://ios-developer-storage.tistory.com/entry/MKMapKit-CLCoreLocation-%EC%98%88%EC%8B%9C%EB%A1%9C-%EC%89%BD%EA%B2%8C-%EC%9D%B4%ED%95%B4%ED%95%98%EA%B8%B0-%EB%8B%A4%EC%9A%B4%EB%A1%9C%EB%93%9C-%EC%A0%9C%EA%B3%B5 [iOS/Swift] MKMapKit, CLCoreLocation 으로 지도앱 만들기- 소스코드 제공 MKMapKit과 CoreLocation을 활용해 간단한 앱 만들기 GitHub - AnnaBaeTofuMom/MapKitPlay: 맵킷을 처음 사용하시는 분들의 이해를 돕는 간단한 지도앱 맵킷을 처음 사용하시는 분들의 이해를 돕는..

공통된 xib 파일 만들기 (하나의 파일을 여러 곳에 적용)

넷플릭스 UI를 떠올렸을 때, 영화 포스터 (CardView)가 테이블 뷰 안에 컬렉션 뷰 안에 여러개가 적용됨. 위에 반복되는 검정 CardView를 만드는 방법은 ??? 아래와 같다. /* Xml Interface Builder 1. UIView Custom class 2. File's owner -> 자유도 , 확장성 더 높다 */ 1번이 원래 하던건데 이거 class연결 끊고 여기선 2번으로 가자! //변경되지 않는 UI override func awakeFromNib() { super.awakeFromNib() }

iOS swift] tableView section 이름 붙이기 - titleForHeaderInSection

iOS swift] tableView section 이름 붙이기 (섹션마다 title이 있는 tableView) 키워드: titleForHeaderInSection https://calmone.tistory.com/entry/iOS-UIKit-in-Swift-4-section%EC%9C%BC%EB%A1%9C-%EB%82%98%EB%88%84%EC%96%B4%EC%A7%84-UITableView-%EB%A7%8C%EB%93%A4%EA%B8%B0 [iOS UIKit in Swift 4] section으로 나누어진 UITableView 만들기 section으로 나누어진 UITableView 만들기 UITableView를 2개의 section으로 나누어 iOS와 AOS의 버전을 나열해봤습니다. section의 ..

iOS swift 로딩중 progress view만들기 - JGProgressHUD github

i0OS swift progress view만들기 - JGProgressHUD github https://github.com/JonasGessner/JGProgressHUD GitHub - JonasGessner/JGProgressHUD: An elegant and simple progress HUD for iOS and tvOS, compatible with Swift and ObjC. An elegant and simple progress HUD for iOS and tvOS, compatible with Swift and ObjC. - GitHub - JonasGessner/JGProgressHUD: An elegant and simple progress HUD for iOS and tvOS, co..

TMDB Project 과제 8.4 수업 중 피드백

1. 이미지 안 나옴 string -> url -> imageview로 사진을 보여줌 여기서 url -> imageview로 바꿔주는거 : 네트워크 통신. => 이걸 쉽게 해결해주는 라이브러리: kingfisher url 매개변수를 kingfisher에 넣어주어야 함. 1-2. url 고유한 형태가 맞는가에 대한 검증 TMDB 이미지 주소: http://tmdb.co.kr/--------- 앞쪽에 http://tmdb.co.kr을 앞에 직접 달았어야 함. 굳이 똑같은 정보를 계속해서 넣을 필요x 나중에 처리 쉽게하기 위해서 앞에 http://~~를 생략해놓은 것일 수 있다. 따라서, response값을 잘 봐야 하고 잘 조합시켜야 함. 2. 이미지 변환 시점 셀에서 URL, UIImage 변환을 할 것인..

iOS swift 타입 어노테이션 vs. 타입추론

iOS swift 타입 어노테이션 vs. 타입추론 -> 누가 더 빠를까? => 타입 추론 (근데 사실 속도 차이가 많이 나지는 않음) 아래 링크 참조 https://forums.swift.org/t/regarding-swift-type-inference-compile-time-performance/49748 Regarding Swift type inference compile-time performance Hey all! This came up during a discussion today and I honestly wasn't sure if my assumptions were correct so looking for some clarity here! 🤞 What are the compile-time p..

iOS swift 인증키 -> git ignore

iOS swift : 인증키 -> git ignore 주의사항 1. 코드 작성하기 전에 제일 먼저 해야 함. 그렇지 않으면 API key가 남아있을 수 있다. empty파일 생성 나중에 아래와 같이 파일 위치가 되어야 한다. (제일 윗그룹 바로 아래에 .gitignore위치) .gitignore에 먼저 파일명 쓰고 나서 그다음에 왼쪽 목록에서 파일 생성. (Example VC, Example2 VC등) https://www.toptal.com/developers/gitignore/api/swift,xcode