UserDefaults를 사용하여 Login Cache 저장하기
UserDefaults를 사용하여 로그인 cache 정보를 저장하는 방법입니다. UserDefaults는 Local Database로Login credentials, tokens 등과 같은 소량의 데이터를 저장하기 위해 사용됩니다. Local DB를 저장하는 방식으로는 CoreData도 존재합니다.CoreData와 Userdefaults의 차이점으로는CoreData는 여러 속성과 개체간의 관계를 가진 복잡한 데이터 모델을 저장하도록 설계되어있습니다. CoreData와 차이점Userdefaults는 간단한 string값을 저장하는 반면, CoreData에는 array, dictionary를 저장 할 수 있습니다.Userdefaults는 thread - safe이며 멀티 스레드에 별다른 문제 없이 접근해도 ..
iOS & swift
2023. 2. 26. 17:14
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- llm pdf rag
- 엔디소프트 레이세이
- swift urlsession network module
- swift 엑셀 가져오기
- swift excel read
- swift 자간
- chatgpt rag llm
- 레디세이 어플
- readysay
- swift filemanager excel
- rag 기반 llm 챗봇
- swift urlsession 공통화
- rag llm pdf
- swift 엑셀 읽기
- swift network refactoring
- swift urlcomponent encode
- focus timer 어플
- swift get excel
- swift network 공통화
- llm csv
- swift urlsession module
- filemanager excel read
- swift queryitem encode
- swift network module
- swift urlsession refactoring
- swift filemanager get excel
- 레디세이
- rag 기반 llm
- swift 네트워크 모듈화
- 공부 타이머 어플
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함