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

jopen 5年前
   <p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/0f3ae104c7167272412079964cb5969e.png" /></strong></p>    <p> </p>    <p>Realm 是一个跨平台的移动数据库引擎,可运行于手机、平板和可穿戴设备之上。于 2014 年 7 月发布,准确来说,它是专门为移动应用所设计的数据持久化解决方案之一。 Realm 可以轻松地移植到您的项目当中,并且绝大部分常用的功能(比如说插入、查询等等)都可以用一行简单的代码轻松完成! Realm 并不是对 Core Data 的简单封装,相反地, Realm 并不是基于 Core Data ,也不是基于 SQLite 所构建的。它拥有自己的数据库存储引擎,可以高效且快速地完成数据库的构建操作。</p>    <p> </p>    <h2>更新日志</h2>    <ul>     <li>Remove <code>RLMAuthenticationActions</code> and replace <code>+[RLMSyncCredential credentialWithUsername:password:actions:]</code> with <code>+[RLMSyncCredential credentialsWithUsername:password:register:]</code>.</li>     <li>Rename <code>+[RLMSyncUser authenticateWithCredential:]</code> to <code>+[RLMSyncUser logInWithCredentials:]</code>.</li>     <li>Rename "credential"-related types and methods to <code>RLMSyncCredentials</code>/<code>SyncCredentials</code> and consistently refer to credentials in the plural form.</li>     <li>Change <code>+[RLMSyncUser all]</code> to return a dictionary of identifiers to users and rename to:      <ul>       <li><code>+[RLMSyncUser allUsers]</code> in Objective-C.</li>       <li><code>SyncUser.allUsers()</code> in Swift 2.</li>       <li><code>SyncUser.all</code> in Swift 3.</li>      </ul> </li>     <li>Rename <code>SyncManager.sharedManager()</code> to <code>SyncManager.shared</code> in Swift 3.</li>     <li>Change <code>Realm.Configuration.syncConfiguration</code> to take a <code>SyncConfiguration</code> struct rather than a named tuple.</li>     <li><code>+[RLMSyncUser logInWithCredentials:]</code> now invokes its callback block on a background queue.</li>    </ul>    <h3>增强</h3>    <ul>     <li>Add <code>+[RLMSyncUser currentUser]</code>.</li>     <li>Add the ability to change read, write and management permissions for synchronized Realms using the management Realm obtained via the <code>-[RLMSyncUser managementRealmWithError:]</code> API and the<code>RLMSyncPermissionChange</code> class.</li>    </ul>    <h3> </h3>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958995378293866182" rel="nofollow"><strong>Carthage.framework.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995378399106532" rel="nofollow"><strong>realm-objc-2.0.4.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995378488710759" rel="nofollow"><strong>realm-swift-2.0.4.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995378583584066" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958995378682531860" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>    <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/1ad56d85">http://www.open-open.com/news/view/1ad56d85</a></p>