ForCurrentUser
public struct ForCurrentUser
Info relevant to the current user about the article.
-
If the current user is the author.
Declaration
Swift
public let isAuthor: Bool -
If current user liked the article.
Declaration
Swift
public let liked: Bool -
If current user follows the author.
Declaration
Swift
public let isFollowingAuthor: Bool -
If current user favorited it.
Declaration
Swift
public let favorited: Bool -
Number of coins the current user give.
Declaration
Swift
public let coin: Int
View on GitHub
Install in Dash
ForCurrentUser Structure Reference