Popularity
3.4
Stable
Activity
0.0
Stable
150
10
26

Code Quality Rank: L5
Programming language: Swift
License: MIT License
Tags: UI    
Latest version: v0.3.1

LFLoginController alternatives and similar libraries

Based on the "UI" category.
Alternatively, view LFLoginController alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of LFLoginController or a related project?

Add another 'UI' Library

README

LFLoginController

Customizable login screen, written in Swift

Swift Version [License][license-url] Carthage compatible CocoaPods Compatible Platform

Creating Login screens is boring and repetitive. What about implementing and customizing them in less then 10 lines of code?

[](LFLoginControllerDemo.gif)

Features

  • [x] Login
  • [x] Signup
  • [x] Forgot password
  • [x] Ready for all iPhone screen sizes
  • [x] 100% in Swift :large_orange_diamond:

Requirements

  • iOS 9.0+
  • Xcode 7.3

Installation

CocoaPods

You can use CocoaPods to install LFLoginController by adding it to your Podfile:

platform :ios, '8.0'
use_frameworks!
pod 'LFLoginController'

To get the full benefits import LFLoginController wherever you import UIKit

import UIKit
import LFLoginController

Carthage

Create a Cartfile that lists the framework and run carthage bootstrap. Follow the instructions to add $(SRCROOT)/Carthage/Build/iOS/LFLoginController.framework to an iOS project.

github "awesome-labs/LFLoginController"

Manually

  1. Download and drop LFLoginController.swift in your project.
  2. Congratulations!

Usage example

//1. Create a LFLoginController instance
let loginController = LFLoginController()

//2. Present the timePicker
self.navigationController?.pushViewController(loginController, animated: true)

//3. Implement the LFLoginControllerDelegate
extension ExampleViewController: LFLoginControllerDelegate {

    func loginDidFinish(email: String, password: String, type: LFLoginController.SendType) {

        print(email)
        print(password)
        print(type)
    }

    func forgotPasswordTapped() {

        print("forgot password")
  }

}

Customizations

  • logo: UIImage?
  • loginButtonColor: UIColor?
  • videoURL: NSURL?

Contribute

We would love for you to contribute to LFLoginController, check the LICENSE file for more info.

Meta

Lucas Farah – @7farah7[email protected]

Distributed under the MIT license. See LICENSE for more information.

https://github.com/awesome-labs


*Note that all licence references and agreements mentioned in the LFLoginController README section above are relevant to that project's source code only.