Skip to content

Instantly share code, notes, and snippets.

@brentsimmons
Created March 1, 2014 01:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brentsimmons/9283371 to your computer and use it in GitHub Desktop.
Save brentsimmons/9283371 to your computer and use it in GitHub Desktop.
//
// VSTagAuthoritySQL.h
// Vesper
//
// Created by Brent Simmons on 2/28/14.
// Copyright (c) 2014 Q Branch LLC. All rights reserved.
//
/*
Create only one of these.
Tags must be created using tagWithName: only.
*/
@class QSDatabaseQueue;
@interface VSTagAuthoritySQL : NSObject
- (instancetype)initWithDatabaseQueue:(QSDatabaseQueue *)databaseQueue;
- (VSTag *)existingTagWithName:(NSString *)name;
- (VSTag *)tagWithName:(NSString *)name; /*Creates tag if needed.*/
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment