iOS
水的叹息
这个作者很懒,什么都没留下…
展开
-
swift添加事件到系统日历
获取日历事件权限let eventStore = EKEventStore.init()weak var weakSelf = selfeventStore.requestAccess(to: EKEntityType.event, completion: {(isAllow, error) in if isAllow == true{ }else{ ...原创 2018-09-17 14:39:57 · 955 阅读 · 0 评论 -
SQLite.swift使用简单介绍
import UIKit import SQLite let ducumentPath = NSHomeDirectory() + “/Documents” + “/MMDB.sqlite”class MMSQLite: NSObject { static let shared: MMSQLite = MMSQLite() var db: Connection! ...原创 2018-09-14 17:44:32 · 1096 阅读 · 0 评论