Classes

The following classes are available globally.

  • Reactively updates the image of an UIImageView whenever the state of its owner changes.

    An Image can be configured with the following options:

    • showInitials - A Boolean indicating if the owner’s personalization should be shown (defaults TRUE).

    • initialsBuilder - A method that receives the initials and engraving as Strings and the ImageView that will be used and returns a map with the initials and a profile list (defaults the following method)

    
    ^NSDictionary *(NSString *initials, NSString *engraving, UIImageView *imageView) {
    
        NSString *initialsS = initials ?: @"";
    
        NSArray *profile = engraving != nil ? @[engraving] : @[];
    
        return @{
    
           @"initials": initialsS ?: @"",
    
           @"profile": profile
    
        };
    
    };
    
    
    See more

    Declaration

    Objective-C

    @interface Image : Visual

    Swift

    class Image : Visual
  • An object that emits events.

    Listeners can bind to specific events and be notified when the event is triggered.

    See more

    Declaration

    Objective-C

    @interface Observable : NSObject

    Swift

    class Observable : NSObject
  • A Promise implementation that simplifies asynchronous code.

    See more

    Declaration

    Objective-C

    @interface Promise : NSObject

    Swift

    class Promise : NSObject