EVGBlog Class Reference

Inherits fromDeclared in
EVGCategorizedItem : EVGItem : NSObjectEVGItems.h

Overview 

A blog is content that is typically presented as reverse chronologically sorted on a single topic.

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

blogWithId: 

Creates an EVGBlog with the required ID only.

1+ (nonnull instancetype)blogWithId:(nonnull NSString *)evgId

Parameters

ParameterDescription
evgIdSee [EVGItem evgId]. This is the only required field.

Return Value

A blog which can be further modified.

blogWithId:name:subTitle:url:evgDescription: 

Creates an EVGBlog with the required id and most common optionals.

1+ (nonnull instancetype)blogWithId:(nonnull NSString *)evgId name:(nullable NSString *)name subTitle:(nullable NSString *)subTitle url:(nullable NSString *)url evgDescription:(nullable NSString *)evgDescription

Parameters

ParameterDescription
evgIdSee [EVGItem evgId]. This is the only required field.
nameSee [EVGItem name]
subTitleSee subTitle
urlSee [EVGItem url]
evgDescriptionSee [EVGItem evgDescription]

Return Value

A blog which can be further modified.

blogFromJSONDictionary: 

Creates an EVGBlog from the provided JSON.

1+ (nullable instancetype)blogFromJSONDictionary:(nonnull NSDictionary<NSString*,id> *)json

Parameters

ParameterDescription
jsonA blog in JSON form

Return Value

A blog which can be further modified, or nil if JSON is invalid