SwiftagramCrypto Documentation

Structure Media.​Version

public struct Version: Wrapped  

A struct representing some content Version.

%347 Media.Version Media.Version Wrapped Wrapped Media.Version->Wrapped

Member Of

Media

A struct representing a Media.

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.

url

public var url: URL?  

The url.

size

public var size: CGSize?  

The size value.

aspect​Ratio

public var aspectRatio: CGFloat  

The aspectRatio value, or 1.

resolution

public var resolution: CGFloat  

The resolution value, or 0.