EVGArticle Class Reference
Overview
An article is content that is typically organized by category or keyword.
modifiedDate
Date and time when this article was last modified.
1@property (nullable, nonatomic, strong) NSDate *modifiedDate
See Also
subTitle
Subtitle for this article.
1@property (nullable, nonatomic, copy) NSString *subTitle
articleWithId:
Creates an EVGArticle with the required id only.
1+ (nonnull instancetype)articleWithId:(nonnull NSString *)evgId
Parameters
| Parameter | Description |
|---|
evgId | See [EVGItem evgId]. This is the only required field. |
Return Value
An article which can be further modified.
articleWithId:name:subTitle:url:evgDescription:
Creates an EVGArticle with the required id and most common optionals.
1+ (nonnull instancetype)articleWithId:(nonnull NSString *)evgId name:(nullable NSString *)name subTitle:(nullable NSString *)subTitle url:(nullable NSString *)url evgDescription:(nullable NSString *)evgDescription
Parameters
| Parameter | Description |
|---|
evgId | See [EVGItem evgId]. This is the only required field. |
name | See [EVGItem name] |
subTitle | See subTitle |
url | See [EVGItem url] |
evgDescription | See [EVGItem evgDescription] |
Return Value
An article which can be further modified.
articleFromJSONDictionary:
Creates an EVGArticle from the provided JSON.
1+ (nullable instancetype)articleFromJSONDictionary:(nonnull NSDictionary<NSString*,id> *)json
Parameters
| Parameter | Description |
|---|
json | An article in JSON form |
Return Value
An article which can be further modified, or nil if JSON is invalid