FollowStatus
public enum FollowStatus : Int, Codable
The set of available follow status types.
case unfollow = -1
case disabled = 0
case follow = 1
-
Unfollow another user.
Declaration
Swift
case notFollowed = -1
-
The user can’t be followed or unfollowed
Declaration
Swift
case disabled = 0
-
Follow another user.
Declaration
Swift
case followed = 1
-
Initializes an instance of
FollowStatus
with the given bool value.If
nil
is given, then an instance of.disabled
is initialized.Declaration
Swift
public init(_ bool: Bool?)
Parameters
bool
The boolean value used to initialize an instance of
FollowStatus
.