분류 전체보기
-
SwiftUI - trim()developing study 2023. 4. 16. 21:09
타이머가 돌아가는 중에 원에 Progressbar처럼 채워지는 기능 구현 중 공부하게 됐다. 우선 trim이란 프로그래밍상에서의 뜻은 불필요한 부분을 잘라낸다 는 뜻. 파라미터로 startFraction과 endFraction이 들어간다. func trim( from startFraction: CGFloat = 0, to endFraction: CGFloat = 1) -> some Shape 시작되고 끝나는 값이 0과 1로 초기화 돼있고 Shape를 리턴하는 모양. 공식문서에 나와있는 아래 코드로 실행해봤더니 Path { path in path.addLines([ .init(x: 2, y: 1), .init(x: 1, y: 0), .init(x: 0, y: 1), .init(x: 1, y: 2), .in..
-
Tuist 설치시 오류 - dylib not founddeveloping study 2023. 4. 11. 12:46
Tuist를 적용하기 위해 튜토리얼대로 설치하는 도중 다른 맥에서는 잘 되던 것이 내 맥에서 설치하는 도중 같은 오류가 계속 발생하면서 애를 먹었던 기록... 결과만 보면 좀 어이없었다... 에러 내용은 이렇다. Error: The 'swift' was interrupted with a signal 6 and message: dyld[22737]: Library not loaded: @rpath/libswiftCore.dylib Reason: tried: 어쩌구 ~ /.tuist/Versions/3.17.0/libswiftCore.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolc..
-
[Swift] CGRectdeveloping study 2022. 8. 28. 19:02
frame, bounds를 보던 중 CGRect가 있어서 연결해서 공부. CGRect definition Structure, A structure that contains the location and dimensions of a rectangle 사각형의 위치와 넓이를 담는 스트럭쳐. Core Graphics의 좌표계 : origin이 왼쪽 아래, 오른쪽 위를 향해 확장하는 방식. => 그래서 init시에 CGPoint, CGSize로 value를 만듬.
-
[Swift] Frame, Boundsdeveloping study 2022. 8. 28. 18:57
SwiftUI의 새로운 API인 Layout을 이용해 UI코드 작성 중 origin을 이용하는 개념이 많아서 frame, bounds, origin의 개념을 다시 볼 (어쩌면 제대로 알지 않고 넘어갔었기 떄문) 필요를 느껴서 정리. 아래처럼 bounds를 서브뷰를 placing하는데 받고 있다. The region that the container view's parent allocates to the /// container view, specified in the parent's coordinate space. /// Place all the container's subviews within the region. /// The size of this region matches a size that y..
-
[CI/CD]FastLanedeveloping study 2022. 8. 1. 23:23
bundle update Gemfile만든 후 bundle install brew install fastlane bundle exec fastlane init -> 3선택. AppStore에 올리기 전 Screenshots, metadata는 무엇인가 Metadata : 앱이 어떤 앱인지를 설명할 수 있는 것 => App Store에서 나와있는 앱 소개 텍스트, 이미지를 포함한 모든 것.(이름, 부제목, 설명, 키워드, 나이제한, 스크린 샷 등) https://docs.fastlane.tools/getting-started/ios/setup/
-
[CI/CD] Error : gem executables will not run카테고리 없음 2022. 8. 1. 23:07
gem install bundler를 하려고 하지만 오류 발생 - 해결 과정을 담았는데 정확히 왜 해결이 됐는지 더 공부할 필요가 있다. Mac Monetry ver. 1.첫번째 시도 : 문서에 나와있는대로 실행 -> x gem install bundler --user-install https://bundler.io/doc/troubleshooting.html Bundler: The best way to manage a Ruby application's gems Troubleshooting common issues Stuck using Bundler? Browse these common issues before filing a new issue. Permission denied when installin..