移动数据库引擎Realm v2.0.0 发布

jopen 7年前
   <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/0f3ae104c7167272412079964cb5969e.png" /></p>    <p> </p>    <p>Realm 是一个跨平台的移动数据库引擎,可运行于手机、平板和可穿戴设备之上。于 2014 年 7 月发布,准确来说,它是专门为移动应用所设计的数据持久化解决方案之一。 Realm 可以轻松地移植到您的项目当中,并且绝大部分常用的功能(比如说插入、查询等等)都可以用一行简单的代码轻松完成! Realm 并不是对 Core Data 的简单封装,相反地, Realm 并不是基于 Core Data ,也不是基于 SQLite 所构建的。它拥有自己的数据库存储引擎,可以高效且快速地完成数据库的构建操作。</p>    <p> </p>    <h2>更新日志</h2>    <h3>API 重大更改</h3>    <ul>     <li>By popular demand, <code>RealmSwift.Error</code> has been moved from the top-level namespace into a <code>Realm</code>extension and is now <code>Realm.Error</code>, so that it no longer conflicts with <code>Swift.Error</code>.</li>     <li>Files written by Realm 2.0 cannot be read by 1.x or earlier versions. Old files can still be opened.</li>    </ul>    <h3>增强功能</h3>    <ul>     <li>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.</li>    </ul>    <h3>Bug修复</h3>    <ul>     <li>Fix an assertion failure when sorting by zero properties.</li>     <li>Fix a mid-commit crash in one process also crashing all other processes with the same Realm open.</li>     <li>Properly initialize new nullable float and double properties added to existing objects to null rather than 0.</li>     <li>Fix a stack overflow when objects with indexed string properties had very long common prefixes.</li>     <li>Fix a race condition which could lead to crashes when using async queries or collection notifications.</li>     <li>Fix a bug which could lead to incorrect state when an object which links to itself is deleted from the Realm.</li>    </ul>    <p> </p>    <p> </p>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958994040528133788" rel="nofollow"><strong>Carthage.framework.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958994040622655592" rel="nofollow"><strong>realm-objc-2.0.0.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958994040717723574" rel="nofollow"><strong>realm-swift-2.0.0.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958994040809100208" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958994040904649671" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>    <p> </p>    <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/522d4720">http://www.open-open.com/news/view/522d4720</a></p>