Swiftagram Documentation

Structure Section.​Collection

struct Collection: Specialized, Paginatable  

A struct defining a collection of Sections.

%349 Section.Collection Section.Collection Paginatable Paginatable Section.Collection->Paginatable Specialized Specialized Section.Collection->Specialized

Member Of

Section

A struct defining a valid tag/location section.

Conforms To

Specialized

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

Paginatable

Nested Type Aliases

Offset

typealias Offset = Section.Offset? 

The associated offset.

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.

sections

public var sections: [Section]?  

All available sections.

offset

public var offset: Section.Offset?  

The offset.