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)
See more^NSDictionary *(NSString *initials, NSString *engraving, UIImageView *imageView) { NSString *initialsS = initials ?: @""; NSArray *profile = engraving != nil ? @[engraving] : @[]; return @{ @"initials": initialsS ?: @"", @"profile": profile }; };
-
An object that emits events.
Listeners can bind to specific events and be notified when the event is triggered.
See moreDeclaration
Objective-C
@interface Observable : NSObject
Swift
class Observable : NSObject
-
A Promise implementation that simplifies asynchronous code.
See moreDeclaration
Objective-C
@interface Promise : NSObject
Swift
class Promise : NSObject
-
This is a superclass for visual representations of a Ripe instance.
See moreDeclaration
Objective-C
@interface Visual : Observable <Interactable>
Swift
class Visual : Observable, Interactable