본문 바로가기

전체 글

(13)
UIImage(contentsOfFile:), UIImage(named:) 차이 UIImage(contentsOfFile:) 메소드는 초기 데이터가 번들에 없는 이미지 객체를 만듭니다. 데이터를 캐싱하지 않기 때문에 반복적으로 이미지를 로드하는데 적합하지 않습니다. Discussion This method loads the image data into memory and marks it as purgeable. If the data is purged and needs to be reloaded, the image object loads that data again from the specified path. https://developer.apple.com/documentation/uikit/uiimage/1624112-init Apple Developer Documentation ..
[Xcode] libSwiftPM.sylib 플러그인을 사용하는 동안 Xcode이(가) 예기치 않게 종료되었습니다. 재현 환경 (My Mac Environment) device 1: M1 mac mini 2020 macOS version: 11.2.3 Xcode version: 12.4 (12D4e) git version: 2.31.1 (brew) device 2: Intel 16-inch macbook pro 2020 macOS version: 11.2.3 Xcode version: 12.4 (12D4e) git version: 2.30.1 (Apple Git-130) 어제 새벽 Big Sur 11.2.3 을 클린 설치했더니 Xcode SPM 에서 아래와 같은 오류가 발생하였습니다. (When I installed Big Sur 11.2.3(Clean Install), the following error occure..
[Xcode] Breakpoint 사용하기 (3) - NSLog 지난 글 보기 [Xcode] Breakpoint 사용하기 (2) - LLDB 지난 글 보기 [Xcode] Breakpoint 사용하기 (1) Xcode 에서는 코드의 진행을 의도적으로 멈추고 그 시점에서의 메모리나 변수 값들을 확인할 수 있는 브레이크 포인트를 제공합니다. 이 글은 시리즈의 �� darth-vader.tistory.com 지난 글에서 LLDB를 소개하고 사용하는 방법에 대해서 간단히 이야기했었습니다. 오늘은 1편과 2편을 응용해서 브레이크 포인트를 활용하는 방법에 대해서 알아보겠습니다. 1편에서는 브레이크 포인트를 생성할 때 멈추고자 하는 line number 를 클릭해서 생성했었습니다. Xcode 에서는 그 방법 외에도 브레이크 포인트를 생성하는 방법이 또 있습니다. 그건 바로 Navi..