Swiftagram Documentation

Structure User.​Unit

struct Unit: Specialized  

A struct representing a User single response.

%317 User.Unit User.Unit Specialized Specialized User.Unit->Specialized

Member Of

User

A struct representing a User.

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 Response.

user

public var user: User?  

The user.