์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
- realm
- visionOS
- designpattern
- arkit
- Swfit
- RxSwift
- combine
- node.js
- BOJ
- tableView
- raywenderlich
- ๋ฐฑ์ค
- CollectionView
- SnapKit
- ํ๋ก๊ทธ๋๋จธ์ค
- XCTest
- rxcocoa
- ios
- UIKit
- TCA
- Xcode
- MVVM
- swift
- ํจ์คํธ์บ ํผ์ค
- BFS
- Kuring
- Flutter
- Lv2
- reactorkit
- SwiftUI
- Today
- Total
๋ชฉ๋กrealm (5)
lgvv98
ReactorKit ๊ณต๋ถํ๊ธฐ #5 RxTodo ๋ฐ๋ผ์ก๊ธฐ (3) โ ๋ชฉํ: Service ๋์ ์ ์ํด RxTodo ์ฝ๋ ๋ถ์ํ๊ธฐ โ ๋ด ํ๋ก์ ํธ์์ ์๋น์ค ๋์ ํ ๊ฒฐ๊ณผ ์ฝ๋ ๐จ Realm์์ tableView.rx.itemMoved์, ๋ ์ฝ๋ ์์ ์ด๋ป๊ฒ ๋ฐ๊ฟ์ผํ ์ง ๋ชจ๋ฅด๊ฒ ์. Realm์ ๋ํ ์ดํด๊ฐ ๋ถ์กฑํด์ ์ฑ์ด crash ๋๋ ๊ฒฝ์ฐ๊ฐ ๋ง์๋ฐ, ์ด๋ฅผ ํ์ตํด์ ๋ณด์ํด์ผํจ. Realm์ Token์ ์ฌ์ฉํด์ ๋ณ๊ฒฝ๋ ๋ฐ์ดํฐ์ ์ฑํฌ๋ฅผ ๋ค๋ฅธ View์์ ๋ง์ถ ์ ์์. ์ฝ๋๋ฅผ ๋ถ์ํ๋ฉด์ Realm์ ์๋ฒฝํ๊ฒ ์ ์ฉํ์ฌ ๋ง๋ค์ง๋ ๋ชปํ์ง๋ง, BaseViewController๋ Service๊ฐ ์ ํ์ํ์ง ํ์คํ๊ฒ ๋๋ ์๊ฐ์ด์์. ๋ค์ ์คํ ์ผ๋ก Realm์ ๋ ํ์ตํด์ ์๋ฒฝํ๊ฒ ์ ์ฉํด๋ณด์. โ RxTodo Servic..
Realm migration (Swift) ํด๋น ํฌ์คํ ์ 2๋ฒ์ ๊ฑธ์ณ ์ ๋ฐ์ดํธ ๋ ์์ ์ ๋๋ค. 1. isBookmarked ํ๋๋ฅผ ์ถ๊ฐํ๋ v2 ๋ง์ด๊ทธ๋ ์ด์ (โ 2022.09.05 21:49 ์์ฑ์๋ฃ) 2. v2๋ฐ์ดํฐ๋ฅผ ์ฌ์ฉํ๋ค๊ฐ ๋ ๋ค์ v3๋ก ๋ง์ด๊ทธ๋ ์ด์ (๐ก Not yet) ๋ค๋ค ์๋ค์ํผ Realm์ ๊ฒฝ์ฐ์๋ ์ฑ ์ค์น ํ ๋ชจ๋ธ์ ๋ณ๊ฒฝํ๋ฉด migration์ด ํ์ํจ. ์ด ์์ ์ ์์ ์ UserDefault๋ก Kuring ํ๋ก์ ํธ์์ ๋ค๋ฅธ ๊ฐ๋ฐ์๋์ด ํ ์ จ์๋๋ฐ, ๋๋ ๋์ ๐ฅ ๋ชจ๋ธ์ ๋ณ๊ฒฝํ๊ณ ์ฑ์ ๋ฑ ์คํํ๋ฉด? ๋ง์ด๊ทธ๋ ์ด์ ํ๋ผ๋ ๋ฌธ๊ตฌ๊ฐ ๋ํ๋จ ์ผ๋จ ๊ธฐ์กด ๋ชจ๋ธ๋ก ์ ์ฅ๋ ๊ฐ๋ค์ Realm-Studio(Realm browser๋ ๋๋ค๋๋ฐ, ๋ ์ ์๋์ด์ ์ผ๋จ ์ด๊ฑฐ ์) ํ์ธํด๋ณด๋ฉด ์ ์ฌ์ง์ฒ๋ผ 4๊ฐ์ ..
The document “default.realm” could not be opened. Realm file is currently open in another process which cannot share access with this process. All processes sharing a single file must be the same architecture. For sharing files between the Realm Browser and an iOS simulator, this means that you must use a 64-bit simulator. MacOS์์ Realm broser 3.0.1 ์ค์น ํ ํด๋น ๊ฒฝ๋ก๋ก ํ์ผ์ ์ด์ด์ค ๋ ๋ฐ์ - ์๋ฎฌ๋ ์ดํฐ ๋๊ณ ํ๋ฉด ๋๋ค๊ณ ํจ. ..
Realm CRUD more modern and swifty Realm ์ค์น - SPM์ผ๋ก ๊ณ ๊ณ https://github.com/realm/realm-swift GitHub - realm/realm-swift: Realm is a mobile database: a replacement for Core Data & SQLite Realm is a mobile database: a replacement for Core Data & SQLite - GitHub - realm/realm-swift: Realm is a mobile database: a replacement for Core Data & SQLite github.com Realm CRUD ์ดํด๋ณด๊ธฐ import Foundation import Re..
UICollectionView์ ๋ํด์ ์์๋ณด๊ธฐ 6ํธ (Realm, async, await, Delegate) ๋๋์ด 6ํธ์ด๋ค! ์ฌํด ๋ด, ๊ธฐ๋ณธ๊ธฐ์ ๋ถ์กฑํจ์ ๋๋ฌด ํฌ๊ฒ ๋๊ปด์, ๊ธฐ๋ณธ๊ธฐ๋ถํฐ ๋ค์ ๋์๋ณด๋ ์๊ฐ์ ๊ฐ์ก๋๋ฐ, ์ด๋ฒ์ Realm๊ณผ FelxLayout, PinLayout ๋ฑ์ ํ์ตํ๋ฉด์ ํ์คํ ์ด์ ๋ณด๋ค ๋ ๋น ๋ฅด๊ณ ์(?) ์ดํด๊ฐ ๋๋ ๊ฒ ๊ฐ๋ค. ๋ชจ๋ ์ฝ๋๋ SPM์ผ๋ก ๋น๋๊ฐ ๊ฐ๋ฅํ ์ํ๋ก ์ฌ๋ ค๋๋ฆฝ๋๋ค. (์ฃผ์๋ด์ฉ) ์ด๋ฒ์๋ Realm๊ณผ Delegate๋ฅผ ํ์ฉํด์ ์ด๋ป๊ฒ ์ฒ๋ฆฌํ๋์ง ์์๋ณด๊ณ async, await์ ํ์ฉํด์ ํด๋ก์ ๋ฅผ ์์ ๊ณ , RxSwift๋ ์ ๋ฌถ์ด๋ณด์! ๐ฟ UI ๊ฒฐ๊ณผ๋ฌผ ๐ฟ ์ ๋ด์ ์ ๋ฐ์ดํธ ๋ฒํผ์ด ์์นํ๋ค. ์ฆ, ์ ๋ด์์ CRUD์์ ์ค UD์ ํด๋นํ๋ ์์ ์ ์ฒ๋ฆฌํ๋ค. (CR์..