본문 바로가기
[SeSAC/TIL] 이미지 이전에 잭님이 다뤄주신 부분이지만, 휴님께서 CS 정리 할 때 한번 더 이미지와 관련된 부분을 정리해주셔서 수업 키워드 내용을 기반으로 개인적으로 정리를 하기로 했다. 오늘 정리할 내용은 이미지에 대한 내용으로, 비트맵과 벡터, JPG - PNG - GIF 에 대한 내용을 개인 복기용으로 (정말) 간단하게 다룰 예정이다. 📌 비트맵 vs 벡터 - 비트맵(Bitmap)이란? 📖 서로 다른 점(픽셀)들의 조합으로 그려지는 이미지 표현 방식으로, 일정 이상 사이즈를 늘리면 픽셀이 깨져버린다. 우리가 흔히 아는 JPG, JPEG, PNG, GIF가 비트맵 표현방식 기반으로 이미지를 표현하는 종류의 예시. 그 특징은 아래와 같다. 종류 특징 투명도 지원 용량 JPG 손실 압축 RGB (세 가지 컬러에 대한 처리).. 2023. 11. 24.
[SwiftUI] Info.plist SwiftUI를 다시 공부해보려고 UIKit에서 사용하던 것들을 이것저것 적용해보던 차, 무언가 이상한 걸 인지했다. 바로, info.plist가 폴더에 없다는 것. 📌 Xcode 13 이후 프로젝트를 다시 만들어보고, 여기저기 눌러봐도 보이지 않아서 검색해보았는데 Xcode 13 이후 애플이 의도적으로 info.plist를 숨겼다는 걸 알게 되었다. 아래는 공식문서에 기재된 관련 내용이다. Projects created from several templates no longer require configuration files such as entitlements and Info.plist files. Configure common fields in the target’s Info tab, and bu.. 2023. 11. 20.
[Study/iOS] unowned vs weak 해당 게시글은 iOS 면접스터디 SweepSwift에서 진행한 질문 중 제가 담당 했던 질문의 답변 내용을 정리 및 보강한 내용입니다. 🔴 unowned와 weak의 차이점을 설명하세요. 캡처 리스트, 객체간의 참조 등의 경우인 강한 참조 순환(Strong Reference Cycle)로 인한 메모리 누수를 방지하기 위해 사용되는 참조 타입입니다. 차이점은 아래와 같습니다. 📌 unowned unwoned를 참조하는 경우 값(value)이 항상 존재한다고 가정하기 때문에 할당해제를 해도 인스턴스가 메모리에서 해제되지 않습니다. unowned는 값에 바로 접근할 수 있습니다. 대신 unowned 참조는 할당해제가 된 상태일 때 nil로 설정되지 않기 때문에 (즉, 객체가 ARC에 의해 메모리가 해제되어도 .. 2023. 11. 14.
[Error] Library not loaded: @rpath no such file ⚙️ Setting - iOS 17 ↑ - Swift vesrion 5.9 - Xcode version 15 💻 Trouble - Error Message: "dyld[5106]: library not loaded: @rpath/rxswift.framework/rxswift%0d%0a referenced from: /private/var/containers/bundle/application/______/name.app/name%0d%0a reason: tried: '/users/callieKim/library/developer/xcode/deriveddata/name-hcxwkdmsuvmqppcfqouwjbvafpio/build/products/debug-iphoneos/packageframeworks/.. 2023. 11. 13.
[Error] Could not get GOOGLE_APP_ID in Google Services file from build environme ⚙️ Setting - iOS 17 ↑ - Swift vesrion 5.9 - Xcode version 15 💻 Trouble - While testing Firebase Messaging, I encountered an error message stating "Could not get GOOGLE_APP_ID in Google Services file from the build environment." ✏️Trouble Shooting - Checked that the bundle ID matches the one saved in Firebase; confirmed it matched. - Downloaded the GoogleService-Info file multiple times to ensure.. 2023. 11. 10.
[WWDC23] Keynote https://developer.apple.com/videos/play/wwdc2023/101/?time=1009 Keynote - WWDC23 - Videos - Apple Developer The Apple Worldwide Developers Conference kicks off with exciting news, inspiration, and new opportunities. Join the worldwide developer... developer.apple.com This post is based on Keynote-WWDC23, especially for iOS. What's the updates for starting iOS 17 ? It was inspiring to check out h.. 2023. 11. 9.