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 more

    Declaration

    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 CallbackTableViewCellFactory, FRUI Authentication View Controller renders UI with registered FRUICallbackTableViewCell for speficied Callback type. Above example will render CustomNameCallbackCell for NameCallback in FRUI’s Authentication View Controller.

    See more

    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