Classes
The following classes are available globally.
-
Declaration
Swift
@objc public class FRSessionObjc : NSObject
-
FRUserObjc class is responsible to provide Objective-c compatibility for FRUser extension methods
Declaration
Swift
@objc public class FRUserObjc : NSObject
-
FRUI framework is mainly responsible to provide demonstration of FRAuth framework’s functionalities with pre-built User Interfaces. FRUI constructs and builds screens, and provides an abilities to customize and style those pre-built screens and UI(s) for developers’ needs
See moreDeclaration
Swift
public final class FRUI
-
CallbackTableViewCellFactory is a representation of class responsible for managing UITableViewCell classes for corresponding Callback class in FRUI SDK’s Authentication View Controller. CallbackTableViewCellFactory can be used to customize FRUI SDK’s Authentication View Controller by implementing UITableViewCell and FRUICallbackTableViewCell protocol.
Usage Example:
CallbackTableViewCellFactory.shared.registerCallbackTableViewCell(callbackType: "NameCallback", cellClass: CustomNameCallbackCell.self, nibName: "CustomNameCallbackCell")
Using
See moreCallbackTableViewCellFactory
, FRUI Authentication View Controller renders UI with registeredFRUICallbackTableViewCel
l for speficied Callback type. Above example will renderCustomNameCallbackCell
forNameCallback
in FRUI’s Authentication View Controller.Declaration
Swift
public class CallbackTableViewCellFactory : NSObject
-
Declaration
Swift
@objc @MainActor public class FRButton : UIButton
-
Declaration
Swift
@objc @MainActor public class FRActionSheetButton : UIButton
-
Declaration
Swift
@objc @MainActor public class FRDropDownButton : UIButton
extension FRDropDownButton: FRDropDownViewProtocol
-
Declaration
Swift
@objc @MainActor public class FRLoadingView : UIView
-
Declaration
Swift
@objc @MainActor public class FRTextField : UITextField