Enable swipe back and the bug
Enable swipe back when navigation bar is hidden In iOS, we can swipe back(left to right) to pop the view controller and navigate back. This is only available when the navigation bar is shown. If we...
Enable swipe back when navigation bar is hidden In iOS, we can swipe back(left to right) to pop the view controller and navigate back. This is only available when the navigation bar is shown. If we...
In UINavigationController, there is a property called hidesBarsOnSwipe which hides its bars when scrolling or swipe down. navigationController?.hidesBarsOnSwipe = true We also need to set the vi...
Update: Homebrew를 이용해서 설치하는 방법 추가하고 글 내용을 조금 수정했습니다. M1 맥 미니 구매하고 나서, 놀라운 퍼포먼스와 무소음 환경을 즐기고 있습니다. Xcode에서 빌드하기 위해, 아직 SPM으로 옮기지 못 한 라이브러리 이용하기 위해서 cocoapods를 설치해야 했습니다. 하지만 인텔 기반 맥에서 cocoapods 설치...
iOS에서 UILabel에 한글을 사용할 때, 줄 바꿈이 이쁘게 되지 않아 문제가 됐었는데, 찾다 보니 iOS 14에서부터 한글 사용할 때 줄 바꿈이 이쁘게 할 수 있는 설정이 있다고 해서 테스트해봤다. iOS 13 아래 스크린샷과 같이 한글이 길 경우에는 줄 바꿈이 매끄럽지 않다. 위의 레이블은 attributedText이고 아래 레이블은 일반 텍...
macOS Big Sur에서 Xcode 캐시 혹은 미사용 iOS 시뮬레이터 버전들을 저장공간 > 관리 > 개발자 영역에서 쉽게 지울 수 있습니다.
기술 블로그 시작 2019년 연말부터 거의 꾸준히 글 쓰려고 노력하고 있다. 기술 블로그 통해서 많은 것을 배워서 나도 비슷하게 그런 글을 쓰거나, 아니면 개인적으로 공부한 것을 기록하는 용도로 기술 블로그를 시작했다. 물론, 개인 포트폴리오 용도도 좀 있다. 성실하다는 것을 잘 나타나는 지표로 사용할 수 있기 때문이다. 매일 1일 1커밋으로 Git...
There are some times we need to iterate an array or dictionary to collect or manipulate values. The easy way is using for-in loop, get a value and add or manipulate it to a new array. But Swift off...
Using joined() method, we can merge an array of strings to a single string. We can add a separator too. let names = ["Brian", "Nick", "John", "David"] let list = names.joined(separator: ", ") prin...
iOS 14에서 달라진 앱에서 이메일 보내는 방법을 알아봅시다
With iOS 14, third-party app can be the default email app. This means we may have to support sending email with third-party apps. If the user is not using the default email app and use another app ...