일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- tableView
- 백준
- Kuring
- arkit
- Xcode
- ios
- combine
- SwiftUI
- BOJ
- rxcocoa
- node.js
- MVVM
- designpattern
- SnapKit
- Swfit
- TCA
- swift
- 프로그래머스
- Flutter
- visionOS
- RxSwift
- XCTest
- reactorkit
- WWDC24
- realm
- CollectionView
- Lv2
- raywenderlich
- 패스트캠퍼스
- UIKit
- Today
- Total
목록apple/UIKit & ReactiveX (39)
lgvv98
✅ 이번 시간에는 extension Reactive에 대해서 알아볼 예정이야. 우리가 설치한 RxSwfit 안에는 Reactive.swift 파일이 있는데, custom point로 사용하라고 한다. 🟠 Reactive.swift Use `Reactive` proxy as customization point for constrained protocol extensions. General pattern would be: // 1. Extend Reactive protocol with constrain on Base // Read as: Reactive Extension where Base is a SomeType extension Reactive where Base: SomeType { // 2. Put ..
✅ 이번 시간에는 RxDelegateProxy에 대해서 알아볼 예정이야. 기존에 작성한 코드는 objc로 protocol이 구현되어 있어서 바로 사용할 수 있었지만, 그런데.. protocol objc가 아니라면 어떻게 해야할까? 자 이 부분에서 내가 엄청나게 ... 시간을 많이 ... 들여서 공부를 한 부분이야. 우선 Apple 자체에서 지원해주는 것들은 NSObjectProtocol를 상속받고 있어서 우리는 쉽게 objc로 사용할 수 있어. 하지만 외부에서 사용하는 프레임워크 중에는 objc를 사용할 수 없어서 proxy를 만드는데에 애를 먹는 경우가 있는데, 특히 Starscream이 그렇게 구현되어 있지 않아서 고민을 해야했지 ✅ 그렇다면 어떻게 구현할 수 있을까? 내가 생각한 두가지 설계 방법 ..
✅ 이번 시간에는 RxDelegateProxy에 대해서 알아볼 예정이야. 여.기.부.분.은!! 내가 엄청난 삽질(?)을 하면서 내부코드까지 다 뜯어보면서 알게된 부분이라 진짜 스스로... 근데 이론 부분은 확실히 알겠는데, "그래서 실제 프로젝트에 어떻게 적용할건데?" 라고 물으신다면 🥲 MVVM 패턴을 고려해서 적용하는 일이 생각보다 쉬운 일은 아니야 ㅠㅠ 이번 포스팅에서는 정말 많은 글들을 참고했었는데, 제일 아래에 (참고)를 남겨 두도록 할게 ✅ 목차 1️⃣ Protocol과 Delegate 2️⃣ RxDelegateProxy GuideLine 3️⃣ RxDelegateProxy example -> 하단에 참고링크 걸어둠! 이 부분은 기존 파일에 조금 더 rx스럽게 개편해 보았음! 🟠 개편한 코드 ..
✅ 이번 시간에는 starscream사용버에 대해서 알아볼 예정이야. 지난 시간에 RxStarscream을 공부했었는데, 궁금하다면 같은 카테고리에 있는 RxStarscream을 봐도 좋아. starscream이 무엇이냐면 websokcet을 조금 더 편리하게 사용할 수 있게 도와주는 프레임워크라고 생각하면 돼! ✅ starscream github https://github.com/daltoniam/Starscream GitHub - daltoniam/Starscream: Websockets in swift for iOS and OSX Websockets in swift for iOS and OSX. Contribute to daltoniam/Starscream development by creating..
✅ 이번 시간에는 RxStarscream에 대해서 알아볼 예정이야. 우선 RxStarscream란 무엇인지 알아봐야겠지? https://github.com/RxSwiftCommunity/RxStarscream GitHub - RxSwiftCommunity/RxStarscream: A lightweight extension to subscribe Starscream websocket events with RxSwift A lightweight extension to subscribe Starscream websocket events with RxSwift - GitHub - RxSwiftCommunity/RxStarscream: A lightweight extension to subscribe Starsc..
(init) 2021. 8. 21. 02:37 (update) 2022. 10. 05 13:10: https://rldd.tistory.com/501 ✅ 와 이거 진짜로 어렵다 .... 이번 시간에는 이전 포스팅에서는 UITableViewCell에 있는 기본 셀을 사용했다고 하면, 이번에는 내가 만든 셀을 만들어서 넣어보자. ❗️ 이전 강의에서는 높이 조정도 하였으나 에러가 잡히지를 않아서 다음 포스팅에서 다루도록 하겠다. ✅ 코드 리뷰 // // ViewController07.swift // SnapKit_practice // // Created by Hamlit Jason on 2021/08/21. // import Foundation import UIKit import RxSwift import R..