All Projects → realm → Realm Loginkit

realm / Realm Loginkit

Licence: apache-2.0
A generic interface for logging in to Realm Mobile Platform apps

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Realm Loginkit

Towebviewcontroller
A view controller class for iOS that allows users to view web pages directly within an app.
Stars: ✭ 1,500 (+2042.86%)
Mutual labels:  cocoapods, uiviewcontroller
Djsemimodalviewcontroller
Simple semi modal presentation dialog with stacked content
Stars: ✭ 137 (+95.71%)
Mutual labels:  cocoapods, uiviewcontroller
Swifty360player
iOS 360-degree video player streaming from an AVPlayer.
Stars: ✭ 118 (+68.57%)
Mutual labels:  cocoapods, uiviewcontroller
Smileviewcontroller
UIViewController which allows to detect smile in real time.
Stars: ✭ 189 (+170%)
Mutual labels:  cocoapods, uiviewcontroller
Transitionbutton
UIButton sublass for loading and transition animation.
Stars: ✭ 1,124 (+1505.71%)
Mutual labels:  cocoapods, login
Topasscodeviewcontroller
A modal passcode input and validation view controller for iOS
Stars: ✭ 373 (+432.86%)
Mutual labels:  cocoapods, uiviewcontroller
Mern Stack Authentication
Secure MERN Stack CRUD Web Application using Passport.js Authentication
Stars: ✭ 60 (-14.29%)
Mutual labels:  login
Burritos
A collection of Swift Property Wrappers (formerly "Property Delegates")
Stars: ✭ 1,139 (+1527.14%)
Mutual labels:  cocoapods
Hcimage Bpg
BPG decoder for iOS and OS X written in Obj-C++.
Stars: ✭ 58 (-17.14%)
Mutual labels:  cocoapods
Swifticonfont
Icons fonts for iOS (Font Awesome 5, Iconic, Ionicon, Octicon, Themify, MapIcon, MaterialIcon, Foundation 3, Elegant Icon, Captain Icon)
Stars: ✭ 1,094 (+1462.86%)
Mutual labels:  cocoapods
Corenavigation
📱📲 Navigate between view controllers with ease. 💫 🔜 More stable version (written in Swift 5) coming soon.
Stars: ✭ 69 (-1.43%)
Mutual labels:  cocoapods
Popmenu
A fully customizable popup style menu for iOS 😎
Stars: ✭ 1,155 (+1550%)
Mutual labels:  cocoapods
Cluster
Easy Map Annotation Clustering 📍
Stars: ✭ 1,132 (+1517.14%)
Mutual labels:  cocoapods
Mojilist
🛍 Create shopping lists with emojis!
Stars: ✭ 60 (-14.29%)
Mutual labels:  cocoapods
Memorycache
LRU, type-safe, thread-safe memory cache class in Swift
Stars: ✭ 66 (-5.71%)
Mutual labels:  cocoapods
Peep
Easy Sound Generator 🐥
Stars: ✭ 59 (-15.71%)
Mutual labels:  cocoapods
Guacamole Customize Loginscreen Extension
An Apache Guacamole extension to use as a template for customizing or branding the login page.
Stars: ✭ 69 (-1.43%)
Mutual labels:  login
Threadly
Type-safe thread-local storage in Swift
Stars: ✭ 58 (-17.14%)
Mutual labels:  cocoapods
Imageslideshow
A Swift Image SlideShow for iOS
Stars: ✭ 68 (-2.86%)
Mutual labels:  cocoapods
Cameramanager
Simple Swift class to provide all the configurations you need to create custom camera view in your app
Stars: ✭ 1,130 (+1514.29%)
Mutual labels:  cocoapods

Realm LoginKit

A general purpose account login user interface for apps implementing the Realm Mobile Platform.

CI Status CocoaPods Version GitHub license Platform

Realm LoginKit is a UI framework that provides a fully featured login screen for apps that make use of the Realm Mobile Platform.

It 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.

Features

  • Light & dark themes for light apps like Realm Draw, and dark apps like Realm Tasks.
  • Fully adaptive to both smartphone, and tablet screen sizes.
  • Easy swapping between 'log in' and 'sign up' modes.
  • Optional settings to hide the server URL and 'remember me' form fields.
  • The ability to remember username and passwords on subsequent app launches.

Versions & Requirements

Realm LoginKit only supports iOS at the moment.

iOS

  • Xcode 8.0 and up
  • iOS 9.0 and up

Android

Currently in development, and should be finished soon.

Xamarin

Currently on the roadmap with development starting soon.

Third Party Dependencies

iOS

  • Realm Objective-C - The Objective-C version of the Realm Mobile Database.
  • TORoundedTableView - A subclass of UITableView that creates rounded table sections when view on iPad.

Example Code

Swift

// Create the object
let loginController = LoginViewController(style: .lightTranslucent) // init() also defaults to lightTranslucent

// Configure any of the inputs before presenting it
loginController.serverURL = "localhost"

// Set a closure that will be called on successful login
loginController.loginSuccessfulHandler = { user in
	// Provides the successfully authenticated SyncUser object
}

Objective-C

// Create the object
RLMLoginViewController *loginController = [[RLMLoginViewController alloc] initWithStyle:LoginViewControllerStyleLightTranslucent];

// Configure any of the inputs before presenting it
loginController.serverURL = @"localhost";

// Set a closure that will be called on successful login
loginController.loginSuccessfulHandler = ^(RLMSyncUser *user) {
	// Provides the successfully authenticated RLMSyncUser object
};

Setting up the Demo App

iOS

In order to run the Realm LoginKit demo app, it is necessary to install CocoaPods in order to integrate the third party libraries.

  1. If you haven't already, install CocoaPods.
  2. Open Terminal, and navigate to the root Realm Puzzle directory, e.g. cd ~/Projects/realm-loginkit.
  3. Run pod install to install the necessary dependencies needed by Realm LoginKit.
  4. Open RealmLoginKit.xcworkspace instead of the xcproject file.

Installation

iOS

CocoaPods

CocoaPods 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'.

Realm 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:

  • Amazon Cognito - pod 'RealmLoginKit/AWSCognito'

Manually

You 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 separately as well. See their respective GitHub repositories for installation instructions.

Contributing

See CONTRIBUTING.md for more details!

This project adheres to the [email protected].

License

Realm LoginKit is licensed under the Apache license. See the LICENSE file for details.

analytics

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].