Swiftagram Documentation

Structure Friendship

public struct Friendship: Wrapped  

A struct representing a Friendship.

%179 Friendship Friendship Wrapped Wrapped Friendship->Wrapped

Nested Types

Friendship.Dictionary

A struct representing a Friendship collection.

Friendship.Unit

A struct representing a single Friendship value.

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.

is​Followed​ByYou

public var isFollowedByYou: Bool?  

Whether they're followed by the logged in user or not.

is​Following​You

public var isFollowingYou: Bool?  

Whether they follow the logged in user or not.

is​Blocked​ByYou

public var isBlockedByYou: Bool?  

Whether they're blocked by the logged in user or not.

is​Close​Friend

public var isCloseFriend: Bool?  

Whether they're in the logged in user's close firends list or not.

did​Request​ToFollow​You

public var didRequestToFollowYou: Bool?  

Whether they've requested to follow the logged in user or not.

did​Request​ToFollow

public var didRequestToFollow: Bool?  

Whether the logged in user have requested to follow them or not.

is​Muting​Stories

public var isMutingStories: Bool?  

Whether the logged in user is muting their stories.

is​Muting​Posts

public var isMutingPosts: Bool?  

Whether the logged in user is muting their posts.