RealmInAppBrowser 0.1.3

RealmInAppBrowser 0.1.3

Maintained by Matthias Brodalka.



 
Depends on:
Realm>= 0
RealmSwift>= 4.4.1
 

  • By
  • matt-bro

RealmInAppBrowser

Version License Platform


App Icon
Realm In App Browser

An easy way to view your Realm DB in your App

Key FeaturesExampleInstallationHow To UseCreditsLicense

Description

This View is going to enable you to view your Realm Database in your app, so you can see and debug your realm db at any time.

The goal of this project is that the browser would roughly work like Realm Browser.

Key Features

  • View your realm database with one call
  • Sort by properties
  • Filter your entities
  • Long press to see property/value info
  • (wip) Show relations properly
  • (nice to have) save your queries, so you don't have to type everytime

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

RealmInAppBrowser is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'RealmInAppBrowser'

How To Use

Clone this application and install pods

// Init Realm InAppBrowser (It's a UISplitViewController)
let spvc = RealmInAppBrowser()
// Present the Browser how you like
spvc.modalPresentationStyle = .fullScreen
// Define what happens when the users presses close
spvc.pressedCloseAction = { self.dismiss(animated: true , completion: nil) }

self.present(spvc, animated: true, completion: nil)

Credits

This software uses the following open source packages:

License

RealmInAppBrowser is available under the MIT license. See the LICENSE file for more info.


GitHub @matt-bro