MMKAttribution

@interface MMKAttribution : NSObject

Details about the source of information.

Summary

Class methods

+ (nonnull MMKAttribution *)attributionWithAuthor:(nullable MMKAttributionAuthor *)author
                                             link:(nullable MMKAttributionLink *)link
                                      avatarImage:(nullable MMKImage *)avatarImage;

Properties

@property (nonatomic, readonly, nullable) MMKAttributionAuthor *author;
Additional information about the author

@property (nonatomic, readonly, nullable) MMKAttributionLink *link;
Link to a specific page on the author's site

@property (nonatomic, readonly, nullable) MMKImage *avatarImage;
Optional field, can be nil

Class methods

attributionWithAuthor:link:avatarImage:

+ (nonnull MMKAttribution *)attributionWithAuthor:(nullable MMKAttributionAuthor *)author
                                             link:(nullable MMKAttributionLink *)link
                                      avatarImage:(nullable MMKImage *)avatarImage;


Properties

author

@property (nonatomic, readonly, nullable) MMKAttributionAuthor *author;

Additional information about the author.

Optional field, can be nil.


@property (nonatomic, readonly, nullable) MMKAttributionLink *link;

Link to a specific page on the author's site. To link to the website as a whole, use author.uri.

Optional field, can be nil.


avatarImage

@property (nonatomic, readonly, nullable) MMKImage *avatarImage;

Optional field, can be nil.