JacksonJang's Blog

「 배움의 끝은 없다 」

[SwiftUI] @ObservedObject vs @StateObject

"@ObservedObject vs @StateObject"

핵심 정리 공통점 : 객체의 상태 변화를 감지하고 뷰를 업데이트하는 데 사용되는 속성 래퍼입니다. @StateObject는 부모 뷰가 직접 객체를 소유하고 관리합니다. @ObservedObject는 부모 뷰에서 객체를 관찰하고 업데이트를 반영합니다. ObservableObject 란? @StateObject 와 @ObservedObje...

[iOS] Tuist 사용하기 (1)

"How to use Tuist? (1)"

Tuist 주소 https://github.com/tuist/tuist Tuist 란? 1 Tuist is a command line tool that leverages project generation to abstract intricacies of Xcode projects, and uses it as a foundation to help tea...

[Mac] VSCode 연속입력 키보드 이슈 해결

"VSCode Keyboard typing issue solution in Mac"

매 번 블로그를 작성하면서 vscode 를 사용하고 있었는데, 자꾸 키보드 타이핑을 하면서 화살표로 움직이거나 한글을 입력하고 스페이스를 하면 글자가 짤리는 그런 이슈들이 있어서 짜증나서 알아보게 되어서 메모용으로 기록합니다. 1 defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool ...

[iOS] Core Data 사용하기 (1)

"Let's use Core Data in iOS - 1"

CoreData를 사용할 일이 있어서 공부할 겸 포스팅하게 되었습니다. Core Data 프로젝트 생성 프로젝트를 생성할 떄, 위와 같이 Storage에 Core Data를 체크해서 생성해주면 됩니다. 저는 우선 CoreDataExample이라는 이름으로 프로젝트 생성을 진행하겠습니다. 그러면 아래와 같이 정상적으로 생성된 것을 확인할 수 있...

[iOS] 바텀시트 만들어보기(with. UIPanGestureRecognizer)

"iOS Make BottomSheet(with.UIPanGestureRecognizer)"

오늘은 UIPanGestureRecognizer를 사용해서 바텀 시트를 만들어 보면서 UIPanGestureRecognizer에 대해 알아보겠습니다. UIPanGestureRecognizer 란? A continuous gesture recognizer that interprets panning gestures. UIPanGestureR...

[iOS] UIImagePickerController vs PHPickerViewController

"iOS UIImagePickerController vs PHPickerViewController"

오늘은 카메라와 앨범 기능을 사용하기 위해 UIImagePickerController와 PHPickerViewController에 대해 알아보겠습니다. UIImagePickerController 사용하기 우선 UIImagePickerController를 사용하기 위해서 info.plist에 권한에 대한 설명을 함께 추가해야 합니다. 단, iOS ...

[Backend] 2024년 6월 FCM HTTP v1 삭제 관련(FCM 삭제)

"About FCM will be removed June 2024"

중요 Sending messages (including upstream messages) with those APIs was deprecated on June 20, 2023, and will be removed in June 2024. 위 내용을 해석하면 “해당 API를 사용한 메시지 전송(업스트림 메시지 포함)은 2023년 6월 20일에 ...

[iOS] TestFlight 수출 규정 준수 정보

"iOS Export Compliance Information"

TestFlight에 올리면 귀찮은 일 TestFlight를 올리면 위와 같이 수출 규정 준수 정보(Export Compliance Information)이 뜬다. 이 경우에는 TestFlight에서 맨 아래를 누르고 Save를 클릭하면 됩니다. 하지만..! 깔끔한 해결 방법 Project -> TARGETS -> Info 로 ...

[iOS] UIDatePicker 사용하기

"Use UIDatePicker"

UIDatePicker를 사용할 일이 있어서 블로그엔 포스팅한 적이 없어서 내용 정리 해봤습니다! UIDatePickerStyle 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 @available(iOS 13.4, *) public enum UIDatePickerStyle : Int, @unchecked Sendable ...

[iOS] try increasing the minimum deployment target 에러 해결법

"How to solve the error 'try increasing the minimum deployment target' "

FSCalendar의 예시 파일을 실행하니 아래와 같은 에러를 마주하게 되었습니다. 에러 메시지 1 SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/li...