2 // HMQuestListViewController.m
5 // Created by Hori,Masaki on 2015/04/15.
6 // Copyright (c) 2015年 Hori,Masaki. All rights reserved.
9 #import "HMQuestListViewController.h"
11 #import "HMServerDataStore.h"
13 @interface HMQuestListViewController ()
15 @property (readonly) NSManagedObjectContext *managedObjectContext;
18 @implementation HMQuestListViewController
22 self = [super initWithNibName:NSStringFromClass([self class]) bundle:nil];
26 - (NSManagedObjectContext *)managedObjectContext
28 return [HMServerDataStore defaultManager].managedObjectContext;
31 - (NSArray *)sortDesciptors
33 static NSSortDescriptor *sortDescriptor = nil;
35 sortDescriptor = [NSSortDescriptor sortDescriptorWithKey:@"no" ascending:YES];
37 return @[sortDescriptor];