[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/gitroc/Coding-iOS/master/Coding_iOS/Models/ProjectTag.h [Back]  [Original]

//
//  ProjectTag.h
//  Coding_iOS
//
//  Created by Ease on 15/7/16.
//  Copyright (c) 2015 Coding. All rights reserved.
//

#import 

typedef NS_ENUM(NSUInteger, ProjectTagType){
    ProjectTagTypeTopic = 0,
    ProjectTagTypeTask,
};

@interface ProjectTag : NSObject

@property (readwrite, nonatomic, strong) NSNumber *id, *owner_id, *count;
@property (readwrite, nonatomic, strong) NSString *name, *color;

+ (instancetype)tagWithName:(NSString *)name;
+ (BOOL)tags:(NSArray *)aTags isEqualTo:(NSArray *)bTags;
+ (instancetype)tags:(NSArray *)aTags hasTag:(ProjectTag *)curTag;

@end

Web Proxy Viewer  |  New URL  |  Original Page