Classes

The following classes are available globally.

  • An instance of this class represents a physical Flic or PbF. All commands will be directly passed to the physical Flic/PbF and any events occurring on the Flic/PbF will be passed along using the specified delegate methods.

    See more

    Declaration

    Objective-C

    @interface SCLFlicButton : NSObject

    Swift

    class SCLFlicButton : NSObject
  • This singleton class is required in order to perform any bluetooth LE communication with the Flic/PbF . You need to use this in order to scan for, and discover, new buttons. The object will keep track of all the buttons that are associated to the specific iOS device. It is important to mention that the SCLFlicManager does not support the regular state preservation and restoration protocol for view controllers, meaning that it does not support NSCoding. Instead, all of the state preservation will be taken cared of for you by the manager. Simply call the class configuration method on every app boot and averything will be restored as it should. Once the manager has been restored you can collect the associated Flic/PbF objects using the knownButtons: method.

    See more

    Declaration

    Objective-C

    @interface SCLFlicManager : NSObject

    Swift

    class SCLFlicManager : NSObject