EVGArticle Class Reference
Inherits from | EVGCategorizedItem : EVGItem : NSObject |
---|---|
Declared in | EVGItems.h |
modifiedDate
Date and time when this article was last modified.
@property (nullable, nonatomic, strong) NSDate *modifiedDate
See Also
Declared In
EVGItems.h
subTitle
Subtitle for this article.
@property (nullable, nonatomic, copy) NSString *subTitle
Declared In
EVGItems.h
+ articleWithId:
Creates an EVGArticle with the required id only.
+ (nonnull instancetype)articleWithId:(nonnull NSString *)evgId
Parameters
evgId |
See |
---|
Return Value
An article which can be further modified.
Declared In
EVGItems.h
+ articleWithId:name:subTitle:url:evgDescription:
Creates an EVGArticle with the required id and most common optionals.
+ (nonnull instancetype)articleWithId:(nonnull NSString *)evgId name:(nullable NSString *)name subTitle:(nullable NSString *)subTitle url:(nullable NSString *)url evgDescription:(nullable NSString *)evgDescription
Parameters
evgId |
See |
---|---|
name |
See |
subTitle |
See |
url |
See |
evgDescription |
Return Value
An article which can be further modified.
Declared In
EVGItems.h
+ articleFromJSONDictionary:
Creates an EVGArticle from the provided JSON.
+ (nullable instancetype)articleFromJSONDictionary:(nonnull NSDictionary<NSString*,id> *)json
Parameters
json |
An article in JSON form |
---|
Return Value
An article which can be further modified, or nil if JSON is invalid
Declared In
EVGItems.h