Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -14,12 +14,12 @@ CFComparisonResult PQCompare(const void *ptr1, const void *ptr2, void *unused) {
|
|||
int priority;
|
||||
NSString *name;
|
||||
}
|
||||
- (id)initWithPriority:(int)p andName:(NSString *)n;
|
||||
- (instancetype)initWithPriority:(int)p andName:(NSString *)n;
|
||||
- (NSComparisonResult)compare:(Task *)other;
|
||||
@end
|
||||
|
||||
@implementation Task
|
||||
- (id)initWithPriority:(int)p andName:(NSString *)n {
|
||||
- (instancetype)initWithPriority:(int)p andName:(NSString *)n {
|
||||
if ((self = [super init])) {
|
||||
priority = p;
|
||||
name = [n copy];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue