티스토리 뷰
iOS에서 로컬데이터베이스를 쓸 때 보통 SQLite, CoreData, Realm 을 사용합니다.
이중에서 CoreData는 애플이 제공하는 것이고 SQLite와 Realm은 써드파티 라이브러리 입니다.
SQLite는 sql문을 써야하는 반면, CoreData와 Realm는 sql문을 안써도 됩니다.
CoreData와 Realm은 데이터를 Object로 다루기 때문에 더 편하고 간단하게 느껴집니다.
(하지만 2020년에 올라온 SQLite 좋다는 글. 아직 안읽어봄.)
https://www.raywenderlich.com/6620276-sqlite-with-swift-tutorial-getting-started
SQLite With Swift Tutorial: Getting Started
In this SQLite with Swift tutorial, you’ll learn to use a SQLite database with Swift projects by creating tables and inserting, updating and deleting rows.
www.raywenderlich.com
저는 Realm만 써봤는데, CoreData를 처음 사용해보고 있습니다
좋은 블로그 링크 모아두기!!! (감사합니당)
개념
https://www.raywenderlich.com/7569-getting-started-with-core-data-tutorial
Getting Started with Core Data Tutorial
Learn the basics of building the data layer of your iOS app in this getting started with Core Data tutorial!
www.raywenderlich.com
CRUD
https://medium.com/@ankurvekariya/core-data-crud-with-swift-4-2-for-beginners-40efe4e7d1cc
Core Data (CRUD) with Swift 4.2 for Beginners
Core Data is an object graph and persistence framework provided by Apple in the macOS and iOS operating systems. It was introduced in Mac…
medium.com
CoreData를 Unit Test에서 사용할때 테스트 환경만들기
https://medium.com/flawless-app-stories/cracking-the-tests-for-core-data-15ef893a3fee
Cracking the Tests for Core Data
With an introduction of NSPersistentContainer in iOS 10, it becomes easier to use Core Data. Let’s learn how to write unit tests for Core Data!
medium.com
⭐️ 그림 최고 ⭐️
Flexible and Easy Unit Testing of CoreData Persistence Code
Modern and high-quality iOS applications are expected to perform flawlessly. An important input to ensuring flawless, regression-resistant…
medium.com
'🍏 > iOS' 카테고리의 다른 글
[ReactorKit] ReactorKit의 Transform 함수에 대해 알아보자 (0) | 2020.03.07 |
---|---|
[UILabel-HTML] UILabel에 HTML load 하기 또는 HTML 코드를 뺀 텍스트를 넣어주기 (0) | 2020.02.20 |
[URLSession] URLSession과 URLSessionDataTask (0) | 2020.02.03 |
[Cocoapod] Unit Test를 돌렸는데, "One of the two will be used. Which one is undefined" 에러가 난다면 (1) | 2020.01.18 |
[Cocoapod] Cocoapod 명령어 모음 (0) | 2020.01.07 |
- Total
- Today
- Yesterday
- Flutter 로딩
- Flutter Spacer
- flutter dynamic link
- SerializerMethodField
- github actions
- flutter deep link
- ribs
- Flutter Text Gradient
- 장고 Custom Management Command
- Dart Factory
- Django Heroku Scheduler
- Django FCM
- ipad multitasking
- 플러터 얼럿
- Sketch 누끼
- flutter 앱 출시
- METAL
- DRF APIException
- 구글 Geocoding API
- 플러터 싱글톤
- Flutter Clipboard
- Django Firebase Cloud Messaging
- Flutter getter setter
- Python Type Hint
- cocoapod
- flutter build mode
- drf custom error
- PencilKit
- Watch App for iOS App vs Watch App
- 장고 URL querystring
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |