| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- ai coding tool
- 비동기
- hugging
- Swift
- Combine입문
- cursor ios
- autoLayout
- RxSwift비교
- Combine개념
- cursor xcode
- ios
- User Rules
- cursor ios 개발
- PassthroughSubject
- priority
- Publisher
- Combine
- Cocoapods
- 라이브러리
- RxSwift에서Combine
- ChatGPTCodex
- CurrentValueSubject
- 코딩에이전트
- SwiftCombine
- iOS기술블로그
- AI개발도구추천
- CURSOR
- Combine공부
- Codex사용법
- Codex리뷰
- Today
- Total
목록iOS (23)
Tong's Blog
안녕하세요.지난 글에서는 Combine의 기본 개념과 Publisher / Subscriber, 그리고 RxSwift와의 대응 관계를 간단히 살펴보았는데요.이번 글에서는 Combine에서 자주 사용하는 Publisher 종류와, 이에 대응되는 RxSwift 컴포넌트를 함께 비교하면서 정리해보려고 합니다.실제로 개발을 하다 보면 "어떤 Publisher를 써야 하지?", "RxSwift에서 쓰던 그 기능은 Combine에서는 뭐지?" 이런 고민이 자연스럽게 생기기 때문에 이번 내용이 앞으로의 글을 이해하는 데도 큰 도움이 될 것 같아요. Publisher란 무엇인가?Combine에서 Publisher는 값을 만들어 내는 생산자입니다.하지만 모든 Publisher가 동일한 방식으로 값을 내보내는 건 아니고,..
안녕하세요.최근에 iOS 개발을 하면서 RxSwift 에서 벗어나 Combine 과 Swift Concurrency 를 사용해 개발을 하면서도개념과 RxSwift 와 비교해서 모르고 사용하는 느낌이 들어서 공부하면서 내용을 정리하고자 포스팅을 남깁니다. 그럼 공식문서부터 보면서 Combine 의 개념부터 알아보겠습니다. https://developer.apple.com/documentation/combine Combine | Apple Developer DocumentationCustomize handling of asynchronous events by combining event-processing operators.developer.apple.comThe Combine framework provid..
안녕하세요.지난 포스팅에서는 Cursor 에 iOS 를 동작시킬 수 있도록 세팅하는 방벙을 설명드렸는데요https://tong94.tistory.com/32 [iOS] Cursor 에 iOS(Xcode) 프로젝트 연동하기안녕하세요.오랜만에 포스팅을 올리네요. 오늘은 iOS 프로젝트를 연동하는 법에 대해 포스팅하려고 합니다. 최근 여러 ChatGPT 를 비롯해 여러 AI Tool 들이 발전하면서 AI Coding Agent 도 많이 나타나고tong94.tistory.com이번 포스팅에서는 Cursor 의 기능 중 하나인 Rules 설정하는 법을 알려드리려고 합니다. 우선 Cursor Rules 가 무엇인지부터 알아야겠죠?https://docs.cursor.com/en/context/rules Cursor ..
안녕하세요.오랜만에 포스팅을 올리네요. 오늘은 iOS 프로젝트를 연동하는 법에 대해 포스팅하려고 합니다. 최근 여러 ChatGPT 를 비롯해 여러 AI Tool 들이 발전하면서 AI Coding Agent 도 많이 나타나고 발전했는데요Github Copliot, windsurf, Cursor, Claude Code, (아직 써보진 못했지만) ChatGPT Codex.. 등 그 중에서도 저는 회사에서 사용하고 가장 범용적이고 iOS 에서 사용성이 (그나마) 높은 Cursor 를 선택했습니다. Cursor 설치https://cursor.com/downloads Downloads | Cursor - The AI Code EditorDownload Cursor for Windows, macOS, and Linu..
안녕하세요.오늘은 UITextView 를 사용할때 링크를 탐지하고 링크를 클릭할수 있도록 하려고 합니다. 우선 UITextView 를 그려보겠습니다.import UIKitclass ViewController: UIViewController { let textView: UITextView = { let textView = UITextView() textView.text ="""안녕하세요.https://naver.com안녕히계세요.""" textView.textColor = .black textView.font = .systemFont(ofSize: 30) textView.translatesAutoresizingMaskIntoConstrai..
안녕하세요. 1년만에 포스팅이네요. 최근에 SwiftUI 를 공부하고 작업하며 나온 이슈들에 대해 포스팅을 해보려고 합니다. 우리가 특정 View 가 나타나고 나서 실행되길 원하는 동작들이 있겠죠? (Ex: 네트워크 요청) 기존 UIKit 에서는 View Life Cycle 에 있는 method 들인 viewWillAppear 나 viewDidAppear 를 override 해서 사용했었죠? import UIKit class ViewController: UIViewController { override func viewWillAppear(_ animated: Bool) { super.viewWillAppear(animated) // 네트워크 요청 print("View Will Appear"") } } 그..
안녕하세요. 오늘은 지난 시간에 알아본 Content Hugging Priority 에 이어서 Compression Resistance Priority 에 대해 알아보겠습니다. Content Compression Resistance Priority https://developer.apple.com/documentation/uikit/uiview/1622465-contentcompressionresistanceprio Apple Developer Documentation developer.apple.com Returns the priority with which a view resists being made smaller than its intrinsic size. resistance priority 는 ..
안녕하세요. 오늘은 iOS AutoLayout 에서 항상 빠지지 않고 나오는 개념인 Content Hugging Priority 와 Content Compression Resistance Priority 에 대해 알아보려고 합니다. 사실 엄청 어려운 개념은 아니지만 개인적으로 자주 쓰지 않고 깊게 생각하지 않으면 쉽게 헷갈리기 때문에 이번 기회에 한번 정리해보고자 합니다. 항상 참고하는 Apple Developer 에서 해당 개념을 찾아보겠습니다. 오늘은 2가지를 설명하기 떄문에 2가지 링크가 걸리겠네요. Content Hugging Priority https://developer.apple.com/documentation/uikit/uiview/1622556-contenthuggingpriority A..