본문 바로가기

Ideas

[iOS/Xcode] network traffic details XCode에서 네트워크상 트래픽 세부정보 확인 더보기
[Android] OkHttp3 Network Interceptor retrofit2 통신 시 네트워크 상에서 파라미터 확인이 필요한 경우 해당 기능 추가 더보기
[XCode/Swift] UITableView dynamic cell height UITableView에서 Cell height 가변 시 아래 코드 적용 더보기
[XCode/iOS] macos, swift 용 .gitignore 생성방법 XCode iOS용 .gitignore 작성 방법 - 모든 작업은 terminal 에서 진행 - git이 설치되어 있음 - .git repository를 프로젝트에 생성해 놓음 1. gitignore 생성관련 git config 환경설정(git 설치 후 최초 1회만 진행) $ git config --global alias.ignore '!gi() { curl -L -s https://www.gitignore.io/api$@; }; gi' 2. gitignore를 추가할 프로젝트 경로로 이동 3. www.gitignore.io 에 등록된 gitignore 생성 (사용할 언어에 대한 ignore 다수 지정 가능 : 빨간색으로 표시) $ git ignore swift,macos > .gitignore 4. 생.. 더보기
[AndroidStudio] No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android AndroidStudio 빌드 시 오류 발생 No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android App단위 Gradle에 명시된 버전을 3.1.4 이상으로 높이면 해당 문제가 없어진다. > classpath 'com.android.tools.build:gradle:3.3.0' 안드로이드에서 사용되는 NDK 버전이 올라가면서 MIPS형 CPU에 대한 지원이 중단되었습니다. 그런데 build.gradle에 지정되어있는 gradle 버전이 낮으면 안드로이드 스튜디오가 MIPS에 대한 정보를 계속 찾으려고 하다가 위와 같은 에러를 내게 됩니다. 이럴 때에는 gradle 버전을 3.1.4 나 그 이상.. 더보기
[swift3] custom segue transition animation # 오른쪽화면이 왼쪽으로 이동하며 등장 (right to left)# 왼쪽화면이 오른쪽으로 이동하며 등장 (left to right) # 적용 : Segument 선택 > Attributes Inspector 탭 > Kind = Custom 선택, Class = SegueLeftToRight 또는 SegueRightToLeft 선택 끝. 더보기
[iOS] how to create iOS/swift .gitignore in MacOS terminal(console) # console(terminal)에서 iOS/swift .gitignore 생성하기 console(terminal)에서 작업. console(terminal)로 git 프로젝트 이동. https://gitignore.io 에서 ignore 기본값을 받아오도록 git config 설정 ( .gitignore 파일은 아직 생성되지 않음 ) $ git config --global alias.ignore '!gi() { curl -L -s https://www.gitignore.io/api/$@ ;}; gi' .gitignore 에 swift 및 macos 관련 설정 추가 및 적용 ( .gitignore 파일 생성 ) $ git ignore swift,macos > .gitignore 추가한 .gitignor.. 더보기
[android] how to create android .gitignore in android studio # AndoridSudio에 .gitignore 추가하기 AndroidSutiod App단위 root path 최상단에 단 하나의 .gitignore 만 존재하면 된다. project별로 ignore를 다르게 하고 싶다면 프로젝트 단위 폴더에 .gitignore를 별도로 추가하면 된다. .gitignore 에 아래 옵션들을 추가 후 저장한다. # Created by https://www.gitignore.io/api/android ### Android #### Built application files*.apk*.ap_ # Files for the ART/Dalvik VM*.dex # Java class files*.class # Generated filesbin/gen/out/ # Gradle file.. 더보기
[git/gitlab] how to clone with gitlab ID/PW in console # 콘솔에서 Gitlab 계정(push권한)을 이용한 클론하기. Gitlab에서 clone은 따로 접근권한이 필요 없으므로 console 에서 clone 시 아무 문제 없이 받아진다. > git clone http://YOUR_REMOTE_URL:YOUR_PORT/YOUR_PROJECT.git 하지만 clone 후 해당 프로젝트를 수정하고 add/commit 후 push하려 했을 때 다음과 같은 오류에 직면하게 된다. remote: GitLab: You are not allowed to push code to this project.To http://YOUR_REMOTE_URL:YOUR_PORT/YOUR_PROJECT.git ! [remote rejected] master -> master (pre-re.. 더보기
sitemap 더보기