Language
-
이전 리스트와 바뀐 리스트중 빠진 값 찾기Language/Java Script 2023. 6. 28. 18:51
이전 리스트와 바뀐 리스트중 빠진 값 찾기const arrBefore = [ { code: '11', name: 'test1' }, { code: '22', name: 'test2' }, { code: '33', name: 'test3' }, { code: '44', name: 'test4' }, { code: '55', name: 'test5' },];const arrAfter = [ { code: '11', name: 'test1' }, { code: '22', name: 'test2' }, // { code: '33', name: 'test3' }, { code: '44', name: 'test4' }, { code: '55', name: 'test5' },];const remov..
-
React Loop 모음Language/React 2023. 5. 11. 16:56
리액트에서 사용하는루프 정리 ... const ORDER_BY_PUBLISH_DT = 'PUBLISH_DT'; const ORDER_BY_EXP_DAYS = 'EXP_DAYS'; const ORDER_BYS = { [ORDER_BY_PUBLISH_DT]: '최근등록순', [ORDER_BY_EXP_DAYS]: '마감임박순', }; const NoticeItems = (props) => { ... return ( 총 {Util.setComma(totalCount)}개 context.openPopup(POPUP_ORDER_BY)}> {ORDER_BYS[orderBy]} {(() => { if (items && items.length > 0) { return ( {items.map((item, index) =>..
-
문자열 날짜 포멧 변경Language/Java 2023. 4. 18. 13:05
문자열 날짜를 포멧형식을 변경해서 사용할 일이 있어서 간단하게 만들어 보았다, 어려운건 아니라서 나름의 형식에 따라 필요한 부분만 추가해 보았다. 날짜 관련 유틸 ... import java.time.LocalDate; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; ... public class DateUtils { ... /** * DateUtils.formatLocalDateString("20230405", "yyyyMMdd", "yy.MM.dd"); * * @param date * @param fromPattern * @param toPattern * @return */ public static String fo..
-
코코아팟 누락된 파일 libarclite_iphoneos.a (Xcode 14.3)Language/iOS,AOS 2023. 4. 12. 12:17
xcode 14.4으로 업데이트 한 이후에 안되는게 몇개 보인다..;; File not found: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a Podfile 설정 및 pod 재설치 필자는 Podfile을 열어서 맨아래에 아래 코드를 넣어주고 라이브러리를 재설치(https://dchkang83.tistory.com/190) 해줬더니 된다. post_install do |installer| installer.generated_projects.each do |project| project.targets.each do |target| target..
-
코코아팟 라이브러리 인식 문제Language/iOS,AOS 2023. 4. 12. 12:00
cocoapods으로 설치한 라이브러리 인식을 못하는 문제가 발생하였고 해결하는 과정을 정리해 두려고 한다. 정리에 필요한 라이브러리 설치$ sudo gem install cocoapods-deintegrate cocoapods-clean 정리 시작$ pod deintegrate$ pod cache clean --all 라이브러리 설치$ pod install 더깔끔하게혹시라도 위 과정에서도 해결이 안되거나, git 충돌등이 발생한다면 아래처럼 폴더까지 다 삭제하고 재설치 해보는것도 방법이다.$ pod deintegrate$ rm -rf Pods$ rm -rf Podfile.lock$ rm -rf gobang.xcworkspace$ pod cache clean --all$ pod install 참조ht..
-
iOS 애플 로그인Language/iOS,AOS 2023. 4. 11. 18:53
웹뷰를 사용하는 환경에서 웹 소스에서 bridge를 통해 iOS에서 로그인 인증을 받는 부분을 정리하려고 합니다. 1. 애플 개발자 사이트 설정 https://developer.apple.com/ Apple Developer There’s never been a better time to develop for Apple platforms. developer.apple.com 아래와 같이 Account -> Identifiers -> Sign In with Apple 추가 후 프로비저닝 프로파일 다시 내려받아서 적용합니다. 2. Capablility 추가 `+` 를 눌러서 Sign In with Apple를 추가합니다. 3. 코드 3.1. Swift 코드 import AuthenticationService..
-
TestFlight tester 등록 방법Language/iOS,AOS 2023. 3. 31. 12:02
1. 아래 사이트 접속 https://appstoreconnect.apple.com/ https://appstoreconnect.apple.com/ appstoreconnect.apple.com 2. 사용자 등록 사용자 정보 입력 및 초대 3. 초대 이메일 승인 메일 받은거 승인 4. TestFlight에서 앱에 테스터 추가 5. 앱에 TestFlight 설치하고 초대코드 추가 초대코드 추가 TestFlight 설치 된 단말기에서 초대코드를 승인하면 TestFlight에 바로 뜨지만 메일을 다른데서 받았다면 `교환` 버튼을 클릭하고 초대코드를 입력해주면 된다.