huggie
huggie

Reputation: 18237

Quickbox iOS Content API -- how to tag content

I notice that there are you can query object with tags.

But how do I get tags associated with the objects in the first place?

Upvotes: 1

Views: 276

Answers (1)

Rubycon
Rubycon

Reputation: 18346

By adding tag to Content File you say that users with this tag will be able to retrieve this file with query

[QBContent taggedBlobsWithPagedRequest:pagedRequest delegate:self];

To update user's tags use

QBUUser *user = [QBUUser user];
user.tags = [NSArray arrayWithObjects:@"man", @"travel", nil];
[QBUsers updateUser:user delegate:self];

Upvotes: 1

Related Questions