All Projects → IvanVorobei → Nativelogin

IvanVorobei / Nativelogin

Licence: mit
Authorization form in native iOS style

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Nativelogin

Exhibit
Exhibit is a managed screensaver App for tvOS.
Stars: ✭ 19 (-86.43%)
Mutual labels:  apple, xcode
Doric
Protocol oriented, type safe, scalable design system foundation swift framework for iOS.
Stars: ✭ 75 (-46.43%)
Mutual labels:  apple, xcode
Swiftui Grid
🚀 SwiftUI Grid layout with custom styles
Stars: ✭ 872 (+522.86%)
Mutual labels:  apple, xcode
Awesome Swift Korean Lecture
훌륭한 Swift 세션 동영상(강좌), 한글 자막있는 혹은 한국어 강의 정보 링크 모음 (Awesome Swift Korean lecture information)
Stars: ✭ 649 (+363.57%)
Mutual labels:  apple, xcode
Wwdc Recap
A collection of session summaries in markdown format, from WWDC 20, 19 & 17
Stars: ✭ 121 (-13.57%)
Mutual labels:  apple, xcode
Teaching App Dev Swift
DEPRECATED. Instructor lesson plans that accompany Xcode projects, for guiding in-class experiential learning.
Stars: ✭ 699 (+399.29%)
Mutual labels:  apple, xcode
Nord Xcode
An arctic, north-bluish clean and elegant Xcode color theme.
Stars: ✭ 63 (-55%)
Mutual labels:  apple, xcode
Sppermissions
Ask permissions with ready-use interface. You can check status permission and if it has been requested before. Support SwiftUI.
Stars: ✭ 4,701 (+3257.86%)
Mutual labels:  xcode, interface
Kotlinnativesample
Kotlin Native app working on Android & iPhone
Stars: ✭ 119 (-15%)
Mutual labels:  xcode, native
Framy Css
Very simple CSS Framework
Stars: ✭ 103 (-26.43%)
Mutual labels:  ux, interface
Icepa
iOS system-wide VPN based Tor client
Stars: ✭ 519 (+270.71%)
Mutual labels:  apple, xcode
Swiftui Shapes
🚀 Collection of SwiftUI shapes
Stars: ✭ 137 (-2.14%)
Mutual labels:  apple, xcode
React Native Login Screen
React Native Login Screen
Stars: ✭ 499 (+256.43%)
Mutual labels:  login, native
Swiftui
A collaborative list of awesome SwiftUI resources. Feel free to contribute!
Stars: ✭ 774 (+452.86%)
Mutual labels:  apple, xcode
Example Ios Apps
 A curated list of Open Source example iOS apps developed in Swift. An amazing list for people who are beginners and learning ios development and for ios developers who need any example app or feature.
Stars: ✭ 461 (+229.29%)
Mutual labels:  apple, xcode
Spalert
Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets.
Stars: ✭ 1,014 (+624.29%)
Mutual labels:  apple, native
Xcode Defaults
Awesome and useful Xcode defaults
Stars: ✭ 399 (+185%)
Mutual labels:  apple, xcode
Sketchcachecleaner
💻 Sketch Cache Cleaner - Deletes hidden Sketch history files that can take a lot of space on your hard drive and that you would probably never use.
Stars: ✭ 435 (+210.71%)
Mutual labels:  xcode, native
Stompclientlib
Simple STOMP Client library, Swift 3 and 4, 4.2, 5 compatible
Stars: ✭ 99 (-29.29%)
Mutual labels:  apple, xcode
Ios Good Practices
Good ideas for iOS development, by Futurice developers.
Stars: ✭ 10,417 (+7340.71%)
Mutual labels:  apple, xcode

About

This project simplifies work with forms of authorization and uses native elements that Apple recommends and uses. It may seem that such elements are ready in the system, but as it turned out - no. I did a lot of work to repeat the visual reference

[please, wait loading animated preview]

Requirements

Xcode 9 and Swift 4. Ready for use on iOS 9+

Integration

Drop in Sparrow folder to your Xcode project (make sure to enable "Copy items if needed" and "Create groups").

Or via CocoaPods:

pod 'Sparrow', :git => 'https://github.com/IvanVorobei/Sparrow.git'

How to use

Create new class with name LoginNavigationController and inherit SPNativeLoginNavigationController

class LoginNavigationController: SPNativeLoginNavigationController {}

You must implement in LoginNavigationController the next functions (otherwise get fatal error):

override func login(with login: String, password: String, complection: @escaping (SPOauthState) -> ()) {

}
    
override func login(with code: String, complection: @escaping (SPOauthState) -> ()) {

}

Inside the functions, you should do the work with authorization (for example, http requests) and at the end of authorization call the package. Pass in complection status of authorization

Customize

If you want to customize the content (keyboard type or text) you should ovveride property

class LoginNavigationController: SPNativeLoginNavigationController {

    override var loginContent: SPNativeLoginNavigationController.LoginContent {
        var content = LoginContent()
        content.navigationTitle = "Sign In"
        content.loginTitle = "Login"
        content.loginPlaceholder = "[email protected]"
        content.loginKeyboardType = .emailAddress
        content.passwordTitle = "Password"
        content.passwordPlaceholder = "Required"
        content.commentTitle = "Please enter a pair of login and password"
        content.buttonTitle = "Sign In"
        content.errorOauthTitle = "Error"
        content.errorOauthSubtitle = "Invalid login or password"
        content.errorOauthButtonTitle = "Ok"
        return content
    }
}

For CodeController need ovveride loginCodeContent. You do not need to override all values, some you can ignore

Questions and Problems

If you have trouble with porject - contact me via email

You need to develop a UI?

You can contact me and order the development of an application or UI with excellent animations. Contact with me via email: [email protected]

Apps, using NativeLogin

I like the idea to specify applications that use NativeLogin. Please, contact me via email (you can find it in the section "Contacts") so that I added app here

License

NativeLogin is released under the MIT license. Check LICENSE.md for details

Other

In the project you can find my library Sparrow. It's a library, on which the module is written. Unfortunately, to save time in development, I wrote NativeLogin using this library. Don't worry, within just Swift files and a lot of useful things. Maybe you will like it:)

Contact

https://hello.ivanvorobei.by

https://ivanvorobei.by

[email protected]

Support

The project is fully free, I do not impose any restrictions on its use. I'm, just like you, want to do useful things. If you have a desire to help, tell friends about the project or donate. Thanks!

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