본문 바로가기

전체 글

(177)
맥북 내 네트워크 속도제어 프로그램(Network Link Conditioner) Additional Tools for Xcode를 통해 제공하는 네트워크 속도제어 프로그램 https://nshipster.com/network-link-conditioner/ Network Link Conditioner App developers often forget to test how their apps perform under less-than-ideal networking environments. Learn how you can use the Network Link conditioner to simulate a spotty Internet connection on your device. nshipster.com 설치 완료 하게 되면 환경설정 하단에 다음과 같은 아이콘이 생기게 되며 이를 클릭 ..
swift argument parser를 통한 CLI 앱 생성 https://github.com/apple/swift-argument-parser GitHub - apple/swift-argument-parser: Straightforward, type-safe argument parsing for Swift Straightforward, type-safe argument parsing for Swift - GitHub - apple/swift-argument-parser: Straightforward, type-safe argument parsing for Swift github.com https://ichi.pro/ko/swift-argument-parserleul-sayonghayeo-myeonglyeong-jul-dogu-bildeu-1703203279450..
GitHub CLI (Github을 커멘트라인에서도!) https://cli.github.com/manual/ Manual Take GitHub to the command line cli.github.com gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code.
[Swift] allSatisfy(_:) method 컬렉션의 각 원소들이 특정 조건에 만족하는지 확인하는 method swift 4.2부터 제공 https://developer.apple.com/documentation/swift/array/2994715-allsatisfy https://github.com/apple/swift-evolution/blob/master/proposals/0207-containsOnly.md ex) let names = ["Sofia", "Camilla", "Martina", "Mateo", "Nicolás"] let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 }) // allHaveAtLeastFive == true let numbers = [1, 3, 4, 11, 34..
iOS에서 NWPathMonitor를 통한 네트워크 검색 iOS 12 이전에는 Reachability 클래스를 통하여 iOS 내에서 인터넷 상태를 체크했었습니다. https://developer.apple.com/library/archive/samplecode/Reachability/Introduction/Intro.html Reachability Reachability Last Revision:Build Requirements:iOS SDK 8.0 or laterRuntime Requirements:iOS 8.0 or later Important: This document is no longer being updated. For the latest information about Apple SDKs, visit the documentation website...
Building an Interactive Tutorial 튜토리얼 제작 방법 소개 https://developer.apple.com/documentation/docc/building-an-interactive-tutorial?fbclid=IwAR3eOC7gimF4SZ8P734_kI8O1IQNJKHHAEpypdPKHCsWRu8HBKEybrHlu1w Apple Developer Documentation developer.apple.com
Swift - iPad 멀티태스킹 설정 (Split View/Slide Over) 아이패드 앱 개발 시 이를 활성화 해줘야 내 앱이 멀티태스킹 기능을 동작할 수 있습니다. 애플에서 소개하는 아이패드 멀티태스킹 설명입니다. https://support.apple.com/ko-kr/HT207582 iPad에서 멀티태스킹 사용하기 iPadOS에서는 멀티태스킹을 사용하여 동시에 두 개의 앱으로 작업하고, 비디오를 시청하면서 이메일에 답장하고, 제스처를 사용하여 앱을 전환하는 등 다양한 작업을 수행할 수 있습니다. support.apple.com 앱에서 설정 방법 Info.plist에서 UIRequiresFullScreen 기능을 꺼주시면 됩니다. UIRequiresFullScreen 설정 한 뒤 앱을 실행하면 이렇게 SplitView 기능이 활성화 됩니다. https://developer.a..
Objective-C에서 Swift파일을 Import하는 방법 Objective-C에서 Swift파일을 Import하는 방법에 대한 설명입니다. developer.apple.com/documentation/swift/imported_c_and_objective-c_apis/importing_swift_into_objective-c Apple Developer Documentation developer.apple.com

반응형