移动数据库引擎Realm v1.0.1 发布

jopen 8年前
   <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/f69591735bc76b7b505abdc995f75d29.png" /></p>    <p>Realm 是一个跨平台的移动数据库引擎,可运行于手机、平板和可穿戴设备之上。于 2014 年 7 月发布,准确来说,它是专门为移动应用所设计的数据持久化解决方案之一。 Realm 可以轻松地移植到您的项目当中,并且绝大部分常用的功能(比如说插入、查询等等)都可以用一行简单的代码轻松完成! Realm 并不是对 Core Data 的简单封装,相反地, Realm 并不是基于 Core Data ,也不是基于 SQLite 所构建的。它拥有自己的数据库存储引擎,可以高效且快速地完成数据库的构建操作。</p>    <h2>更新日志</h2>    <h3>功能增强</h3>    <ul>     <li>Significantly improve performance of opening Realm files, and slightly improve performance of committing write transactions.</li>    </ul>    <h3>Bug修复</h3>    <ul>     <li>Swift: Fix an error thrown when trying to create or update <code>Object</code> instances via <code>add(:_update:)</code>with a primary key property of type <code>RealmOptional</code>.</li>     <li>Xcode playground in Swift release zip now runs successfully.</li>     <li>The <code>key</code> parameter of <code>Realm.objectForPrimaryKey(_:key:)</code>/<code>Realm.dynamicObjectForPrimaryKey(_:key:)</code> is now marked as optional.</li>     <li>Fix a potential memory leak when closing Realms after a Realm file has been opened on multiple threads which are running in active run loops.</li>     <li>Fix notifications breaking on tvOS after a very large number of write transactions have been committed.</li>     <li>Fix a "Destruction of mutex in use" assertion failure after an error while opening a file.</li>     <li>Realm now throws an exception if an <code>Object</code> subclass is defined with a managed Swift <code>lazy</code>property. Objects with ignored <code>lazy</code> properties should now work correctly.</li>     <li>Update the LLDB script to work with recent changes to the implementation of <code>RLMResults</code>.</li>     <li>Fix an assertion failure when a Realm file is deleted while it is still open, and then a new Realm is opened at the same path. Note that this is still not a supported scenario, and may break in other ways.</li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958991346352114200" rel="nofollow">81.9 MBCarthage.framework.zip</a></li>     <li><a href="/misc/goto?guid=4958991346473404802" rel="nofollow">155 MBrealm-objc-1.0.1.zip</a></li>     <li><a href="/misc/goto?guid=4958991346583169674" rel="nofollow">52.7 MBrealm-swift-1.0.1.zip</a></li>     <li><a href="/misc/goto?guid=4958991346691177039" rel="nofollow">Source code (zip)</a></li>     <li><a href="/misc/goto?guid=4958991346800138451" rel="nofollow">Source code (tar.gz)</a></li>    </ul>