일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- extension
- url
- 스위프트
- Terminal
- initalizer
- optional
- Swift
- 디자인패턴
- Foundation
- property
- Unicode
- delegate
- instance
- type
- enum
- interpace
- struct
- Method
- Git
- Class
- UIKit
- Xcode
- String
- tuist
- init
- Protocol
- IOS
- initializer
- 코딩테스트
- 이니셜라이저
- Today
- Total
목록url (3)
아리의 iOS 탐구생활

AVAudioPlayer Apple Developer Documentation developer.apple.com 파일이나 메모리의 오디오 데이터를 재생하는 것들 담당하는 타입이다. local에 있는 오디오 파일을 재생할 수 있다. AVAudioPlayer가 할 수 있는 일은 다음과 같다. Play sounds of any duration Play sounds from files or memory buffers Loop sounds Play multiple sounds simultaneously, one sound per audio player, with precise synchronization Control relative playback level, stereo positioning, and pla..

iOS 프로그래밍 강의를 듣다가 만나게 된 번들. 이 번들은 디렉토리를 추상화한 용어이다. Bundle과 Package 개념을 서로 혼용해서 쓰는 경우가 많은데, 많은 Bundle이 Package이기도 하기 때문이다. application 같은 경우는 Finder에서 사용자에게 단일한 파일로 노출되는 Package이면서, 실행 코드와 리소스를 포함하여 Bundle이기도 한 대표적인 예시라고 볼 수 있다. A Bundle is a directory with a standardized hierarchical structure that holds executable code and the resources used by that code. 실행 가능한 코드와, 그 코드에 의해 사용되는 리소스를 가진 디렉토리...

Apple Developer Documentation developer.apple.com 아이폰 앱마다 자기만의 공간을 가지고 있는데, 이 공간을 관리하는 매니저라 생각하면 될 것 같다. 이 공간은 일반 맥, 윈도우처럼 Document 폴더, Download 폴더 등등 다양한 종류의 폴더가 있다. 경로(URL) 접근하기 다른 작업을 하기전 공통 사항인 해당 폴더로 접근하는 방법을 먼저 알아보자. // 파일매니저 인스턴스 생성 let fileManager = FileManager.default // 사용자의 문서 경로 let documentPath: URL = fileManager.urls(for: .documentDirectory, in: .userDomainMask)[0] urls라는 메소드는 요청된 ..