{"id":15038144,"url":"https://github.com/mrcflorian/login-screen-swift","last_synced_at":"2025-08-21T17:31:57.325Z","repository":{"id":52177572,"uuid":"79152856","full_name":"mrcflorian/login-screen-swift","owner":"mrcflorian","description":"iOS Login Screen written in Swift 5","archived":false,"fork":false,"pushed_at":"2022-11-03T04:41:45.000Z","size":37147,"stargazers_count":146,"open_issues_count":3,"forks_count":46,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-11-24T01:52:26.362Z","etag":null,"topics":["darkmode","darkmode-ios13","facebook-login","ios","ios-app","ios-swift","login","loginscreen","onboarding","swift","swift-4","swift4","swift5","twitter-login"],"latest_commit_sha":null,"homepage":"https://www.iosapptemplates.com","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrcflorian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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-16T19:40:11.000Z","updated_at":"2024-11-13T13:55:17.000Z","dependencies_parsed_at":"2023-01-21T11:46:45.205Z","dependency_job_id":null,"html_url":"https://github.com/mrcflorian/login-screen-swift","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcflorian%2Flogin-screen-swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcflorian%2Flogin-screen-swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcflorian%2Flogin-screen-swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcflorian%2Flogin-screen-swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrcflorian","download_url":"https://codeload.github.com/mrcflorian/login-screen-swift/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230523761,"owners_count":18239445,"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":["darkmode","darkmode-ios13","facebook-login","ios","ios-app","ios-swift","login","loginscreen","onboarding","swift","swift-4","swift4","swift5","twitter-login"],"created_at":"2024-09-24T20:37:18.888Z","updated_at":"2024-12-20T02:06:46.969Z","avatar_url":"https://github.com/mrcflorian.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"http://iosapptemplates.com/templates/login-screen-in-swift-3-freebie/\"\u003e\u003cimg src=\"http://iosapptemplates.com/wp-content/uploads/2017/01/ios-login-screen-template-swift-3.png\" width=\"25%\" alt = \"iOS Login Screen in Swift\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n**This project has been updated to SwiftUI and latest Xcode**\n\n## About\n\nThis is a simple \u003ca href=\"https://iosapptemplates.com/templates/iphone-login-screen-template-swift-3-freebie\"\u003eiOS login screen written in Swift 5\u003c/a\u003e. It has support for \u003cb\u003esigning in with\nFacebook, Google and specially Apple\u003c/b\u003e, as well as the classic email \u0026 password form.\n\nThe template uses FacebookLogin and GoogleSignin frameworks, installed with Cocoapods.\n\n## Installation and configuration\n\nFirst, you need to clone this repository, in order to fetch the code\n\n```\n$ git clone https://github.com/mrcflorian/login-screen-swift.git\n```\n\nIn order to compile your code, you need to install the dependencies first (in our case, the\nframeworks from Twitter and Facebook). You can simply do this by running the following command\nin the root folder of the project (where the Pods file lives):\n\n```\n$ pod update\n```\n\nIf you're not familiar with Cocoapods, \u003ca href=\"https://guides.cocoapods.org/using/getting-started.html\"\u003echeckout their website\u003c/a\u003e, to see how you can install it.\n\nOnce the pods were installed properly, open \u003cb\u003eLoginScreen.xcworkspace\u003c/b\u003e with Xcode and run the project.\n\nEverything should be working fine. There's one more thing to do though, since the code is using\nsome default Facebook \u0026 Google applications. You need to update the code so that it uses your apps.\n\nOpen the \u003cb\u003eInfo.plist\u003c/b\u003e file (as source code) and update the following piece of code with your correct\nAPI keys:\n\n```\n\u003ckey\u003eCFBundleURLTypes\u003c/key\u003e\n\u003carray\u003e\n    \u003cdict\u003e\n        \u003ckey\u003eCFBundleURLSchemes\u003c/key\u003e\n        \u003carray\u003e\n            \u003cstring\u003efb285315185217069\u003c/string\u003e\n        \u003c/array\u003e\n    \u003c/dict\u003e\n\u003c/array\u003e\n\u003ckey\u003eFacebookAppID\u003c/key\u003e\n\u003cstring\u003e285315185217069\u003c/string\u003e\n\u003ckey\u003eFacebookDisplayName\u003c/key\u003e\n\u003cstring\u003eiOSAppTemplates\u003c/string\u003e\n\u003ckey\u003eLSApplicationQueriesSchemes\u003c/key\u003e\n\u003carray\u003e\n    \u003cstring\u003efbapi\u003c/string\u003e\n    \u003cstring\u003efb-messenger-api\u003c/string\u003e\n    \u003cstring\u003efbauth2\u003c/string\u003e\n    \u003cstring\u003efbshareextension\u003c/string\u003e\n    \u003cstring\u003etwitter\u003c/string\u003e\n    \u003cstring\u003etwitterauth\u003c/string\u003e\n\u003c/array\u003e\n\n```\n\nFor Sign in with apple, you need to configure something on Certificates, Identifiers and Profiles.\nhttps://www.iosapptemplates.com/blog/ios-development/sign-in-with-apple-swift\nCheck out the link above and do step 1 and step 2.\n\n## Documentation\n\nThe interface of the login screen can be found in Interface/LoginScreen.storyboard. The template uses auto layout contraints, to display the UI elements.\n\nThe core class is LoginViewController, which contains all the logic for the three different types of authentication. The code is pretty short and easy to understand.\n\nIf you want even more details on the project, please visit \u003ca href=\"http://iosapptemplates.com/templates/login-screen-in-swift-3-freebie/\"\u003eiOS App Templates\u003c/a\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrcflorian%2Flogin-screen-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrcflorian%2Flogin-screen-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrcflorian%2Flogin-screen-swift/lists"}