移動數據庫引擎Realm?v2.0.0 發布
Realm 是一個跨平臺的移動數據庫引擎,可運行于手機、平板和可穿戴設備之上。于 2014 年 7 月發布,準確來說,它是專門為移動應用所設計的數據持久化解決方案之一。 Realm 可以輕松地移植到您的項目當中,并且絕大部分常用的功能(比如說插入、查詢等等)都可以用一行簡單的代碼輕松完成! Realm 并不是對 Core Data 的簡單封裝,相反地, Realm 并不是基于 Core Data ,也不是基于 SQLite 所構建的。它擁有自己的數據庫存儲引擎,可以高效且快速地完成數據庫的構建操作。
更新日志
API 重大更改
- By popular demand,
RealmSwift.Error
has been moved from the top-level namespace into aRealm
extension and is nowRealm.Error
, so that it no longer conflicts withSwift.Error
. - Files written by Realm 2.0 cannot be read by 1.x or earlier versions. Old files can still be opened.
增強功能
- The .log, .log_a and .log_b files no longer exist and the state tracked in them has been moved to the main Realm file. This reduces the number of open files needed by Realm, improves performance of both opening and writing to Realms, and eliminates a small window where committing write transactions would prevent other processes from opening the file.
Bug修復
- Fix an assertion failure when sorting by zero properties.
- Fix a mid-commit crash in one process also crashing all other processes with the same Realm open.
- Properly initialize new nullable float and double properties added to existing objects to null rather than 0.
- Fix a stack overflow when objects with indexed string properties had very long common prefixes.
- Fix a race condition which could lead to crashes when using async queries or collection notifications.
- Fix a bug which could lead to incorrect state when an object which links to itself is deleted from the Realm.
下載
- Carthage.framework.zip
- realm-objc-2.0.0.zip
- realm-swift-2.0.0.zip
- Source code (zip)
- Source code (tar.gz)
本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/522d4720
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!