Adjust to ObjFW changes & small fixes
This commit is contained in:
parent
5fa8b0b9b3
commit
cb5f6bfe40
12 changed files with 98 additions and 91 deletions
|
@ -30,7 +30,7 @@
|
|||
#import <ObjFW/OFArray.h>
|
||||
#import <ObjFW/OFDictionary.h>
|
||||
#import <ObjFW/OFNumber.h>
|
||||
#import <ObjFW/OFDataArray.h>
|
||||
#import <ObjFW/OFData.h>
|
||||
#import <ObjFW/OFAutoreleasePool.h>
|
||||
|
||||
#import <ObjFW/OFNotImplementedException.h>
|
||||
|
@ -52,8 +52,8 @@
|
|||
|
||||
_file = [file copy];
|
||||
@try {
|
||||
_data = [[[OFDataArray dataArrayWithContentsOfFile:
|
||||
file] messagePackValue] retain];
|
||||
_data = [[[OFData dataWithContentsOfFile: file]
|
||||
messagePackValue] retain];
|
||||
} @catch (id e) {
|
||||
_data = [[OFMutableDictionary alloc] init];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue