Swiftagram Documentation

Structure Comment

public struct Comment: Wrapped  

A struct representing a Comment.

%71 Comment Comment Wrapped Wrapped Comment->Wrapped

Nested Types

Comment.Collection

A struct representing a Comment collection.

Comment.Unit

A struct representing a Comment unit.

Conforms To

Wrapped

Initializers

init(wrapper:​)

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

Init.

Parameters

wrapper @escaping () -> Wrapper

A valid Wrapper.

Properties

wrapper

public var wrapper: () -> Wrapper

The underlying Response.

identifier

public var identifier: String!  

The comment primary key.

text

public var text: String!  

The text value.

likes

public var likes: Int?  

The commentLikeCount value.

user

public var user: User?  

The user value.