移动数据库引擎Realm v1.1.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>Deprecate <code>migrateRealm:</code> in favor of new <code>performMigrationForConfiguration:error:</code> method that follows Cocoa's NSError conventions.</li>     <li>Fix issue where <code>RLMResults</code> used <code>id</code>instead of its generic type as the return type of subscript.</li>    </ul>    <h3>新增功能</h3>    <ul>     <li>Improve error message when using NSNumber incorrectly in Swift models.</li>     <li>Further reduce the download size of the prebuilt static libraries.</li>     <li>Improve sort performance, especially on non-nullable columns.</li>     <li>Allow partial initialization of object by <code>initWithValue:</code>, deferring required property checks until object is added to Realm.</li>    </ul>    <h3>Bug修复</h3>    <ul>     <li>Fix incorrect truncation of the constant value for queries of the form <code>column < value</code> for <code>float</code> and<code>double</code> columns.</li>     <li>Fix crash when an aggregate is accessed as an <code>Int8</code>, <code>Int16</code>, <code>Int32</code>, or <code>Int64</code>.</li>     <li>Fix a race condition that could lead to a crash if an RLMArray or List was deallocated on a different thread than it was created on.</li>     <li>Fix a crash when the last reference to an observed object is released from within the observation.</li>     <li>Fix a crash when <code>initWithValue:</code> is used to create a nested object for a class with an uninitialized schema.</li>     <li>Enforce uniqueness for <code>RealmOptional</code> primary keys when using the <code>value</code> setter.</li>    </ul>    <p> </p>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958993853989849419" rel="nofollow"><strong>Carthage.framework.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958993854124975925" rel="nofollow"><strong>realm-objc-1.1.0.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958993854243444420" rel="nofollow"><strong>realm-swift-1.1.0.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958993854366548986" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958993854488473952" 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/7c7a24ec">http://www.open-open.com/news/view/7c7a24ec</a></p>