본문 바로가기

티라미수 코딩생활

검색하기
티라미수 코딩생활
프로필사진 Aosta

  • 분류 전체보기 (22)
    • Programming (12)
      • Android (6)
      • Swift (4)
      • HTML (1)
      • JSP (1)
    • Diary (0)
    • My Library (7)
      • Swift (6)
      • Swift 꺼내먹기 (1)
      • Android (0)
    • 코딩테스트 & 자료구조 (2)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
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
Tags
  • Flutter
  • jsp
  • GregorianCalendar
  • tag
  • Kotlin
  • android
  • setValue
  • JUnit
  • startActivityForResult
  • TDD
  • LeetCode
  • livedata
  • #Android
  • GetValue
  • html
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록My Library/Swift 꺼내먹기 (1)

티라미수 코딩생활

SQLite CRUD (Cmd + C)

복사&붙여넣기 후 프로젝트에 맞게 수정해서 사용하기! [ Import ] import SQLite3 [ SQLite : Create (viewDidLoad) ] // SQLite 생성하기 func createSQLite(){ let fileURL = try! FileManager.default.url(for: .documentDirectory, in: .userDomainMask, appropriateFor: nil, create: false).appendingPathComponent(".sqlite") if sqlite3_open(fileURL.path, &db) != SQLITE_OK{ // SQLite가 열리지 않으면? print("error opening database") } if sqlite3..

My Library/Swift 꺼내먹기 2021. 7. 27. 16:06
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바