일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Swift
- java
- arm-linux-androideabi
- 3rd framework
- JetPack
- ndkVersion
- CHAT GPT
- 달러예금
- 고금리
- gradle
- Mac
- BindingAdapter
- Andorid
- RETROFIT
- ios
- audio record
- Data Binding
- MG더뱅킹정기예금
- ndk r24
- KB
- 용산 호반써밋 에이디션
- Android
- kotlin
- Android Studio
- ChatGPT
- EditText
- 청약
- 예금
- 사전청약
- 새마을금고
- Today
- Total
목록ios (13)
pear
AppDelegate Function Add (UIApplicationDelegate function override) func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask { // portrait fixed return UIInterfaceOrientationMask.portrait }

ConcurrencyQueue iOS에서 ConcurrencyQueue 사용 이유 결론부터 이야기하자면 Dead Lock 때문이다. 순차적으로 처리되어야 하는 API Set이 있고 API 처리시간이 짧아 Simple하게 API를 만들고 싶다면 iOS에 익숙지 않다면 SerialQueue에 Sync를 생각하게 된다. 하지만 기본적으로 UI가 처리되는 main thread는 SerialQueue Sync이고 UI 동작 내에서 API를 호출하면 DeadLock 이슈가 발생하게 된다. main.sync{ //[Todo]Print SerialQueue.sync{ ---DeadLock--- //[Todo]Print } } main.sync는 thread내에 처리가 완료되어야 next로 넘어 갈수 있고 SerialQ..
스위프트 메모리 타입 요약 [High] Stack Dynamic Heap BSS GVAR TEXT [Low] value type dump(variable:) dump(with:) dump(object:) EX) String stack 16byte 할당 heap 문자열 할당(짧은 문자열은 stack영역도 사용) dump(with:) copy-on-write Collection Heap print(MemoryLayout.size)//16 var fString = "a" var sString = "bb" print(MemoryLayout.size(ofValue: fString)) //16 print(MemoryLayout.size(ofValue: sString)) //16 주어진 instance 의 memor..
Mobile/Web 등에서 간단한 녹음 API들은 일반적으로 FLOAT32LE/FLOAT32BE 사용한다. 내게 필요한 스펙은 PCM format은 S16LE 이다. swift record - 1을 참고하여 내 스펙에 맞게 변환 import Foundation import AVFoundation //음성버퍼와 녹음 이벤트를 전달할 프로토콜 protocol RecordProtocol: class { func onBuffer(len:UInt32, buffer:[Int16]) func onEvent(type:typeRecord, value:Int) } //녹음 이벤트 상태 값 정의 enum typeRecord: Int{ case start = 1, stop = 0, used = 2, err = 3 } clas..
일반적인 녹음 App 기능이 아님 녹음 모듈 구현을 위한 레퍼런스 체크!! 음성인식및 stream 처리 에 필요한 녹음 버퍼를 만들기 위해 세부적인 설정이 가능한 모듈을 찾아서 커스텀한다. 오늘은 내게 필요한 정보가 모두 있는지 확인 후 다음 기회에 정리하자. 내게 필요한 기본 기능은 16bit sampling rate 부분 버퍼링 우선 잘 모르겠지만 iOS의 RemoteIO Audio Unit 사용 하며 마음이 편하게 BSD 2-clause license 이다. Audio는 디바이스에 하나 뿐이므로 singleton으로 사용 한다. // // RecordAudio.swift // // This is a Swift class (updated for Swift 5) // that uses the iOS R..
apple devloment https://developer.apple.com/documentation/dispatch/dispatchqos // 유저와 직접 응답형 : UI관련 DispatchQueue.global(qos: .userInteractive) // 비동기 처리 : 내부 데이터베이스 조회 등 DispatchQueue.global(qos: .userInitiated) // 일반적인 작업 DispatchQueue.global() // ProgressIndicator와 함께 지속적으로 사용되는 작업 : 지속적인 데이터 feed, Networking DispatchQueue.global(qos: .utility) // 사용자가 직접적으로 인지하지 않는 부분 : 데이터베이스 유지, 데이터 정리 등 -..

old version xcode 3rd part static library use config "Embed & sign" or "Embed without signing". Xcode13(iOS15) 3rd part static library use config change to "Do Not Embed" if still use config "Embed ..." then just build sucess But you can not excute at devices and meet error message Unable to install "App Name" Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402620375 ... The code signature v..