{"id":13829868,"url":"https://github.com/realm/realm-loginkit","last_synced_at":"2025-07-09T10:31:59.844Z","repository":{"id":62452670,"uuid":"79210283","full_name":"realm/realm-loginkit","owner":"realm","description":"A generic interface for logging in to Realm Mobile Platform apps","archived":true,"fork":false,"pushed_at":"2021-11-08T11:22:58.000Z","size":22079,"stargazers_count":74,"open_issues_count":13,"forks_count":21,"subscribers_count":30,"default_branch":"master","last_synced_at":"2024-09-22T07:03:53.589Z","etag":null,"topics":["cocoapods","ios","login","swift","uiviewcontroller"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/realm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-17T09:20:54.000Z","updated_at":"2023-12-15T20:13:25.000Z","dependencies_parsed_at":"2022-11-01T23:46:13.776Z","dependency_job_id":null,"html_url":"https://github.com/realm/realm-loginkit","commit_stats":null,"previous_names":["realm-demos/realm-loginkit"],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realm%2Frealm-loginkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realm%2Frealm-loginkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realm%2Frealm-loginkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realm%2Frealm-loginkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/realm","download_url":"https://codeload.github.com/realm/realm-loginkit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225533025,"owners_count":17484181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cocoapods","ios","login","swift","uiviewcontroller"],"created_at":"2024-08-04T10:00:47.955Z","updated_at":"2024-11-20T10:31:24.120Z","avatar_url":"https://github.com/realm.png","language":"Swift","funding_links":[],"categories":["Swift"],"sub_categories":["\u003ca name=\"swift-libs\"\u003e\u003c/a\u003eSwift Libraries and Components"],"readme":"# DEPRECATED\nWith the introduction of [MongoDB Realm](https://www.mongodb.com/realm), this project is **deprecated**. Please use [MongoDB Realm Cloud](https://docs.mongodb.com/realm/).\n\n-----\n# Realm LoginKit\n\u003e A general purpose account login user interface for apps implementing the Realm Mobile Platform.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/realm-demos/realm-loginkit/master/screenshot.jpg\" width=\"500\" style=\"margin:0 auto\" /\u003e\n\u003c/p\u003e\n\n[![CI Status](http://img.shields.io/travis/realm-demos/realm-loginkit.svg?style=flat)](http://api.travis-ci.org/realm-demos/realm-loginkit.svg)\n[![CocoaPods](https://img.shields.io/cocoapods/dt/RealmLoginKit.svg?maxAge=3600)](https://cocoapods.org/pods/RealmLoginKit)\n[![Version](https://img.shields.io/cocoapods/v/RealmLoginKit.svg?style=flat)](http://cocoadocs.org/docsets/RealmLoginKit)\n[![GitHub license](https://img.shields.io/badge/license-Apache-blue.svg)](https://raw.githubusercontent.com/realm-demos/realm-loginkit/master/LICENSE)\n[![Platform](https://img.shields.io/cocoapods/p/RealmLoginKit.svg?style=flat)](http://cocoadocs.org/docsets/RealmLoginKit)\n\nRealm LoginKit is a UI framework that provides a fully featured login screen for apps that make use of the Realm Mobile Platform.\n\nIt has been designed to be easily dropped into existing app codebases, and to provide a fully featured interface allowing users to either log in, or register new accounts in that app.\n\n# Features\n* Light \u0026 dark themes for light apps like Realm Draw, and dark apps like Realm Tasks.\n* Fully adaptive to both smartphone, and tablet screen sizes.\n* Easy swapping between 'log in' and 'sign up' modes.\n* Optional settings to hide the server URL and 'remember me' form fields.\n* The ability to remember username and passwords on subsequent app launches.\n\n# Versions \u0026 Requirements\n\nRealm LoginKit only supports iOS at the moment. \n\n### [iOS](https://github.com/realm-demos/realm-loginkit/tree/master/RealmLoginKit%20Apple/) \n* Xcode 8.0 and up\n* iOS 9.0 and up\n\n### Android \nCurrently in development, and should be finished soon.\n\n### Xamarin \nCurrently on the roadmap with development starting soon.\n\n# Third Party Dependencies\n\n### iOS\n* [Realm Objective-C](https://realm.io/docs/objc/latest/) - The Objective-C version of the Realm Mobile Database.\n* [TORoundedTableView](https://github.com/TimOliver/TORoundedTableView) - A subclass of `UITableView` that creates rounded table sections when view on iPad.\n\n# Example Code\n\n### Swift\n\n```swift\n// Create the object\nlet loginController = LoginViewController(style: .lightTranslucent) // init() also defaults to lightTranslucent\n\n// Configure any of the inputs before presenting it\nloginController.serverURL = \"localhost\"\n\n// Set a closure that will be called on successful login\nloginController.loginSuccessfulHandler = { user in\n\t// Provides the successfully authenticated SyncUser object\n}\n```\n\n### Objective-C\n\n```objc\n// Create the object\nRLMLoginViewController *loginController = [[RLMLoginViewController alloc] initWithStyle:LoginViewControllerStyleLightTranslucent];\n\n// Configure any of the inputs before presenting it\nloginController.serverURL = @\"localhost\";\n\n// Set a closure that will be called on successful login\nloginController.loginSuccessfulHandler = ^(RLMSyncUser *user) {\n\t// Provides the successfully authenticated RLMSyncUser object\n};\n```\n\n# Setting up the Demo App\n### iOS\nIn order to run the Realm LoginKit demo app, it is necessary to install CocoaPods in order to integrate the third party libraries.\n\n1. If you haven't already, [install CocoaPods](https://guides.cocoapods.org/using/getting-started.html).\n2. Open Terminal, and navigate to the root Realm Puzzle directory, e.g. `cd ~/Projects/realm-loginkit`.\n3. Run `pod install` to install the necessary dependencies needed by Realm LoginKit.\n4. Open `RealmLoginKit.xcworkspace` instead of the `xcproject` file.\n\n# Installation\n\n### iOS\n#### CocoaPods\nCocoaPods is the recommended way to install Realm LoginKit into an app as this will automatically manage recycling Realm Objective-C as a dependency. In your `PodFile`, simply add `pod 'RealmLoginKit'`.\n\nRealm LoginKit also provides support for third party authentication providers. However, since these providers may require additional dependencies that might otherwise be redundant, they are being isolated in separated CocoaPods subspecs:  \n\n* **Amazon Cognito** - `pod 'RealmLoginKit/AWSCognito'`\n\n#### Manually\nYou can also integrate Realm LoginKit manually; simply copy the `RealmLoginKit` folder to your app, and drag it into Xcode. That being said, you will also need to install the [dependencies](#third-party-dependencies) separately as well. See their respective GitHub repositories for installation instructions.\n\n# Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for more details!\n\nThis project adheres to the [Contributor Covenant Code of Conduct](https://realm.io/conduct/). By participating, you are expected to uphold this code. Please report unacceptable behavior to [info@realm.io](mailto:info@realm.io).\n\n# License\n\nRealm LoginKit is licensed under the Apache license. See the LICENSE file for details.\n\n![analytics](https://ga-beacon.appspot.com/UA-50247013-2/realm-loginkit/README?pixel)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealm%2Frealm-loginkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealm%2Frealm-loginkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealm%2Frealm-loginkit/lists"}