Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ready use service for Firebase. Included interface, recored devices and notifications.

License

NotificationsYou must be signed in to change notification settings

sparrowcode/FirebaseProfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ready use service with using Firebase. Included interface, manage auth process, recored devices and profile data.

Installation

Ready for use on iOS 13+.

Swift Package Manager

TheSwift Package Manager is a tool for automating the distribution of Swift code and is integrated into theswift compiler. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.

Once you have your Swift package set up, adding as a dependency is as easy as adding it to thedependencies value of yourPackage.swift.

dependencies:[.package(url:"https://github.com/ivanvorobei/SPProfiling",.upToNextMajor(from:"1.0.2"))]

Manually

If you prefer not to use any of dependency managers, you can integrate manually. PutSources/SPProfiling folder in your Xcode project. Make sure to enableCopy items if needed andCreate groups.

Usage

First call configure services:

letfilePath=Bundle.main.path(forResource:Constants.Firebase.plist_filename, ofType:.empty)!letoptions=FirebaseOptions(contentsOfFile: filePath)!SPProfiling.configure(firebaseOptions: options)

All actions doing fromProfileModel.

ProfileModel.isAuthedProfileModel.isAnonymousProfileModel.currentProfileProfileModel.getProfile(userID...)ProfileModel.getProfile(email...)ProfileModel.signInApple(...)ProfileModel.signInAnonymously(...)ProfileModel.signOut(...)letprofileModel=ProfileModel.currentProfileprofileModel.setName(...)profileModel.getAvatarURL(...)profileModel.setAvatar(...)profileModel.deleteAvatar(...)// Ready-use interfaceProfileModel.showCurrentProfile(...)

About

Ready use service for Firebase. Included interface, recored devices and notifications.

Topics

Resources

License

Stars

Watchers

Forks

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp