-
@abstract The name of the tag.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nonnull name;
Swift
var name: String { get }
-
@abstract Fetches a tag with a given identifier.
Declaration
Objective-C
+ (nonnull MNFJob *)fetchWithId:(nonnull NSNumber *)tagId completion:(nullable MNFTagCompletionHandler)completion;
Swift
class func fetch(withId tagId: NSNumber, completion: MNFTagCompletionHandler? = nil) -> MNFJob
Parameters
tagId
The identifier of the tag being fetched.
completion
A completion block returning a tag and an error.
Return Value
An MNFJob containing an MNFTag and an error.
-
@abstract Fetches a list of all tags created by the user.
Declaration
Objective-C
+ (nonnull MNFJob *)fetchTagsWithCompletion: (nullable MNFMultipleTagsCompletionHandler)completion;
Swift
class func fetchTags(completion: MNFMultipleTagsCompletionHandler? = nil) -> MNFJob
Parameters
completion
A completion block returning a list of tags and an error.
Return Value
MNFJob A job containing an array of tags and an error.
-
@abstract Fetches a list of the most popular tags used by the user.
Declaration
Objective-C
+ (nonnull MNFJob *) fetchPopularTagsWithCount:(nonnull NSNumber *)count completion: (nullable MNFMultipleTagsCompletionHandler)completion;
Swift
class func fetchPopularTags(withCount count: NSNumber, completion: MNFMultipleTagsCompletionHandler? = nil) -> MNFJob
Parameters
count
The number of tags to fetch.
completion
A completion block returning a list of tags and an error.
Return Value
An MNFJob containing a list of tags and an error.