{"id":7948,"date":"2015-11-12T03:05:15","date_gmt":"2015-11-12T03:05:15","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/11\/12\/realm-realm-cocoa\/"},"modified":"2015-11-12T03:05:15","modified_gmt":"2015-11-12T03:05:15","slug":"realm-realm-cocoa","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/11\/12\/realm-realm-cocoa\/","title":{"rendered":"realm\/realm-cocoa"},"content":{"rendered":"<p><img decoding=\"async\" src=\"http:\/\/github.com\/realm\/realm-cocoa\/raw\/master\/logo.png\" \/><\/p>\n<p>Realm is a mobile database that runs directly inside phones, tablets or wearables. This repository holds the source code for the iOS &amp; OSX versions of Realm, for both Swift &amp; Objective-C.<\/p>\n<h2>Features<\/h2>\n<ul>\n<li><strong>Mobile-first:<\/strong> Realm is the first database built from the ground up to run directly inside phones, tablets and wearables.<\/li>\n<li><strong>Simple:<\/strong> Data is directly exposed as objects and queryable by code, removing the need for ORM\u2019s riddled with performance &amp; maintenance issues. Plus, we\u2019ve worked hard to keep our API down to just 4 common classes (Object, Array, Results and Realms) and 1 utility class (Migrations): most of our users pick it up intuitively, getting simple apps up &amp; running in minutes.<\/li>\n<li><strong>Modern:<\/strong> Realm supports relationships, generics, vectorization and even Swift.<\/li>\n<li><strong>Fast:<\/strong> Realm is faster than even raw SQLite on common operations, while maintaining an extremely rich feature set.<\/li>\n<\/ul>\n<h2>Getting Started<\/h2>\n<p>Please see the detailed instructions in our docs to add Realm Objective-C <em>or<\/em> Realm Swift to your Xcode project.<\/p>\n<h2>Documentation<\/h2>\n<h3>Realm Objective-C<\/h3>\n<p>The documentation can be found at realm.io\/docs\/objc\/latest.<br \/>\nThe API reference is located at realm.io\/docs\/objc\/latest\/api.<\/p>\n<h3>Realm Swift<\/h3>\n<p>The documentation can be found at realm.io\/docs\/swift\/latest.<br \/>\nThe API reference is located at realm.io\/docs\/swift\/latest\/api.<\/p>\n<h2>Getting Help<\/h2>\n<ul>\n<li><strong>Need help with your code?<\/strong>: Look for previous questions on the #realm tag \u2014 or ask a new question. We activtely monitor &amp; answer questions on SO!<\/li>\n<li><strong>Have a bug to report?<\/strong> Open an issue. If possible, include the version of Realm, a full log, the Realm file, and a project that shows the issue.<\/li>\n<li><strong>Have a feature request?<\/strong> Open an issue. Tell us what the feature should do, and why you want the feature.<\/li>\n<li><strong>Want to ask in-depth questions?<\/strong> Join our online office hours. We host these once a month, and you can join via chat, audio call, or video call.<\/li>\n<li>Sign up for our <strong>Community Newsletter<\/strong> to get regular tips, learn about other use-cases and get alerted of blogposts and tutorials about Realm.<\/li>\n<\/ul>\n<h2>Building Realm<\/h2>\n<p>In case you don\u2019t want to use the precompiled version, you can build Realm yourself from source.<\/p>\n<p>Prerequisites:<\/p>\n<ul>\n<li>Building Realm requires Xcode 6.<\/li>\n<li>Building Realm documentation requires appledoc<\/li>\n<\/ul>\n<p>Once you have all the necessary prerequisites, building Realm.framework just takes a single command: <code>sh build.sh build<\/code>. You\u2019ll need an internet connection the first time you build Realm to download the core binary.<\/p>\n<p>Run <code>sh build.sh help<\/code> to see all the actions you can perform (build ios\/osx, generate docs, test, etc.).<\/p>\n<p>Executing the examples under the <code>examples\/<\/code> folder, requires that you have built the <code>Realm.framework<\/code>.<\/p>\n<h2>Contributing<\/h2>\n<p>See CONTRIBUTING.md for more details!<\/p>\n<h2>License<\/h2>\n<p>Realm Objective-C &amp; Realm Swift are published under the Apache 2.0 license.<br \/>\nThe underlying core is available under the Realm Core Binary License while we work to open-source it under the Apache 2.0 license.<\/p>\n<h2>Feedback<\/h2>\n<p><strong><em>If you use Realm and are happy with it, all we ask is that you please consider sending out a tweet mentioning @realm, announce your app on our mailing-list, or email help@realm.io to let us know about it!<\/em><\/strong><\/p>\n<p><strong><em>And if you don\u2019t like it, please let us know what you would like improved, so we can fix it!<\/em><\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/ga-beacon.appspot.com\/UA-50247013-2\/realm-cocoa\/README?pixel\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Realm is a mobile database that runs directly inside phones, tablets or wearables. This repository holds the source code for the iOS &amp; OSX versions of Realm, for both Swift &amp; Objective-C. Features Mobile-first: Realm is the first database built from the ground up to run directly inside phones, tablets and wearables. Simple: Data is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7948","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7948","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7948"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7948\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7948"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7948"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}