Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.585 kb
//
// FileSourceLoader.m
// DBScan
//
// Created by Christian Vogel on 02.03.12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import "FileSourceLoader.h"
@implementation FileSourceLoader
- (NSArray *)load:(NSString *)url {
NSString *content = [NSString stringWithContentsOfFile:url
encoding:NSUTF8StringEncoding
error:nil];
return [content componentsSeparatedByCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@"\r\n"]];
}
@end
Jump to Line
Something went wrong with that request. Please try again.