MppAsset
Objective-C
@interface MppAsset : NSObject
Swift
class MppAsset : NSObject
Token Requestor Asset
-
MIME type.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nonnull) NSString *type;Swift
var type: String { get } -
Height of an image.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger height;Swift
var height: Int { get } -
Width of an image.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger width;Swift
var width: Int { get } -
URL of an asset.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSURL *_Nonnull url;Swift
var url: URL { get } -
Constructs
MppAssetfrom values passed in dictionary.Declaration
Objective-C
+ (nonnull instancetype)assetWithDictionary:(NSDictionary *_Nonnull)dictionary;Swift
convenience init(dictionary: [AnyHashable : Any])Parameters
dictionaryDictionary containing values to create a
MppAsset.Return Value
MppAsset.
MppAsset Class Reference