Swiftagram Documentation

Structure Comment.​Unit

struct Unit: Specialized  

A struct representing a Comment unit.

%93 Comment.Unit Comment.Unit Specialized Specialized Comment.Unit->Specialized

Member Of

Comment

A struct representing a Comment.

Conforms To

Specialized

A protocol describing a generic response returning an element of Response.

Initializers

init(wrapper:​)

public init(wrapper: @escaping () -> Wrapper)  

Init.

Parameters

wrapper @escaping () -> Wrapper

A valid Wrapper.

Properties

wrapper

public var wrapper: () -> Wrapper

The underlying Wrapper.

comment

public var comment: Comment?  

The comment.