Skip to content

Instantly share code, notes, and snippets.

View duyhungtnn's full-sized avatar
🎯
Focusing

duyhungtnn

🎯
Focusing
View GitHub Profile
#define TMP NSTemporaryDirectory()
- (NSString*)setFileName:(NSString*)url
{
NSArray *tokenize = [url componentsSeparatedByString: @"/"];
NSString *imageFile = [tokenize objectAtIndex:([tokenize count]-1)];
//NSLog(@"%@",imageFile);
return imageFile;
}
//
// NSArray+BinarySearch.h
// BinarySearch
//
// Created by Ole Begemann on 19.04.10.
// Copyright 2010 Ole Begemann. All rights reserved.
//
#import <Foundation/Foundation.h>