분류 전체보기(864)
-
Custom TabBarController 만들기
크게 손대지 않고 커스텀 탭바를 만들고 싶을때 도움이 된다. https://stackoverflow.com/questions/59091488/swift-custom-tabbar-with-center-rounded-button Swift: Custom TabBar with center rounded button I try to create custom tabbar like the below picture: Below is the result i get: Below is my current code: class CustomTabBarController: UITabBarController { override func viewDidLoad() { ... stackoverflow.com https://better..
2021.07.20 -
Swift WebKit으로 카카오 주소 연동하기
개인적으로 이렇게 A부터 Z까지 친절하게 작성한 레퍼런스를 좋아한다. 이 얼마나 아름다운가. https://kasroid.github.io/posts/ios/20200916-webkit-search-address-with-kakao-with-uikit/ WebKit - 카카오 우편번호 서비스 구현하기 with UIKit 본 포스팅은 Swift 5.3 기준으로 작성되었습니다. Intro 저는 요새 Market Kurly 앱을 클론하는 프로젝트를 진행하고 있는데요. 회원가입 부분에서 Kakao 우편변호 찾기 기능을 지원하더라고요. 사용자로 kasroid.github.io https://eddiekwon.github.io/swift/2018/10/19/GPSAddress/ GPS정보로 주소 출력하기 · edd..
2021.07.08 -
Crontab 사용법
매 10분마다 실행시키기 */10 * * * * 실행명령 https://m.blog.naver.com/PostView.nhn?blogId=muscle1&logNo=10017426327&proxyReferer=https:%2F%2Fwww.google.com%2F cronjob 확인방법 #crontab -l : 현재 돌아가는 cronjob을 알수 있다.00 20 * * 1,2,3,4,5,0 /dataload/proc/CON_PK.sh ... blog.naver.com https://dev-mumu.tistory.com/21 Linux - 크론탭(crontab) 10분마다 실행 # +---------------- 분 (0 - 59) # | +------------- 시간 (0 - 23) # | | +-----..
2021.07.05 -
Swift 개발 팁
https://medium.com/@imsree/custom-circular-progress-bar-in-ios-using-swift-4-b1a9f7c55da Custom Circular Progress Bar in iOS using Swift 4 Before starting, let me show you our desired output first! medium.com https://www.raywenderlich.com/5436806-modern-collection-views-with-compositional-layouts Modern Collection Views with Compositional Layouts In this tutorial, you’ll learn how to build beaut..
2021.07.05 -
MongoDB Router와 AWS Elastic Load Balancer 사용
MongoDB 샤딩 클러스터를 구성할 때, Router를 여러개 사용하여 트래픽 분산을 하고자 할때 AWS Elastic Load Balancer(ELB)를 사용하면 손쉽게 처리가 가능하다. MongoDB Router 들로 Target Group을 구성하고, 그것으로 ELB를 구성하면 된다. 백엔드에서는 ELB DNS로 접속을 하면, 다종으로 Target Group 안에 있는 Router 중에 하나에 연결시켜 준다. https://aws-hyoh.tistory.com/entry/AWS-Elastic-Load-BalancerELB-%EC%89%BD%EA%B2%8C-%EC%9D%B4%ED%95%B4%ED%95%98%EA%B8%B0-2?category=768982 AWS Elastic Load Balancer..
2021.06.28 -
MongoDB "TooManyLogicalSessions" 오류
Mongos 라우터 인스턴스가 CPU 사용률 100%가 되고, "TooManyLogicalSessions"라는 오류를 내면서 접속이 불가능한 경우가 발생하였다. 일단 해당 인스턴스를 재부팅하고 다시 실행시키는 조치를 취하기는 했는데, 근본적인 해결책이 되는지는 확실치 않다. How to fix Mongo “TooManyLogicalSessions” error? https://stackoverflow.com/questions/62433556/how-to-fix-mongo-toomanylogicalsessions-error How to fix Mongo "TooManyLogicalSessions" error? I have a sharded cluster of replica sets. It seems I co..
2021.06.28