본문 바로가기

분류 전체보기76

@pulse vs distinctuntilchanged 안쓰는거 차이 https://phillip5094.tistory.com/106 [ReactorKit] @Pulse 안녕하세요. 요즘 업무가 많아서.. 글 쓰는 게 좀 뜸했네요...ㅠㅠ 늦었지만, 이번에는 ReactorKit의 @Pulse 라는 property wrapper에 대해 알아볼게요. (이전 [ReactorKit] ReactorKit 입문 글에서 사용했던 Counter phillip5094.tistory.com "State 이벤트 받을 때 distinctUntilChanged를 사용 안 하면 Pulse property wrapper랑 똑같이 동작하는 거 아님??" 아쉽지만 틀린 생각입니다. distinctUntilChanged를 사용하지 않았을 때 State의 특정 프로퍼티가 값이 변하거나 새로 할당될 때만 이.. 2024. 4. 2.
스크린샷 캡쳐시 컨텐츠 내용 안보이게 숨기기 (제스쳐 동작 가능 버전) 예~~전부터 스크린샷 캡쳐시 컨텐츠 내용이 보이지 않게 처리해달라는 요구사항이 있었는데, 앱에서 감지할 수 있는 이벤트라고는 찍고 나서!(Did) 밖에 없었다. UIApplication.userDidTakeScreenshotNotification 그래서 현재 개발중인 앱에서는 스크린샷을 하고나서 안내 알럿을 띄워주고 있었는데, 최근에 시간이 남아서(사실은 다른거 미루고..ㅎ) 생각이나서 검색해보니까 야매로 방법이 있었다. iOS 13버전대부터 스크린샷이랑 스크린레코드시 isSecureTextEntry 가 true면 정보가 노출되지 않는데, 그 기능을 약간 야매로 돌려돌려 만들었다. Prevent screen capture in an iOS app I need to prevent screen capture.. 2022. 1. 25.
xcode 13.2.1 에서 iOS 12 디바이스 빌드시 크래시 이슈 와 화가 난다 아래와같은 메세지 뜨면서 12의 런치 화면에서 크래시 발생하는 이슈 확인함 구글링시 해당 이슈 발생하므로 13.1로 xcode 다운그레이드 하여 사용하라는 다수 리포트 https://developer.apple.com/forums/thread/696960 After upgrading to Xcode 13.2.1, d… | Apple Developer Forums I have the same issue, also on Xcode 13.2.1. Our app compiles for iOS 12 and runs in simulator, but crashes on a real device with the same error that OP posted. developer.apple.com dyld:.. 2022. 1. 20.
cocoapods xcode12 Building for iOS simulator, but linking in dylib... 에러 facebook sdk, naver sdk 가 오래된 버전을 쓰고 있어서 가장 최근 버전으로 업데이트를 하는 과정에서 저 에러를 발견했다. private pod을 dependency 를 사용하여 개발중이어서.. stackoverflow에 나와있는대로 설정을 바꿔줘도 계속 에러 발생했다. xxxx.podspec파일에 아래와 같이 라인 추가하면 정상적으로 된다. Pod::Spec.new do |s| .... s.dependency 'FBSDKLoginKit', '~> 11.2.0' s.dependency 'naveridlogin-sdk-ios', '~> 4.1.3' s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' } s... 2021. 9. 13.
git 태그 정리 remote 에 tag가 없으면 local tag 삭제 git tag -l | xargs git tag -d && git fetch -t 출처 : https://demisx.github.io/git/2014/11/02/git-prune-local-tags-dont-exist-remote.html 2021. 6. 25.
반응형