MSFKImage Class Reference
| Inherits from | NSObject |
| Declared in | MSFKImage.h MSFKImage.m |
Tasks
-
URLproperty -
widthproperty -
heightproperty -
– initWithURL:width:height: -
– initWithJSONObject: -
– JSONObject
Properties
URL
The image URL.
@property (nonatomic, strong) NSURL *URLDiscussion
The image URL.
Declared In
MSFKImage.hInstance Methods
JSONObject
Create a JSON object which can serialized with NSJSONSerialization to pass to the receiver.
- (id)JSONObjectDiscussion
Create a JSON object which can serialized with NSJSONSerialization to pass to the receiver.
Declared In
MSFKImage.hinitWithJSONObject:
Initalizes this MSFKImage from its JSON representation.
- (id)initWithJSONObject:(id)jsonObjectDiscussion
Initalizes this MSFKImage from its JSON representation.
Declared In
MSFKImage.hinitWithURL:width:height:
Constructs a new {@link MediaImage} with the given URL and dimensions. Designated initializer. Asserts that the URL is not be null or empty, and the dimensions are not invalid.
- (id)initWithURL:(NSURL *)URL width:(NSInteger)width height:(NSInteger)heightParameters
- width
The width of the image, in pixels.
- height
The height of the image, in pixels.
- url
The URL of the image.
Discussion
Constructs a new {@link MediaImage} with the given URL and dimensions. Designated initializer. Asserts that the URL is not be null or empty, and the dimensions are not invalid.
Declared In
MSFKImage.h