iOS - DeepLink
·
개발일기/IOS
2025년 8월에 파이어베이스 동적링크 서비스 지원 중단.. IOS에서 딥링크를 구현하는 방법URL Scheme어떤 스키마를 사용할 건지 앱에 설정(프로젝트 Info → URL Types에서 스키마 등록)Universal Links프로젝트 Signing & Capabilities > Associated Domains에 Domain을 등록(다이나믹 링크도 마찬가지)외부에서 딥링크를 탭하면func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) 여기에서 앱을 시작Dynamic LinksFirebase에서 제공하는 딥링크의 일종(초대장 보내기 등에 사용)링크를 미리 만들어..
iOS 개발할 때 유용한 사이트 모음
·
개발일기/IOS
애플 개발자 문서 한글 번역 애플 개발자 문서 한글 번역 | 사과애플 개발자 문서 한글 번역 본 문서는 Gitbook으로 작성되었습니다. GitHub에서 읽고 계신 분은 Gitbook 링크로 접속해서 보시는 것이 더 편합니다. 들어가기 전에 본 문서는 Apple 개발자 페이지의 Documelod-it.gitbook.io The Swift Programming Language (한국어) The Swift Programming Language (한국어) | SwiftLast updated 3 months agobbiguduk.gitbook.io UIActivityIndicatorView.HidesWhenStopped 속성 (UIKit) UIActivityIndicatorView.HidesWhenStopped..
UIView.animate 메모리릭 관련하여...
·
개발일기/IOS
https://gyuios.tistory.com/219 iOS) UIView.animate(...) 왜 메모리릭이 발생하지 않나요?Is it necessary to use [unowned self] in closures of UIView.animateWithDuration(...)? 이 글은 위의 stackoverflow 질문을 읽고 정리해본 글입니다. 작성자님의 질문을 아래와 같았다. 아래의 코드는 메모리 릭을 피할 수gyuios.tistory.com ARC에 대해 다시 공부하는게 좋을듯https://yudonlee.tistory.com/35 [Swift] Strong Reference Cycle - ARC 기초 2탄안녕하세요, 지난 포스팅에선 ARC의 정의, ARC의 작동원리에 대해서 공부했습니다. ..
[Xcode] - static Library
·
개발일기/IOS
static library 정리https://zeddios.tistory.com/1308 (Static/Dynamic) Library안녕하세요 :) Zedd입니다. ~ 애플 문서를 보던 중 ~ Overview of Dynamic Libraries Overview of Dynamic Libraries Two important factors that determine the performance of apps are their launch times and their memory footprints. Reducing the sizezeddios.tistory.com staticlibrary로 나온 .a 파일과 헤더파일 → 헤더파일이 해당이름의 .a파일을 가르키고있기 때문에 .a파일의 이름을 바꾸게 되면 찾지..
Xcode build setting 때 inherited 의미
·
개발일기/IOS
상속이라는 의미로 나보다 한단계 낮은 우선순위의 값을 상속받겠다는 뜻! build setting에서 우선순위는 1. 타겟의 설정값 2. 설정파일의 설정값 3. 프로젝트의 설정값 4. 기본값 Pod에서는 설정파일의 설정값(Config file)을 이용하여 빌드 설정을 세팅한다. 하지만 Pod 에서 설정한 것 보다 개발자가 타겟에 직접 설정한 세팅이 우선순위가 높기 때문에 Pod은 건들 수 없게 된다.
[Xcode] 멀티 디바이스 세팅(feat. rosetta)
·
개발일기/IOS
멀티 디바이스 대응(Universal app)UIRequiredDeviceCapabilities 설정을 arm 7으로 세팅(PropertyList에서 세팅, info.plist)https://ios-development.tistory.com/805 [iOS - XCode] Universal App, armv7, arm64 멀티 디바이스 대응, 바이너리 파일 설정 (CISC, RISC)arm이란? ARM(Acorn RISC Machine) 기반의 cpi를 탑재한 것 컴퓨터 구조 기초 - Architecture의 종류 CISC (Complex Instruction Set Computer): 모든 코드 언어 문장들에 대해 각각 기계 명령어가 대응 (복잡하고 기능이ios-development.tistory.co..
[Xcode] build setting - build active architecture only
·
개발일기/IOS
build setting - build active architecture onlyYes: 디버그 용도- 빠른 속도, 단 32bit아키텍처만 지원32bit 아키텍처: armv7, armv7sNo: 배포 용도- 64bit 아키텍처도 지원64bit 아키틱쳐: arm64
Xcode 시뮬레이터 빌드 안되는 문제
·
개발일기/IOS
rosetta 시뮬레이터로 설정해줘야한다!! ! rosetta가 뭐임?✅ Rosetta는 인텔 프로그램에서 OS X와의 호환성을 연결해주는 백그라운드 프로그램이라고 합니다. 응용 프로그램중에 응용 프로그램(Intel)로 표시되어 있는 프로그램들은 M1같이 Apple 실리콘이 탑재된 맥북에서 작동하기 위해서는 Rosetta가 필요합니다. Xcode는 응용 프로그램(Universal)로 되어 있기 때문에 Apple 실리콘과 인텔을 모두 지원하는 걸 알 수 있고, 범용 앱이기에 Rosetta가 필요하지 않습니다. ! 굳이 사용하지 않아도 arm과 x86_64 를 모두 지원하는데 굳이 Rosetta를 누르는 이유?✅  해당 설정을 누르게 되면 Universal 앱에서 Apple Silicon을 지원하도록 업데이..
[UiKit] pod install 오류
·
개발일기/IOS
[!] CocoaPods could not find compatible versions for pod "MobWithAD": In Podfile: MobWithAD (= 1.2.4)None of your spec sources contain a spec satisfying the dependency: `MobWithAD (= 1.2.4)`.You have either: * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`. * mistyped the name or version. * not added the source repo that hosts the Pod..
[UiKit] 뷰 레이아웃 관련 메서드 정리...
·
개발일기/IOS
View와 ViewController 레이아웃 사이클ViewController 를 표시했을 때, 3단계로 호출이된다업데이트 : 오토레이아웃의 Constraints를 갱신한다. Constraints의 갱신은 SubView로부터 SuperView의 순서대로 호출된다.레이아웃 : Constraints를 바탕으로 레이아웃을 실행한다. 여기에서 view의 center와 bounds를 결정한다. 레이아웃의 갱신은 superview로 부터 subview의 순서로 호출된다.그리기 : 레이아웃 후, UIView의 drawRect(rect:CGRect)가 호출된다. 이때는 CoreGraphics를 사용하여 그린다.viewController에서 레이아웃이 결정되는 과정viewWillLayoutSubViews() 메서드 호출..